/* Basic Reset and Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.directory-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.header {
    background-color: #4a5568;
    color: #ffffff;
    padding: 20px 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #2d3748;
}

.header h1 {
    margin: 0;
    display: flex;
    align-items: center;
}

.header h1 i {
    margin-right: 15px;
}

.directory-listing {
    padding: 20px 30px;
}

.folder-item, .file-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.folder-item:last-child, .file-item:last-child {
    border-bottom: none;
}

.folder-item i, .file-item i {
    color: #4299e1;
    font-size: 1.25rem;
    width: 30px;
    text-align: center;
}

.folder-item i {
    color: #f6ad55;
}

.file-item a, .folder-item a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease-in-out;
}

.file-item a:hover, .folder-item a:hover {
    color: #2b6cb0;
}

.folder-item:hover, .file-item:hover {
    background-color: #f7fafc;
}
