/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 16px; /* Explicit base font size for consistent rem calculations */
}

:root {
    /* Modern light color palette */
    --primary-blue: #0066ff;
    --primary-dark: #0052cc;
    --secondary-purple: #6c5ce7;
    --accent-cyan: #00cec9;
    --light-bg: #ffffff;
    --lighter-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --success: #00b894;
    --warning: #fdcb6e;
    --error: #e17055;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    --gradient-card: linear-gradient(145deg, #ffffff, #f7fafc);
    --gradient-button: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    position: relative;
}

.app-container {
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-bg);
}

/* Navigation */
.navbar {
    background: var(--gradient-card);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-brand i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.nav-logo {
    height: 80px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(0, 102, 255, 0.3));
    transform: scale(1.05);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.org-badge, .role-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.org-badge {
    background: rgba(0, 206, 201, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(0, 206, 201, 0.3);
}

.role-badge {
    background: rgba(108, 92, 231, 0.1);
    color: var(--secondary-purple);
    border-color: rgba(108, 92, 231, 0.3);
}

.role-badge.role-superuser {
    background: rgba(253, 203, 110, 0.1);
    color: var(--warning);
    border-color: rgba(253, 203, 110, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.logout-btn {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
    background: rgba(225, 112, 85, 0.05);
}

.logout-btn:hover {
    background: rgba(225, 112, 85, 0.15);
    color: var(--error);
    border-color: rgba(225, 112, 85, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 112, 85, 0.2);
}

/* Nav Dropdown (generic for Tools, User, etc.) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.nav-dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 0.25rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.nav-dropdown-toggle.active .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-dropdown-menu.nav-dropdown-menu-right {
    left: auto;
    right: 0;
}

.nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background: rgba(0, 102, 255, 0.06);
    color: var(--primary-blue);
}

.nav-dropdown-item i:first-child {
    width: 1.25rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-dropdown-item:hover i:first-child {
    color: var(--primary-blue);
}

.nav-item-badge {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Organization Switcher */
.org-switcher {
    position: relative;
    margin-right: 1rem;
}

.single-org-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    margin-right: 0.5rem;
}

.single-org-display i {
    color: var(--primary-blue);
}

.org-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.org-dropdown-btn:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.org-dropdown-btn i.fa-building {
    color: var(--primary-blue);
}

.org-dropdown-btn i.fa-chevron-down {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.org-dropdown-btn:hover i.fa-chevron-down {
    transform: translateY(2px);
}

.org-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    min-width: 280px;
    max-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.org-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.org-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.org-option:first-child {
    border-radius: 12px 12px 0 0;
}

.org-option:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.org-option:hover {
    background: rgba(0, 102, 255, 0.05);
}

.org-option.active {
    background: rgba(0, 102, 255, 0.1);
}

.org-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.org-option-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.role-superadmin {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.role-badge.role-org_admin {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
}

.role-badge.role-user {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

/* Organization Switch Loading Overlay */
.org-switch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.org-switch-loading {
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.org-switch-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.org-switch-loading p {
    margin: 0;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

/* Messages */
.messages {
    padding: 1rem 0;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid;
}

.message-error {
    background: rgba(225, 112, 85, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.message-success {
    background: rgba(0, 184, 148, 0.1);
    border-color: var(--success);
    color: var(--success);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    width: 100%;
    margin: 0;
    background: var(--light-bg);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lighter-bg);
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

.login-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    width: 90%;
    max-width: 400px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.login-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
}

.login-logo:hover {
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.app-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

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

.login-btn {
    background: var(--gradient-button);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.login-btn:hover::before {
    opacity: 1;
}

.login-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.login-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Login Footer */
.login-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.tech-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.version-text {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Background Animation */
.background-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-docs {
    position: absolute;
    inset: 0;
}

.doc-icon {
    position: absolute;
    color: rgba(0, 102, 255, 0.1);
    font-size: 3rem;
    animation: float 20s infinite linear;
}

.doc-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.doc-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
    font-size: 2.5rem;
}

.doc-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -14s;
    font-size: 2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Upload Section */
.upload-section {
    margin-bottom: 3rem;
}

.upload-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.upload-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.upload-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.upload-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.upload-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.upload-btn {
    background: var(--gradient-button);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.upload-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--accent-cyan);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        margin: 0;
    }
    
    .user-greeting {
        display: none;
    }
    
    .nav-dropdown-toggle span,
    .nav-dropdown-toggle .fa-user-circle + text {
        display: none;
    }
    
    .nav-dropdown-menu {
        min-width: 180px;
    }
    
    .logout-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .org-badge, .role-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .nav-logo {
        height: 64px;
        max-width: 260px;
    }
    
    .login-logo {
        width: 130px;
        height: 130px;
    }
    
    .login-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
    
    .upload-card {
        padding: 2rem 1rem;
    }
    
    .upload-info {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .upload-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .pulse-ring {
        width: 80px;
        height: 80px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
/* User Dashboard Specific Styles */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.user-stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.user-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.user-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.user-stat-card .stat-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.user-stat-card .stat-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* User Maps Grid */
.user-maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.user-map-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.user-map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.user-map-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.user-map-card:hover::before {
    transform: scaleX(1);
}

.user-map-card .map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.user-map-card .map-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}



.map-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.map-types {
    margin-bottom: 1.5rem;
}

.type-section {
    margin-bottom: 1rem;
}

.type-section label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.type-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-tag {
    background: rgba(108, 92, 231, 0.2);
    color: var(--secondary-purple);
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.output-tag {
    background: rgba(0, 206, 201, 0.2);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 206, 201, 0.3);
}

.use-map-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-light);
}

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

.use-map-btn:active {
    transform: translateY(0);
}

/* User Empty State */
.user-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.user-empty-state .empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-glow);
}

.user-empty-state h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.user-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* User Modal Styles */
.user-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

.user-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 2% auto;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-heavy);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.user-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--error);
    color: white;
    border-color: var(--error);
}

.user-modal-body {
    padding: 2rem;
}

.user-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--darker-bg);
}

.user-upload-area:hover,
.user-upload-area.drag-over {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.05);
}

.user-upload-area .upload-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.user-upload-area h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.user-selected-files {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.user-selected-files h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-item.valid {
    border-color: var(--success);
    background: rgba(0, 184, 148, 0.05);
}

.file-item.invalid {
    border-color: var(--error);
    background: rgba(225, 112, 85, 0.05);
}

.file-item i:first-child {
    font-size: 1.2rem;
    color: var(--primary-blue);
    width: 20px;
}

.file-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

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

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

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

.user-modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
}

.notification {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
}

.notification-success::before {
    background: var(--success);
}

.notification-error::before {
    background: var(--error);
}

.notification-info::before {
    background: var(--accent-cyan);
}

.notification i {
    font-size: 1.1rem;
}

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

.notification-error {
    color: var(--error);
}

.notification-info {
    color: var(--accent-cyan);
}

.notification span {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.close-notification {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-notification:hover {
    color: var(--error);
    background: rgba(225, 112, 85, 0.1);
}

/* Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* User Dashboard Mobile Styles */
@media (max-width: 768px) {
    .user-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .user-maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .user-stat-card {
        padding: 1.5rem;
    }

    .user-map-card {
        padding: 1.5rem;
    }

    .user-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .user-modal-header,
    .user-modal-body {
        padding: 1.5rem;
    }

    .user-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }

    .user-upload-area {
        padding: 2rem 1rem;
    }
}

/* Clean User Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

.processing-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.processing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.processing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.processing-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.processing-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.map-selector-section {
    margin-bottom: 1.5rem;
}

.map-selector-section label {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-dropdown {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem;
    padding-right: 3rem;
}

.map-dropdown:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.map-dropdown:hover {
    border-color: var(--primary-blue);
}

.map-info-card {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    animation: slideDown 0.3s ease-out;
}

.map-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.map-info-header h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.map-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-item {
    margin-bottom: 1rem;
}

.detail-item label {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-light);
}

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

.btn-large:active {
    transform: translateY(0);
}

/* Bundle Info Section */
.bundle-info-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bundle-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple), var(--accent-cyan));
    opacity: 0.8;
}

