/* =============================================
   Black Women - Dating Website Styles
   Theme: Red & Black (Romantic + Premium)
============================================= */

/* CSS Variables */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f55757;
    --secondary: #0c0c0c;
    --dark: #0c0c0c;
    --dark-lighter: #16213e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --gradient: linear-gradient(135deg,#ff6666 0%, #ff3333 20%, #e60000 40%, #b30000 55%, #800000 70%, #330000 85%,
  #000000 100%
);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 30px rgba(230, 57, 70, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.text-gradient {
    background: var(--primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Remove default blue click/focus effect from all buttons */
/* Remove focus from everything */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Buttons */
.btn,
button,
a {
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus,
.btn:active,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Anchor fix */
a:focus,
a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Buttons */
.btn {
    padding: 9px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    position: relative;
    overflow: hidden;
      background: var(--gradient);
    color: var(--white);
}

/* animated border */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgb(100, 0, 0),
        transparent
    );

    background-size: 200% 100%;
    animation: moveBorder 1.8s linear infinite;

    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

@keyframes moveBorder {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
     background: linear-gradient( 135deg,#000000 0%#330000 25%,#990000 45%,#e60000 65%,#ff1a1a 85%, #ff6666 100%,
);}


.btn-outline-primary {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}


.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
}



.pagination .page-link {
    background-color: var(--dark-lighter);    /* black background */
    color: var(--light);                 /* white text */
    border: 1px solid #333;
    transition: 0.3s;
}

.pagination .page-link:hover {
    background-color: var(--primary-dark);   /* red on hover */
    color:  var(--light);  
    border-color:var(--primary-dark);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light)
}

.pagination .page-item.disabled .page-link {
    background-color: var(--dark-lighter);
    color: var(--light);
    border-color: #222;
    cursor: not-allowed;
}

.pagination .page-link:focus {
    box-shadow: none; /* remove blue glow */
}



/* Default placeholder */
::placeholder {
    color: #adb5bd !important; /* light gray */
    opacity: 1; /* fix for some browsers */
}

/* For input & textarea specifically */
input::placeholder,
textarea::placeholder {
    color: #adb5bd !important;
}

/* Bootstrap override fix */
.form-control::placeholder {
    color: #adb5bd !important;
}


.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--light);
    background-color: var(--primary-dark);
}
/* Navbar outer (full width for positioning) */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
}

/* Inner container (actual visible navbar) */
.navbar .container {
    max-width: 100%;
    margin: 0 15px;  
    background: #ffffff;
    border-radius: 50px;
    padding: 9px 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .navbar .container {
        margin: 0 40px;
    }
}

/* Logo */
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Nav Links */
.nav-link {
    color: #000 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    background: #ffffff;
}

/* Hover underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-outline-light {
    color: #000;
    border-color: #000;
}

.btn-outline-light:hover {
    background-color: #000;
    color: #fff;
}

/* Toggler */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    padding: 19px 18px;
    background: var(--secondary);
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a14 0%, #0c0c11 50%, #270202 100%);
    position: relative;
    overflow: hidden;
}



.hero-container {
    position: relative;
    z-index: 2;
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-1 {
    width: 800px;
    height: 800px;
    background: var(--primary-dark);
    top: -400px;
    right: -200px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    bottom: -300px;
    left: -200px;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--primary-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Glow */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(230, 57, 70, 0.15);
    top: 10%;
    right: 20%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 107, 0.1);
    bottom: 20%;
    left: 10%;
    animation: pulse-glow 4s ease-in-out infinite 2s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* LEFT CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero-badge {
    color: var(--primary-dark);
    margin-bottom: 10px;
   
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-xl {
    padding: 16px 28px;
    border-radius: 10px;
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    color: var(--light);
}

/* RIGHT FORM */
.hero-search-box {
    background: var(--light);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Form */
.form-label {
    color: var(--secondary);
    margin-bottom: 5px;
}

.form-select {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-light);
    padding: 10px;
    border-radius: 8px;
  
}



.hero-search-box .form-select{
     background: rgb(72 72 72 / 30%);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--secondary);
    padding: 10px;
    border-radius: 8px;
    
}
.form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(230,57,70,0.2);
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 991px) {

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-cta {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .hero-title {
        font-size: 2rem;
    }

    .hero-search-box {
        padding: 20px;
    }

    .btn-xl {
        width: 100%;
        justify-content: center;
    }
}

/* Featured Section */

.featured-section {
    background: var(--dark);
}
.featured-header{
    color: var(--light);
}

/* Profile Cards */
.profile-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #330000;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.profile-card.featured-card {
    border: 2px solid rgba(230, 57, 70, 0.3);
}

