:root {
    --gradient-1: #1a1a1a;
    --gradient-2: #2d0b0b;
    --accent: #ff4757;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-bg {
    background: linear-gradient(-45deg, #2d0b0b, #1a1a1a, #330000, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Navbar Styles */
nav {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 71, 87, 0.1);
    position: relative;
    z-index: 1001;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin: 0 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 71, 87, 0.1);
    animation: fadeIn 0.6s ease forwards;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.input-group {
    margin: 1.5rem 0;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 71, 87, 0.05);
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent);
}

.btn-accent {
    background: linear-gradient(45deg, var(--accent), #ff6b81);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.g-recaptcha {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid var(--accent);
}

.success {
    background: rgba(38, 151, 10, 0.61);
    border: 1px solid #0f8b12;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-underline {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.no-underline:hover {
    color: var(--accent); /* Change to your accent color */
}

/* Error Page Container */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    padding: 2rem;
}

.error-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255, 71, 87, 0.1);
    animation: fadeIn 0.6s ease forwards;
}

.error-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.error-title {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.error-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary-dark: #1a1a1a;
    --accent-red: #ff4757;
    --accent-dark: #2d0b0b;
    --text-light: #ffffff;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
}

.vintage-card {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 20px;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 0 40px rgba(255, 71, 87, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 71, 87, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    margin-bottom: 1rem;
    color: var(--accent-red);
}

/* Social Section */
.social-section {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-red);
    transform: translateY(-3px);
}

/* Registration Section */
.registration-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

.registration-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.registration-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.registration-form .form-group {
    margin-bottom: 1rem;
}

.registration-form .form-control {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
}

.registration-form .form-control:focus {
    border-color: var(--accent-red);
    background: rgba(255, 71, 87, 0.05);
}

.login-prompt {
    margin-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.login-prompt a {
    color: var(--accent-red);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.login-prompt a:hover {
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.security-badge {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--accent-red);
}

/* Footer Styles */
.stratus-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--accent-red);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lucky-number {
    background: rgba(255, 71, 87, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;

    h5 {
        color: var(--accent-red);
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: transform 0.3s ease;

        &:hover {
            transform: translateX(5px);
        }
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    .social-icons {
        display: flex;
        gap: 1.5rem;

        a {
            font-size: 1.8rem;
            transition: transform 0.3s ease;

            &:hover {
                transform: translateY(-3px);
            }
        }
    }
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 71, 87, 0.2);

    .legal-links {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
}

/* Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 71, 87, 0.1);
}

/* Feature Icons */
.feature-card i {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Text Accents */
.text-accent {
    color: var(--accent-red);
    background: linear-gradient(45deg, var(--accent-red), #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer Links */
.stratus-footer a {
    color: var(--text-light) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.stratus-footer a:hover {
    color: var(--accent-red) !important;
}

/* Social Icons */
.social-links .social-icon {
    color: var(--text-light) !important;
    text-decoration: none !important;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links .social-icon:hover {
    color: var(--accent-red) !important;
    transform: translateY(-3px);
}

/* Landing Page Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #ff6b81);
    border: none;
    border-radius: 30px;
    padding: 1.2rem 2.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-red);
    border-radius: 30px;
    padding: 1.2rem 2.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

/* Footer Links Layout */
.footer-links {
    display: flex;
    gap: 4rem; /* Adjust spacing between "Building" and "Community" */
    margin: 0 auto;
    justify-content: center;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-group h5 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.link-group a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.link-group a:hover {
    transform: translateX(5px);
}

/* Search Bar Styles */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 0.95rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 71, 87, 0.05);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.1);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 15px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-container:focus-within .search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.search-option i {
    margin-right: 0.75rem;
    color: var(--accent);
    width: 20px;
}

.search-option:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(5px);
}

/* Sidebar Visibility */
.dashboard-sidebar {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(0); /* Default visible state */
    opacity: 1;
}

.dashboard-sidebar.hidden {
    transform: translateX(-100%); /* Move sidebar off-screen */
    opacity: 0;
    pointer-events: none; /* Disable interactions when hidden */
}

/* Dashboard Container */
.dashboard-container {
    margin-left: 250px; /* Default margin to accommodate the sidebar */
    transition: margin-left 0.3s ease;
    width: calc(100% - 250px); /* Adjust width to account for sidebar */
}

/* When sidebar is hidden */
.dashboard-sidebar.hidden + .dashboard-container {
    margin-left: 0; /* Remove margin when sidebar is hidden */
    width: 100%; /* Full width */
}

.btn-accent {
    text-decoration: none !important;
}

/* Improved Search Form */
.search-form {
    max-width: 600px;
    margin: 1.5rem 0;
}

.search-group {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
}

.search-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
}

/* No Results Styling */
.no-results {
    text-align: center;
    padding: 3rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,71,87,0.2);
}

.no-results i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 0.5rem;
}

.no-results p {
    color: rgba(255,255,255,0.7);
}

/* User Coins in Header */
.user-coins {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,71,87,0.1);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.user-coins i {
    color: var(--accent-red);
}

/* Search Components */
.header-search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    z-index: 1002;
}

.header-search-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 30px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.header-search-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    z-index: 1003;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-search-container:focus-within .header-search-dropdown {
    display: block;
    animation: dropdownScale 0.2s ease;
}

.search-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.search-option:hover {
    background: rgba(255, 71, 87, 0.1) !important;
    transform: translateX(5px);
}

.search-option.active {
    background: rgba(255, 71, 87, 0.2) !important;
}

/* Currency Display */
.currency-display {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
}

.currency-item.coins {
    color: #ffd700;
}

.currency-item.emeralds {
    color: #2ecc71;
}

.currency-item i {
    font-size: 1.1rem;
}

/* Dropdowns */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
    z-index: 1002;
}

.dropdown-item {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 71, 87, 0.1) !important;
    color: var(--accent-red) !important;
}

