body {
    background-color: red !important;
}
/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    display: flex;
    height: 100vh;
    background: #f4f6f9;
    color: #1f2937;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    background: #111827;
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    font-size: 22px;
    margin-bottom: 40px;
}

.sidebar a {
    text-decoration: none;
    color: #9ca3af;
    margin-bottom: 20px;
    font-size: 14px;
    transition: 0.2s;
}

.sidebar a:hover {
    color: white;
}

/* ===== MAIN CONTENT ===== */
.main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* ===== CARD ===== */
.card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

/* ===== STORAGE ===== */
.storage {
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 14px;
    background: #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transition: width 0.4s ease;
}

/* ===== UPLOAD ===== */
.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    margin-bottom: 30px;
    transition: 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    background: #f9fafb;
}

.upload-area button {
    margin-top: 12px;
    padding: 8px 20px;
    border-radius: 25px;
    border: none;
    background: #3b82f6;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.upload-area button:hover {
    background: #2563eb;
}

/* ===== FILE LIST ===== */
.file-item {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.file-item:hover {
    background: #f3f4f6;
}

.file-info small {
    font-size: 12px;
    color: #6b7280;
}

.actions a {
    margin-left: 12px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.download { color: #3b82f6; }
.delete { color: #ef4444; }

.actions a:hover {
    transform: scale(1.1);
}

/* ===== AUTH PAGES ===== */
.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-box {
    width: 360px;
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.auth-box h2 {
    margin-bottom: 20px;
}

.auth-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.auth-box button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #3b82f6;
    color: white;
    cursor: pointer;
}

.auth-box button:hover {
    background: #2563eb;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main {
        padding: 20px;
    }
}