.profile-card.featured-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
}


.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-card:hover .card-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.online-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.profile-card:hover .card-overlay {
    transform: translateY(0);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.card-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.card-location i {
    color: var(--primary-dark);
    margin-right: 5px;
}

.card-middle-custom {
color: var(--gray);
font-size: 14px;
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}

.card-text {
   color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    background: #fee9e6;
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.rating {
    color: #ffc107;
    font-size: 0.85rem;
}

.verified-badge {
    color: #28a745;
    font-size: 1.1rem;
}

/* Posts Section */
.posts-section {
    background: var(--secondary);
}



/* How It Works Section */
.how-it-works-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.Works-header{
    color: var(--white);
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.step-card {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}


.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(230, 57, 70, 0.3);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 20px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--gradient);
    transform: scale(1.1);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.step-card:hover .step-icon i {
    color: var(--white);
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}

.step-card > p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.step-features li:first-child {
    border-top: none;
}

.step-features li i {
    color: var(--primary-dark);
    font-size: 0.75rem;
}

/* About Section */
.about-section {
    background: var(--dark);
     padding-top: 100px;
   
}
.about-header{
    color: var(--white);
}
.about-description{
    color: var(--white);
    margin-top: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-primary);
}

.about-badge i {
    font-size: 1.5rem;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h5 {
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--gray);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.cta-box {
    position: relative;
    background: var(--gradient);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-primary);
    z-index: 2;
}

/* Top Left Half Circle */
.cta-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

/* Bottom Right Half Circle */
.cta-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: -120px;
    right: -120px;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--white);
}

.cta-box p {
    color: var(--white);
}
/* =============================================
   Authentication Pages
============================================= */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
      pointer-events: auto !important;
}


.auth-section, .auth-box, .col-md-7 {
    position: relative;
    z-index: 10;
}


.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518199266791-5375a83190b7?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.05;
}

.auth-container {
    position: relative;
    z-index: 2;
}

.auth-box {
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 450px;
    margin: 0 auto;
}

.auth-box .logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-box .logo h2 {
    color: var(--white);
}

.auth-box .logo i {
    color: var(--dark);
    font-size: 2rem;
    margin-right: 10px;
}

.auth-box h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-floating {
    margin-bottom: 20px;
}
.form-control::placeholder {
    color: #000000;
    opacity: 1;
}

.form-floating .form-control {
    background: var(--white);
    border: 1px solid rgba(228, 228, 228, 0.7);
    color: var(--secondary);
    height: 56px;
}

.form-floating label {
    color: var(--gray);
    background-color: transparent;
}

.form-floating .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
 
}

.form-floating .form-control:focus ~ label {
    color: var(--primary-dark);
}

.form-check-input {
    background-color: var(--dark);
    border-color: var(--gray);
}

.form-check-input:checked {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.form-check-input {
  margin-right: 5px;
}
.form-check-label {
  color: var(--light);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: var(--secondary);
    padding: 0 15px;
    position: relative;
    color: var(--gray);
}

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-login .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-google {
    background: #db4437;
    color: var(--white);
    border: none;
}

.btn-facebook {
    background: #4267b2;
    color: var(--white);
    border: none;
}

.btn-apple {
    background: var(--white);
    color: var(--dark);
    border: none;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* =============================================
   Dashboard Layout
============================================= */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--secondary);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}


.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.edit-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #000;          /* icon bg */
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;        /* circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

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

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    color: var(--primary-dark);
}

.sidebar-user {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidelogo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    margin-left: 40px;
}

.sidebar-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-dark);
    margin-bottom: 10px;
}

.sidebar-user h6 {
    color: var(--white);
    margin-bottom: 5px;
}

.sidebar-user p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-label {
    padding: 10px 20px;
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: var(--gray-light);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-dark);
    border-left-color: var(--primary-dark);
}

.menu-item.active {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-dark);
    border-left-color: var(--primary-dark);
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.menu-item .badge {
    margin-left: auto;
    background: var(--primary-dark);
    font-size: 0.7rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--secondary);
    min-height: 100vh;
    transition: var(--transition);
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
}

/* Top Bar */
.top-bar {
    background: #3d0000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-light);
}




