/* Professional File Manager Stylesheet - Modern Glassmorphism & Responsive */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311042 100%);
    --card-bg: rgba(255, 255, 255, 0.92);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(226, 232, 240, 0.8);
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Responsive Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Professional Login Page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
}

/* Dashboard Header */
.dashboard-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Cards & Upload Zone */
.card-custom {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 25px;
    padding: 25px;
}

.drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 35px 15px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    background: #eef2ff;
    border-color: var(--primary);
}

.drop-zone i {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Thumbnail Styling for Images */
.file-thumb {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #f1f5f9;
}

.file-icon-placeholder {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #eef2ff;
    color: var(--primary);
    border-radius: 8px;
    font-size: 18px;
}

/* Responsive Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table th {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    background-color: #f8fafc !important;
    padding: 12px;
}

.table td {
    padding: 12px;
    vertical-align: middle;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .card-custom {
        padding: 15px;
    }
    .dashboard-header h4 {
        font-size: 1.2rem;
    }
    .btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}