:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    color: var(--dark-color);
    font-size: 28px;
}

.auth-info {
    background-color: var(--light-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 14px;
}

.auth-info a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 10px;
}

.auth-info a:hover {
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumb {
    padding: 15px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* File browser */
.file-browser {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.file-browser h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.file-list {
    list-style: none;
}

.file-item, .dir-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.file-item:hover, .dir-item:hover {
    background-color: #f9f9f9;
}

.file-item:last-child, .dir-item:last-child {
    border-bottom: none;
}

.dir-item {
    font-weight: bold;
}

.file-icon, .dir-icon {
    margin-right: 10px;
    font-size: 20px;
}

.dir-icon {
    color: var(--primary-color);
}

.file-icon {
    color: var(--text-light);
}

.file-name, .dir-name {
    flex-grow: 1;
}

.file-name a, .dir-name a {
    color: var(--text-color);
    text-decoration: none;
}

.file-name a:hover, .dir-name a:hover {
    color: var(--primary-color);
}

.file-meta {
    color: var(--text-light);
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-info {
        margin-top: 15px;
    }
    
    .file-item, .dir-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-meta {
        margin-top: 5px;
        align-self: flex-end;
    }
}

/* Estilos para el header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo {
    width: 300px;
    height: 100px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo {
        width: 300px;
        height: auto;
        max-height: 100px;
    }
}