.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.notification-btn:hover {
    color: var(--primary-dark);
}

.notification-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-dark);
    font-size: 0.65rem;
    padding: 3px 6px;
}

.user-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.user-dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    min-width: 150px;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
}


.dashboard-header{
    color: var(--white);
}
 .Posts-header{
    color: var(--light);
}
/* Stats Cards */
.stats-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    border: 1px solid #3d0000;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

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

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stats-icon.primary {
    background: #fee9e6;
    color: var(--primary-dark);
}

.stats-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stats-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stats-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.stats-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--white);
}

.stats-info p {
    color: var(--light);
    margin: 0;
}

/* Dashboard Cards */
.dash-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
     border: 1px solid #3d0000;
}

.dash-card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-card-header h5 {
    margin: 0;
    color: var(--gray-light);
}

.dash-card-body {
    padding: 20px;

}

/* Tables */
.custom-table {
    width: 100%;
    color: var(--light);
}

.custom-table th {
    background: #3d0000;
    padding: 15px;
    text-align: left;
    color: var(--light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.custom-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.custom-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.approved {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-badge.rejected {
    background: #fee9e6;
    color: var(--primary)
}

.status-badge.expired {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.edit {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.action-btn.delete {
    background: #fee9e6;
   color: var(--primary)
}

.action-btn.view {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Forms in Dashboard */
.dash-form .form-group {
    margin-bottom: 20px;
}

.dash-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
    font-weight: 500;
}

.dash-form .form-control,
.dash-form .form-select {
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    width: 100%;
    margin-top: 20px;
}

.dash-form .form-control:focus,
.dash-form .form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.dash-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* File Upload */
.file-upload {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-dark);
    background: rgba(230, 57, 70, 0.05);
}

.file-upload i {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--gray);
    margin: 0;
}

/* Boost Packages */
.boost-card {
    background: var(--dark);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.boost-card:hover,
.boost-card.popular {
    border-color: var(--primary-dark);
    transform: translateY(-10px);
}

.boost-card.popular {
    position: relative;
}
.boost-card h4{
    color: var(--light);
}

.boost-card p{
    color: var(--gray);
}

.boost-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.boost-icon {
    width: 80px;
    height: 80px;
    background: #fee9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-dark);
}

.boost-card h4 {
    margin-bottom: 10px;
}

.boost-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.boost-card .price span {
    font-size: 1rem;
    color: var(--gray);
}

.boost-card .duration {
    color: var(--gray);
    margin-bottom: 20px;
}

.boost-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.boost-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-light);
}

.boost-features li i {
    color: var(--primary-dark);
}

/* Wallet Section */
.wallet-balance {
    background: var(--primary-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: var(--light);
}

.wallet-balance h6 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.wallet-balance h2 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.wallet-balance p {
    color: rgba(255, 255, 255, 0.7);
}

/* Chat UI */
.chat-container {
    display: flex;
    height: calc(100vh - 130px);
    background: rgba(230, 57, 70, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.chat-sidebar {
    width: 320px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-sidebar-header h5 {
    margin: 0 0 15px 0;
    color: var(--light);
}

.chat-search {
    position: relative;
}

.chat-search input {
    width: 100%;
    background: var(--dark);
    border: none;
    padding: 10px 15px 10px 40px;
    border-radius: 25px;
    color: var(--light);
}

.chat-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.chat-list {
    flex: 1;
    overflow-y: auto;
}

.chat-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.chat-item:hover,
.chat-item.active {
    background: rgba(230, 57, 70, 0.1);
    border-left-color: var(--primary-dark);
}

.chat-item-avatar {
    position: relative;
}

.chat-item-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-item-avatar .status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid var(--secondary);
}

.chat-item-info {
    flex: 1;
    min-width: 0;
}

.chat-item-info h6 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--light);
}

.chat-item-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-meta {
    text-align: right;
}

.chat-item-meta .time {
    font-size: 0.75rem;
    color: var(--gray);
}

.chat-item-meta .unread {
    background: var(--primary-dark);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-left: auto;
    margin-top: 5px;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header-info h6 {
    margin: 0 0 3px 0;
    color: var(--light);
}

.chat-header-info p {
    margin: 0;
    color: #28a745;
    font-size: 0.85rem;
}

.chat-header-actions {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.chat-header-actions button {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-header-actions button:hover {
    color: var(--primary-dark);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--dark);
}

.message {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.message.sent {
    flex-direction: row-reverse;
}

.message-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    max-width: 60%;
}

.message-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    background: var(--secondary);
    color: var(--light);
}

.message.sent .message-bubble {
    background: var(--primary-dark);
    color: var(--white);
    border-bottom-right-radius: 5px;
}

.message.received .message-bubble {
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
}

.message.sent .message-time {
    text-align: right;
}

.chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
    align-items: center;
}

.chat-input-actions {
    display: flex;
    gap: 10px;
}

.chat-input-actions button {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-actions button:hover {
    color: var(--primary-dark);
}

.chat-input input {
    flex: 1;
    background: var(--dark);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: var(--light);
}

.chat-input input::placeholder {
    color: var(--gray);
}

.chat-input .send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.chat-input .send-btn:hover {
    transform: scale(1.1);
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: var(--secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
}

.notifications-dropdown.show {
    display: block;
}

.notifications-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.notifications-header h6 {
    margin: 0;
}

.notifications-header a {
    color: var(--primary-dark);
    font-size: 0.85rem;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.notification-item.unread {
    background: rgba(230, 57, 70, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.notification-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.notification-icon.danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.notification-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
     color: var(--white);
}

.notification-content span {
    color: var(--gray);
    font-size: 0.8rem;
}




/* Post Details Page */
.post-details-section {
    padding-top: 100px;
      position: relative;
}


/* Make left column sticky */
.post-details-section .col-lg-5 {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Right column scroll naturally */
.post-details-section .col-lg-7 {
     height: auto !important;
    overflow: visible !important;
}

/* Optional: smooth scroll + better look */
.post-details-section .col-lg-5::-webkit-scrollbar {
    width: 6px;
}
.post-details-section .col-lg-5::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}


/* Fix column height */
.post-details-section .col-lg-5 {
    height: 100vh;
    overflow: hidden;
}

/* Dashboard content full height */
.post-details-section .dashboard-content {
    height: 100%;
    padding: 0 !important;
}

/* Chat container fit inside column */
.post-details-section .chat-container {
    transform: scale(0.85);   /* adjust 0.7 – 0.9 as needed */
    transform-origin: top left;
    width: 117%; /* compensate shrink */
}

/* Sidebar + Main proper layout */
.post-details-section .chat-sidebar {
    width: 35%;
    height: 100%;
    overflow-y: auto;
}

.post-details-section .chat-main {
    width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Messages scrollable */
.post-details-section .chat-messages {
    flex: 1;
    overflow-y: auto;
}

.post-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-gallery .main-image {
    width: 30%;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
}

.post-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.post-gallery .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.post-gallery .thumb:hover,
.post-gallery .thumb.active {
    opacity: 1;
}

.post-info {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
}

.post-info h2 {
    margin-bottom: 10px;
    color: var(--dark);
}

.post-info .location {
    color: var(--gray);
    margin-bottom: 20px;
}

.post-info .location i {
    color: var(--dark);
    margin-right: 5px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
   
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
  color: var(-dark);
}

.post-meta-item i {
    color: var(--primary-dark);
   
}


.post-description {
    margin-bottom: 30px;
    display: block;
}

.post-description h5 {
    margin-bottom: 15px;
    color: var(--dark);
}

.post-description p {
    color: var(--gray);
    line-height: 1.8;
}
/* Make all p in this section grid */


/* Only apply grid after this heading */
.post-description h5:nth-of-type(6) ~ p {
    display: inline-block;
    width: 32%;
    vertical-align: top;
}
.apply-box {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid #3d0000;
    text-align: center;
       margin-bottom: 20px;
}
.apply-box h5 {
   
    color: var(--light);
}

.apply-box .token-cost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
      color: var(--dark);

}

.apply-box .token-cost i {
    color: #ffc107;
    font-size: 1.5rem;
}

.apply-box .token-cost span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

/* 📱 Mobile & Tablet Fix */
@media (max-width: 991px) {

    /* Remove sticky on small screens */
    .post-details-section .col-lg-5 {
        position: relative;
        top: 0;
        height: auto;
        overflow: visible;
    }

    /* Reset chat scaling */
    .post-details-section .chat-container {
        transform: scale(1);
        width: 100%;
    }

    /* Stack chat layout vertically */
    .post-details-section .chat-container {
        flex-direction: column;
    }

    .post-details-section .chat-sidebar,
    .post-details-section .chat-main {
        width: 100%;
        height: auto;
    }

    /* Reduce chat height for mobile */
    .post-details-section .chat-messages {
        max-height: 300px;
        overflow-y: auto;
    }

    /* Fix column spacing */
    .post-details-section .row {
        flex-direction: column;
    }
}

/* Apply Modal */
.modal-content {
    background: #1c1c1c;
    border: none;
    border-radius: var(--border-radius);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    color: var(--light);
}

.modal-header .btn-close-black {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.modal-body {
    padding: 30px;
}
.modal-body h5 {

    color: var(--light);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
}

/* Payment UI */
.payment-method {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.auth-section .form-select {
    background: transparent;
    border: 1px solid rgb(218, 218, 218);
    color: var(--secondary);
    padding: 10px;
    border-radius: 8px;
}


.payment-method:hover,
.payment-method.selected {
    border-color: var(--primary-dark);
}

.payment-method input {
    display: none;
}

.payment-method i {
    font-size: 2rem;
}


.payment-method.paypal i {
    color: #00457c;
}

.payment-method.stripe i {
    color: #635bff;
}

/* Admin Panel */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .chat-sidebar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 10;
        background: var(--secondary);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .chat-sidebar.show {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-row {
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        
    }

    .search-box .row {
        gap: 10px;
    }

    .search-box .col-md-3,
    .search-box .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .dashboard-content {
        padding: 15px;
    }

    .top-bar {
        padding: 15px;
    }

    .top-bar-search {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .auth-box {
        padding: 25px;
    }

    .post-gallery .main-image {
        height: 300px;
    }
}

/* Utility Classes */
.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}



body:has(.dashboard-wrapper) nav.navbar, body:has(.dashboard-wrapper) footer{
    display: none;  
}



.center-wrapper {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    min-height: 90vh;         /* full screen height */
    padding: 20px;             /* spacing from edges */
    background: var(--gradient-dark);

}

        .confirm-card {
            background: var(--light);
            border-radius: 15px;
            color: var(--dark);
            padding: 50px 30px;
            text-align: center;
            max-width: 450px;
            width: 100%;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .icon-box {
            width: 70px;
            height: 70px;
            background: linear-gradient(45deg, #b90000, #b90000);
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 20px;
            font-size: 30px;
            color: var(--light);
        }

        .confirm-card h3 {
            font-weight: 600;
            margin-bottom: 15px;
           color: var(--dark);
        }

        .confirm-card p {
            color: var(--dark);
            margin-bottom: 10px;
        }

        .email {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 25px;
        }

        .btn-verify {
            background: linear-gradient(45deg, #b90000, #b90000);
            border: none;
            color: #fff;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
            transition: 0.3s;
        }

        .btn-verify:hover {
            opacity: 0.9;
        }


        
/* Footer */
.footer {
    background: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 70px;   /* adjust size */
    width: auto;
    object-fit: contain;
}

.footer-brand {
    margin-bottom: 15px;
}
.footer-brand {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand i {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer h6 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    color: var(--light);
    transition: var(--transition);
}

.app-btn:hover {
    background: var(--primary-dark);
}

.app-btn i {
    font-size: 1.2rem;
}

.app-btn span {
    font-size: 0.85rem;
}



/* Change slider track */
input[type="range"] {
    accent-color: var(--primary-dark); /* simplest way (modern browsers) */
}

/* For better custom styling (optional) */
input[type="range"]::-webkit-slider-thumb {
    background: var(--primary-dark);
    border: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #f8d7da; /* light red track */
}

input[type="range"]::-moz-range-thumb {
    background: var(--primary-dark);
    border: none;
}

input[type="range"]::-moz-range-track {
    background: var(--light);
}

/* ============================= */
/* STEP FORM WRAPPER */
/* ============================= */

.step {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  position: relative; /* important */
}


.step::before {
  content: "";
  position: absolute;
  top: 17px; 
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--light);
  z-index: 0;
}

/* Step item */
.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1; /* above line */
  display: flex;
  color: var(--primary-dark);
  flex-direction: column;
  align-items: center;
}

/* Circle */
.step-item::before {
  content: attr(data-step);
  width: 35px;
  height: 35px;
  background: #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}


/* Line */
.step-item::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--light);
  z-index: -1;
}

.step-item:last-child::after {
  display: none;
}

/* Active Step */
.step-item.active {
  color: #000000;
}
/* Active */
.step-item.active::before {
  background: var(--primary-dark);
  color: var(--light);
}
.step-item.active::after {
  background: var(--primary-dark);
}
/* ============================= */
/* STEP CONTENT */
/* ============================= */

.step-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.step-content.active {
  display: block;
}

/* ============================= */
/* FORM SECTIONS */
/* ============================= */

.form-section {
  background:  var(--secondary);
  padding: 15px;
  border-radius: 10px;
  color: var(--secondary);

}
.form-section h5 {
  color: var(--light);
}

/* ============================= */
/* INPUT STYLING */
/* ============================= */

.dash-form .form-control,
.dash-form .form-select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 0;
  font-size: 14px;
  transition: 0.2s;
}

.dash-form .form-control:focus,
.dash-form .form-select:focus {
  border-color: var(--primary-dark);
  box-shadow: none;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.dash-form .btn {
  border-radius: 8px;
  padding: 8px 16px;
}

.dash-form .btn-primary {
  background: var(--gradient);
  border: none;
}

.dash-form .btn-secondary {
  background: var(--gray);
  border: none;
}

/* ============================= */
/* RANGE SLIDER */
/* ============================= */

.form-range {
  width: 100%;
  /* margin: 10px 0; */
}

/* ============================= */
/* CHECKBOX */
/* ============================= */



/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* contact page styles */

.contact-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0b0b0b;
}

.contact-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 0;
}

/* CARD */
.contact-card {
    position: relative;
    z-index: 1;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* LEFT IMAGE */
.contact-side-image {
    height: 100%;
    background: url('https://images.unsplash.com/photo-1494774157365-9e04c6720e47?w=800') center/cover;
    filter: brightness(0.7);
}

/* RIGHT AREA */
.contact-form-area {
    padding: 50px;
    color: #fff;
}

.contact-form-area h2 {
    font-weight: bold;
}

.subtitle {
    color: #aaa;
    margin-bottom: 30px;
}


/* INPUT BASE */
.custom-input {
    width: 100%;
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

/* FOCUS EFFECT */
.custom-input:focus {
    border-bottom: 1px solid var(--primary-dark);
}

/* FLOATING LABEL FIX */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #888;
    transition: 0.3s;
    pointer-events: none;
}

/* FLOAT UP */
.custom-input:focus + label,
.custom-input:valid + label {
    top: -10px;
    font-size: 12px;
    color: var(--primary-dark);
}

/* 🔥 AUTOFILL FIX (MAIN ISSUE SOLVED) */
.custom-input:-webkit-autofill,
.custom-input:-webkit-autofill:hover,
.custom-input:-webkit-autofill:focus,
.custom-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #121212 inset !important;
    -webkit-text-fill-color: #fff !important;
    border-bottom: 1px solid red;
    caret-color: red;
}

/* TEXTAREA FIX */
textarea.custom-input {
    resize: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 10px;
    background: var(--dark);
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
}

.form-group label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #888;
    transition: 0.3s;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--primary-dark);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    font-size: 12px;
    color: var(--primary-dark);
}

/* BUTTON */
.btn-submit {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    background: var(--gradient);
    border: none;
    color: #fff;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--gradient);
}

/* MINI INFO */
.mini-info {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #aaa;
}

/* MOBILE */
@media(max-width: 992px){
    .contact-side-image {
        display: none;
    }

    .contact-form-area {
        padding: 30px;
    }

    .mini-info {
        flex-direction: column;
        gap: 10px;
    }
}



.offcanvas-start {
    width: 350px;
}
.offcanvas {
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
}

