/* _content/KindgomsLegacy/Components/Layout/MainLayout.razor.rz.scp.css */
/* Modern Layout Styles */
.modern-layout[b-r54t246shh] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 35%, #111827 100%),
                radial-gradient(1200px 600px at 10% -10%, rgba(99,102,241,0.25), transparent 60%),
                radial-gradient(1200px 600px at 90% 110%, rgba(236,72,153,0.25), transparent 60%);
    background-blend-mode: overlay, normal;
    background-attachment: fixed;
}

/* Header Styles */
/* Main Header */
.main-header[b-r54t246shh] {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    min-height: 60px;
}

/* Brand */
.brand-link[b-r54t246shh] {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.brand-link:hover[b-r54t246shh] {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transform: scale(1.02);
}

.brand-link i[b-r54t246shh] {
    margin-right: 0.75rem;
    font-size: 1.8rem;
    color: #a5b4fc;
}

.brand-text[b-r54t246shh] {
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Actions */
.header-actions[b-r54t246shh] {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

/* Brand Styles */
.brand-link[b-r54t246shh] {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.brand-link:hover[b-r54t246shh] {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.brand-link i[b-r54t246shh] {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: #a5b4fc;
}

.brand-text[b-r54t246shh] {
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
.main-nav[b-r54t246shh] {
    display: flex;
    justify-content: center;
}

/* Header Actions */
.header-actions[b-r54t246shh] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.discord-link[b-r54t246shh] {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-link:hover[b-r54t246shh] {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

/* Main Content */
.main-content[b-r54t246shh] {
    flex: 1;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper[b-r54t246shh] {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    /* center the constrained content */
    margin: 1rem auto;
    max-width: 1200px;
    padding: 2rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
.main-footer[b-r54t246shh] {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-links[b-r54t246shh] {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-links a[b-r54t246shh] {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover[b-r54t246shh] {
    color: white;
    text-decoration: none;
}

/* Dropdown styles */
.dropdown-menu[b-r54t246shh] {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item[b-r54t246shh] {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover[b-r54t246shh],
.dropdown-item:focus[b-r54t246shh] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(2px);
}

.dropdown-item.text-danger:hover[b-r54t246shh] {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-header[b-r54t246shh] {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem 0.25rem;
}

.dropdown-divider[b-r54t246shh] {
    margin: 0.5rem 1rem;
    border-color: rgba(255, 255, 255, 0.1);
}

/* User avatar in dropdown */
.user-avatar[b-r54t246shh] {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.user-avatar:hover[b-r54t246shh] {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Admin dropdown specific styles */
.admin-link[b-r54t246shh] {
    color: #ffc107 !important;
    font-weight: 600;
}

.admin-link:hover[b-r54t246shh] {
    color: #ffcd39 !important;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

/* Navigation dropdown toggle */
.dropdown-toggle[b-r54t246shh]::after {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.dropdown-toggle[aria-expanded="true"][b-r54t246shh]::after {
    transform: rotate(180deg);
}

/* Discord login button */
.discord-login[b-r54t246shh] {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-login:hover[b-r54t246shh] {
    background: linear-gradient(135deg, #4752c4, #5865f2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .dropdown-menu[b-r54t246shh] {
        position: static !important;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .navbar-collapse[b-r54t246shh] {
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
    }
}

/* Error UI styles */
.error-page[b-r54t246shh] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    padding: 2rem 0;
}

.error-card[b-r54t246shh] {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.error-icon[b-r54t246shh] {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1.5rem;
}

.error-card h2[b-r54t246shh] {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-card p[b-r54t246shh] {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-details[b-r54t246shh] {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.error-details summary[b-r54t246shh] {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 1rem;
}

.error-details pre[b-r54t246shh] {
    color: #ff6b6b;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.error-actions[b-r54t246shh] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

#blazor-error-ui[b-r54t246shh] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-r54t246shh] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header[b-r54t246shh] {
        padding: 0.75rem 0;
    }
    
    .brand-text[b-r54t246shh] {
        display: none;
    }
    
    .content-wrapper[b-r54t246shh] {
        margin: 0 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .main-content[b-r54t246shh] {
        padding: 1rem 0;
    }
    
    .footer-links[b-r54t246shh] {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .error-card[b-r54t246shh] {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .error-actions[b-r54t246shh] {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .header-actions[b-r54t246shh] {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .discord-link span[b-r54t246shh] {
        display: none !important;
    }
}

/* Animation for smooth transitions */
*[b-r54t246shh] {
    transition: all 0.3s ease;
}

/* Glassmorphism effect for modern cards */
.card[b-r54t246shh] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced scrollbar */
[b-r54t246shh]::-webkit-scrollbar {
    width: 8px;
}

[b-r54t246shh]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

[b-r54t246shh]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

[b-r54t246shh]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Blazor Error UI */
#blazor-error-ui[b-r54t246shh] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(231, 76, 60, 0.3);
    display: none;
    left: 0;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    font-weight: 500;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

#blazor-error-ui .dismiss[b-r54t246shh] {
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#blazor-error-ui .dismiss:hover[b-r54t246shh] {
    opacity: 1;
}

#blazor-error-ui .reload[b-r54t246shh] {
    color: white;
    text-decoration: underline;
    margin-right: 1rem;
}

#blazor-error-ui .reload:hover[b-r54t246shh] {
    color: rgba(255, 255, 255, 0.8);
}
/* _content/KindgomsLegacy/Components/Layout/NavMenu.razor.rz.scp.css */
/* Main Navigation Container */
.main-navigation[b-b3bk3wza8e] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Desktop Navigation - Force Horizontal */
.navbar-nav.horizontal-nav[b-b3bk3wza8e] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.navbar-nav[b-b3bk3wza8e] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-item[b-b3bk3wza8e] {
    position: relative;
    display: inline-block;
}

.nav-link[b-b3bk3wza8e] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover[b-b3bk3wza8e] {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-link.active[b-b3bk3wza8e] {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link:not(.active)[b-b3bk3wza8e] {
    backdrop-filter: blur(6px);
}

.nav-link:hover i[b-b3bk3wza8e] {
    transform: translateY(-1px) scale(1.05);
}

.nav-link i[b-b3bk3wza8e] {
    font-size: 1rem;
}

.nav-text[b-b3bk3wza8e] {
    display: inline;
}

/* Admin Link Special Styling */
.admin-link[b-b3bk3wza8e] {
    color: #fbbf24 !important;
}

.admin-link:hover[b-b3bk3wza8e] {
    color: #f59e0b !important;
    background: rgba(251, 191, 36, 0.1) !important;
}

/* Dropdown Styling */
.dropdown-menu[b-b3bk3wza8e] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
}

.dropdown-item[b-b3bk3wza8e] {
    padding: 0.75rem 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
}

.dropdown-item:hover[b-b3bk3wza8e] {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-item i[b-b3bk3wza8e] {
    width: 1.2rem;
    font-size: 0.9rem;
}

.dropdown-toggle[b-b3bk3wza8e]::after {
    margin-left: 0.5rem;
    font-size: 0.7rem;
}

/* Mobile Navigation */
.mobile-nav[b-b3bk3wza8e] {
    position: relative;
}

.mobile-nav-toggle[b-b3bk3wza8e] {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.hamburger-line[b-b3bk3wza8e] {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover .hamburger-line[b-b3bk3wza8e] {
    background: #a5b4fc;
}

.mobile-nav-menu[b-b3bk3wza8e] {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    z-index: 1000;
}

.mobile-nav-menu .navbar-nav[b-b3bk3wza8e] {
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-menu .nav-link[b-b3bk3wza8e] {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
}

/* Tablet and smaller screens - Compact text */
@media (max-width: 1199px) {
    .navbar-nav.horizontal-nav .nav-text[b-b3bk3wza8e] {
        display: none;
    }
    
    .navbar-nav.horizontal-nav .nav-link[b-b3bk3wza8e] {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }
    
    .navbar-nav.horizontal-nav[b-b3bk3wza8e] {
        gap: 0.25rem;
    }
}

/* Large Screen Navigation */
@media (min-width: 1200px) {
    .navbar-nav.horizontal-nav[b-b3bk3wza8e] {
        gap: 0.75rem;
    }
    
    .navbar-nav.horizontal-nav .nav-link[b-b3bk3wza8e] {
        padding: 0.5rem 1rem;
    }
}

/* Active state animations */
.nav-link.active[b-b3bk3wza8e] {
    animation: activeGlow-b-b3bk3wza8e 3s ease-in-out infinite alternate;
}

@keyframes activeGlow-b-b3bk3wza8e {
    from {
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }
    to {
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
    }
}

/* Smooth transitions for all elements */
*[b-b3bk3wza8e] {
    transition: all 0.3s ease;
}

/* Admin dropdown styling */
.admin-link[b-b3bk3wza8e] {
    color: #e67e22 !important;
}

.admin-link:hover[b-b3bk3wza8e] {
    color: #d35400 !important;
    background: rgba(230, 126, 34, 0.1) !important;
}

.dropdown-menu[b-b3bk3wza8e] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item[b-b3bk3wza8e] {
    padding: 0.75rem 1.5rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover[b-b3bk3wza8e] {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-item i[b-b3bk3wza8e] {
    width: 1.2rem;
}

/* Mobile Navigation */
.mobile-nav-toggle[b-b3bk3wza8e] {
    display: none;
}

.navbar-toggler[b-b3bk3wza8e] {
    background: transparent;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 0.5rem;
    color: #667eea;
    transition: all 0.3s ease;
}

.navbar-toggler:hover[b-b3bk3wza8e] {
    background: rgba(102, 126, 234, 0.1);
    border-color: #764ba2;
}

.navbar-toggler-icon[b-b3bk3wza8e] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28102, 126, 234, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-toggle[b-b3bk3wza8e] {
        display: block;
    }
    
    .navbar-nav[b-b3bk3wza8e] {
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 0.75rem;
        margin-top: 0.5rem;
        gap: 0.25rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
    
    .nav-link[b-b3bk3wza8e] {
        width: 100%;
        justify-content: flex-start;
        border-radius: 8px;
        padding: 0.75rem;
    }
    
    .nav-text[b-b3bk3wza8e] {
        display: block;
    }
    
    .dropdown-menu[b-b3bk3wza8e] {
        position: static !important;
        transform: none !important;
        background: rgba(102, 126, 234, 0.05);
        border: none;
        box-shadow: none;
        margin-top: 0.25rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 576px) {
    .nav-text[b-b3bk3wza8e] {
        font-size: 0.85rem;
    }
    
    .nav-link[b-b3bk3wza8e] {
        padding: 0.6rem;
    }
    
    .nav-link i[b-b3bk3wza8e] {
        font-size: 0.9rem;
    }
}

/* Active state animations */
.nav-link.active[b-b3bk3wza8e] {
    animation: activeGlow-b-b3bk3wza8e 3s ease-in-out infinite alternate;
}

@keyframes activeGlow-b-b3bk3wza8e {
    from {
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }
    to {
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
    }
}

/* Smooth transitions for all elements */
*[b-b3bk3wza8e] {
    transition: all 0.3s ease;
}
