/* 
 * PTD-Dashboard - Modern Dark Design
 * Optimiert für Desktop-Browser
 * Farbschema: Blau/Lila
 */

/* ===== Dark Mode Variablen ===== */
:root {
    /* Primärfarben - Blau/Lila Gradient */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --secondary-hover: #7c3aed;
    
    /* Statusfarben */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Dark Mode Hintergründe */
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --card-bg: #1e293b;
    --card-hover: #334155;
    
    /* Textfarben */
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #cbd5e1;
    
    /* Borders & Shadows */
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* Radius */
    --radius: 8px;
    --radius-lg: 12px;
    
    /* Font */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Container ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--card-hover);
    color: var(--primary-light);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--glow);
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature p {
    color: var(--text-muted);
}

/* ===== Auth Box ===== */
.auth-box {
    max-width: 450px;
    margin: 3rem auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.auth-box h1 {
    margin-bottom: 0.5rem;
}

.auth-form {
    margin-top: 2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    margin: 0.5rem 0;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.auth-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input:disabled {
    background: var(--bg-color);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===== AUTOCOMPLETE FIX für Dark Mode ===== */
/* Verhindert weißen/grauen Hintergrund bei Browser-Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-secondary) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    caret-color: var(--text-color) !important;
}

/* Firefox Autocomplete */
input:-moz-autofill,
input:-moz-autofill-preview {
    filter: none !important;
    background-color: var(--bg-secondary) !important;
    color: var(--text-color) !important;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--card-hover);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* ===== Flash Messages ===== */
.flash-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
}

.flash-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.flash-notification-success {
    background: var(--success-color);
    color: white;
}

.flash-notification-error {
    background: var(--danger-color);
    color: white;
}

.flash-notification-info {
    background: var(--info-color);
    color: white;
}

.flash-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
    margin-left: 15px;
    opacity: 0.8;
}

.flash-close:hover {
    opacity: 1;
}

/* ===== Info Box ===== */
.info-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0 2rem 0;
}

.info-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.info-box ul {
    margin-left: 1.5rem;
}

.info-box li {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

.info-box code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--primary-light);
}

/* ===== Page Header ===== */
.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Dashboard ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1400px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dashboard-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    margin-bottom: 1rem;
}

.dashboard-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.stats p {
    text-align: left;
    margin: 0.75rem 0;
}

/* ===== Profile ===== */
.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.profile-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.profile-section h3 {
    margin: 1.5rem 0 1rem 0;
}

.profile-section hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-admin {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.badge-user {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-dark);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.badge-inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.badge-info {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

/* ===== Danger Zone ===== */
.danger-zone {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
}

.danger-zone h2 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-buttons .btn {
    flex: 1;
}

/* ===== Description Modal (zentriert) ===== */
.modal-description {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-description-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-description-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.modal-description-close:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.modal-description-content h2 {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    color: var(--primary-light);
}

#descriptionModalText {
    color: var(--text-color);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ===== Admin Panel ===== */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1200px) {
    .admin-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.stat-card h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
}

/* ===== Tables ===== */
.table-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.table-container h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.user-table,
.files-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.user-table th,
.user-table td,
.files-table th,
.files-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

/* Spaltenbreiten für files-table (6 Spalten) */
.files-table th:nth-child(1),
.files-table td:nth-child(1) {
    width: 35%;
    min-width: 200px;
}

.files-table th:nth-child(2),
.files-table td:nth-child(2) {
    width: 15%;
    min-width: 100px;
}

.files-table th:nth-child(3),
.files-table td:nth-child(3) {
    width: 10%;
    min-width: 80px;
}

.files-table th:nth-child(4),
.files-table td:nth-child(4) {
    width: 15%;
    min-width: 120px;
}

.files-table th:nth-child(5),
.files-table td:nth-child(5) {
    width: 8%;
    min-width: 60px;
    text-align: center;
}

.files-table th:nth-child(6),
.files-table td:nth-child(6) {
    width: 12%;
    min-width: 90px;
    text-align: center;
}

.user-table th,
.files-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-color);
}

.user-table tr:hover,
.files-table tr:hover {
    background: var(--bg-secondary);
}

.user-table .user-inactive {
    opacity: 0.5;
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell form {
    display: inline-block;
    margin: 0 0.25rem;
}

/* ===== File Info Cell (kombiniert Dateiname + Beschreibung) ===== */
.file-info-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-description-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-left: 2rem;
}

/* ===== Description Cell (Tabelle) ===== */
.description-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 300px;
}

.description-text {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-show-description {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-show-description:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

/* ===== Icon Buttons ===== */
.btn-icon {
    background: var(--bg-secondary);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 36px;
    height: 36px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin: 0 0.2rem;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-icon-download {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-icon-download:hover {
    background: var(--primary-hover);
    box-shadow: var(--glow);
}

.btn-icon-delete {
    background: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
}

.btn-icon-delete:hover {
    background: #dc2626;
}

.admin-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.admin-info h3 {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: var(--primary-light);
}

.admin-info h3:first-child {
    margin-top: 0;
}

.admin-info ul {
    margin-left: 1.5rem;
}

.admin-info li {
    margin: 0.5rem 0;
}

.text-muted {
    color: var(--text-muted);
}

/* ===== File Management ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border-left: 4px solid;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning-color);
    color: #fbbf24;
}

.file-upload-section,
.files-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.file-upload-section h2,
.files-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.file-icon-small {
    font-size: 1.5rem;
}

/* ===== Drag & Drop Upload ===== */
.drop-zone {
    border: 3px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: var(--bg-secondary);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.drop-zone.drag-over {
    border-color: var(--secondary-color);
    border-style: solid;
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.drop-zone.file-selected {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.drop-zone-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.drop-zone-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.drop-zone-text p {
    color: var(--text-muted);
}

.drop-zone-text .or-divider {
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.drop-zone input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.file-select-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.file-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

#fileNameDisplay {
    display: none;
    margin-top: 1.5rem;
}

.selected-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--success-color);
}

.file-icon-large {
    font-size: 2.5rem;
}

.file-details {
    flex: 1;
    text-align: left;
}

.file-details strong {
    display: block;
    margin-bottom: 0.25rem;
}

.file-size-small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.remove-file-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-file-btn:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.file-requirements {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.file-requirements h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.file-requirements ul {
    list-style: none;
    padding: 0;
}

.file-requirements li {
    padding: 0.25rem 0;
    color: var(--text-muted);
}

.file-requirements li::before {
    content: '✓ ';
    color: var(--success-color);
    margin-right: 0.5rem;
}

.upload-form-layout {
    display: grid;
    gap: 1.5rem;
}

/* ===== Footer ===== */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: auto;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .profile-grid,
    .dashboard-grid,
    .features {
        grid-template-columns: 1fr;
    }
    
    .drop-zone {
        padding: 2rem 1rem;
        min-height: 150px;
    }
    
    .modal-description-content {
        width: 95%;
        max-height: 90vh;
    }
}