.bundle-info-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 102, 255, 0.3);
}

.bundle-details h5 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.bundle-details h5 i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.bundle-item {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.bundle-item strong {
    color: var(--text-primary);
    margin-right: 0.75rem;
    font-weight: 600;
    min-width: 80px;
}

.bundle-actions {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bundle-actions .btn {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bundle-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

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

.bundle-actions .btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.bundle-actions .btn-outline-secondary:hover {
    background: var(--lighter-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.bundle-actions .btn-success {
    background: linear-gradient(135deg, var(--success), #00a085);
    color: white;
    box-shadow: var(--shadow-light);
}

.bundle-actions .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
}

.upload-instructions {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--lighter-bg);
    border-radius: 12px;
    border-left: 4px solid var(--accent-cyan);
}

.upload-instructions p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.upload-instructions i {
    color: var(--accent-cyan);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.stats-summary {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    padding: 1.5rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-item i {
    color: var(--primary-blue);
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive for New Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .processing-card {
        padding: 2rem 1.5rem;
        margin: 0 0 2rem;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-summary {
        flex-direction: column;
        gap: 1rem;
        text-align: right;
        margin: 0 1rem 2rem;
        align-items: flex-end;
    }
    
    .map-dropdown {
        padding: 0.875rem 1.25rem;
        padding-right: 2.5rem;
        background-size: 1.25rem;
    }
    
    .processing-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .bundle-info-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .bundle-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .bundle-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .bundle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .bundle-item strong {
        min-width: auto;
        margin-right: 0;
    }
}

/* Override old styles that might conflict */
.user-stats-grid,
.user-maps-grid {
    display: none !important;
}

/* Inline Upload Area Styles */
.upload-section {
    margin-bottom: 1.5rem;
}

.upload-section label {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Bundle Info Section */
.bundle-info-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bundle-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple), var(--accent-cyan));
    opacity: 0.8;
}

.bundle-info-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 102, 255, 0.3);
}

.bundle-details h5 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.bundle-details h5 i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.bundle-item {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.bundle-item strong {
    color: var(--text-primary);
    margin-right: 0.75rem;
    font-weight: 600;
    min-width: 80px;
}

.bundle-actions {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bundle-actions .btn {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bundle-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

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

.bundle-actions .btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.bundle-actions .btn-outline-secondary:hover {
    background: var(--lighter-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.bundle-actions .btn-success {
    background: linear-gradient(135deg, var(--success), #00a085);
    color: white;
    box-shadow: var(--shadow-light);
}

.bundle-actions .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
}

/* File item styles are already defined above */

/* Mobile responsive for bundle actions */
@media (max-width: 768px) {
    .bundle-actions {
        flex-direction: column;
    }
    
    .bundle-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Override modal styles - hide all modals */
.user-modal {
    display: none !important;
}

/* Clean up any remaining old styles */
.user-maps-grid,
.user-stats-grid {
    display: none !important;
}