/* Search Dropdown Fixes */
.header-search-dropdown {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 71, 87, 0.2);
    padding: 0.5rem;
}

.search-option {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-option:hover {
    background: rgba(255, 71, 87, 0.1) !important;
    color: var(--text-light) !important;
    transform: none;
}

.search-option.active {
    background: rgba(255, 71, 87, 0.2) !important;
    color: var(--text-light) !important;
}

/* Navbar Layout Fixes */
nav .container {
    gap: 1.5rem;
}

.header-search-container {
    flex: 1;
    max-width: 600px;
}

.nav-links {
    flex-shrink: 0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 71, 87, 0.2) !important;
    color: var(--text-light) !important;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    nav .container {
        flex-wrap: wrap;
    }

    .header-search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0.5rem 0;
    }
}

/* Improved Dropdown UI */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem !important;
}

.dropdown-item {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover {
    background: rgba(255, 71, 87, 0.15) !important;
    padding-left: 1.5rem !important;
}

.dropdown-divider {
    border-color: rgba(255, 71, 87, 0.2) !important;
    margin: 0.5rem 0;
}

/* Enhanced Search Dropdown */
.header-search-dropdown {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    margin-top: 0.5rem;
    transform-origin: top center;
    animation: dropdownScale 0.2s ease;
}

@keyframes dropdownScale {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.search-option {
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

.search-option:not(:last-child) {
    margin-bottom: 0.25rem;
}

.search-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-red);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.search-option.active {
    background: rgba(255, 71, 87, 0.1) !important;
    color: var(--text-light) !important;
}

.search-option.active::before {
    opacity: 1;
}

/* Global Search Container */
.header-search-container {
    flex: 1;
    max-width: 800px;
    margin: 0 2rem;
    position: relative;
    z-index: 1001;
}

.header-search-input {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
}

.header-search-input:focus {
    border-color: var(--accent-red) !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.2) !important;
}

/* Mobile Optimization */
@media (max-width: 992px) {
    .header-search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0 0;
    }

    .header-search-input {
        font-size: 0.95rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .btn-accent {
        padding: 0.75rem 1.25rem;
    }
}

.online-status {
    position: absolute;
    top: 30px;
    left: 100px;
    z-index: 2;
}

.online-status .fa-circle {
    font-size: 0.8rem;
}

.online-status.online .fa-circle {
    color: #2ecc71;
}

.online-status.offline .fa-circle {
    color: #95a5a6;
}

.status-info .online {
    color: #2ecc71 !important;
}

.status-info .offline {
    color: #e74c3c !important;
}

.username-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.online-status {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.online-status.online {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.online-status.offline {
    background: #e74c3c;
    box-shadow: 0 0 8px #e74c3c;
}

.user-info h3 {
    margin: 0;
}

.role-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.role-badge.admin {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid #ff4757;
}

.role-badge.member {
    background: rgba(100, 100, 255, 0.2);
    color: #6464ff;
    border: 1px solid #6464ff;
}

/* Footer Fix */
.stratus-footer {
    position: relative;
    margin-top: auto;
}

/* Remove underline from all buttons */
.btn, .btn-secondary, .btn-accent, .btn-danger {
    text-decoration: none !important;
}

/* Hover state */
.btn:hover, .btn-secondary:hover, .btn-accent:hover, .btn-danger:hover {
    text-decoration: none !important;
}

/* Focus state */
.btn:focus, .btn-secondary:focus, .btn-accent:focus, .btn-danger:focus {
    text-decoration: none !important;
}

/* Active state */
.btn:active, .btn-secondary:active, .btn-accent:active, .btn-danger:active {
    text-decoration: none !important;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    color: var(--text-light);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255,255,255,0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent-red);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Legal Pages Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.7);
    border-radius: var(--card-radius);
}

.legal-section h2 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,71,87,0.3);
    padding-bottom: 0.5rem;
}

.styled-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.styled-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.single-column .hero-title {
    text-align: center;
    margin-bottom: 2rem;
}

.text-muted {
    color: #666;
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

/* Legal Page Adjustments */
.legal-content {
    width: 100%;
    max-width: 100%;
    padding: 2rem 0;
}

.legal-section {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 2rem;
    background: rgba(0,0,0,0.7);
    border-radius: var(--card-radius);
    box-sizing: border-box;
}

.vintage-card {
    padding: 3rem;
}

.hero-content.single-column {
    max-width: 100%;
    padding: 0 2rem;
}

/* Remove max-width constraint */
.hero-content {
    grid-template-columns: 1fr;
}

/* Adjust card shadows */
.legal-section {
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,71,87,0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .legal-section {
        padding: 1.5rem;
        margin: 0 0 1.5rem 0;
    }
    
    .vintage-card {
        padding: 1.5rem;
    }
    
    .hero-content.single-column {
        padding: 0 1rem;
    }
}

::placeholder {
    color: white !important;
    opacity: 1; /* Ensure full visibility */
}

a.forum-link {
    color: var(--text) !important;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: all 0.3s ease;
}

a.forum-link:hover {
    color: var(--accent) !important;
    border-bottom-color: transparent;
}

/* Profile avatar fix */
.profile-avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--accent-red);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-new-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 71, 87, 0.3);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.6s ease forwards;
}

/* In assets/dashboard.css or style.css */
.breadcrumb-nav {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item {
    color: var(--accent-red);
    text-decoration: none !important;
    position: relative;
    margin-right: 1.5rem;
}

.breadcrumb-item:hover {
    color: #ff6b81;
}

.breadcrumb-item::after {
    content: '/';
    position: absolute;
    right: -1rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item:last-child::after {
    content: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

/* Catalog Styles */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.item-card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
}

.item-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-red);
}

.item-card h3 {
    padding: 1rem;
    margin: 0;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
}

.price {
    color: #2ecc71;
    font-weight: bold;
}

.btn-buy {
    background: var(--accent-red);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}
