/* UrbanSalah Black & White Theme - Polished Version */
:root {
    --primary: #ffffff; /* White */
    --primary-light: #f9fafb;
    --primary-lighter: #f1f5f9;
    --secondary: #843bcb; /* Black */
     --secondary-light: #502a75;
    --secondary-lighter: #475569;
    --accent: #64748b; /* Subtle gray accent */
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.user-profile{
    background-color: #843bcb;
}
.start-title{
    color: #843bcb;
}


body {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
}
.alegreya-sans-light {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.alegreya-sans-regular {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Typography Scale - Improved */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

h1 { 
    font-size: 3rem; 
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 { 
    font-size: 2.25rem; 
    font-weight: 700;
}

h3 { 
    font-size: 1.875rem; 
    font-weight: 600;
}

h4 { 
    font-size: 1.5rem; 
    font-weight: 600;
}

h5 { 
    font-size: 1.25rem; 
    font-weight: 600;
}

h6 { 
    font-size: 1.125rem; 
    font-weight: 500;
}

.display-1 { font-size: 4.5rem; font-weight: 900; letter-spacing: -0.04em; }
.display-2 { font-size: 3.75rem; font-weight: 900; letter-spacing: -0.04em; }
.display-3 { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; }
.display-4 { font-size: 2.5rem; font-weight: 800; }
.display-5 { font-size: 2rem; font-weight: 700; }
.display-6 { font-size: 1.75rem; font-weight: 700; }

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--secondary-lighter);
    letter-spacing: -0.011em;
}

.text-muted {
    color: var(--secondary-lighter) !important;
}

/* Spacing System */
.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ===================== */
/* ENHANCED NAVBAR STYLES */
/* ===================== */
.navbar {
    background-color: var(--primary) !important;
    border-bottom: 1px solid var(--border) !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.sticky-top {
    backdrop-filter: blur(8px);
    background-color: rgb(255 255 255 / 33%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--secondary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.navbar-brand:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-light) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.125rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nav-link:hover {
    color: var(--secondary) !important;
    background-color: #651bff2b;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--secondary) !important;
    font-weight: 600;
    background-color: #651bff2b;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--secondary);
    border-radius: 1px;
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar-toggler:hover {
    background-color: var(--primary-light);
    border-color: var(--border-dark);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* User Dropdown */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--secondary);
    transform: translateX(2px);
}

.dropdown-item.text-danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.dropdown-divider {
    border-color: var(--border);
    margin: 0.5rem 0;
}

/* Coins Button */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

/* Auth Buttons */
.btn-outline-primary, .btn-primary {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #843bcb;
    border: none;
    color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.btn-outline-primary {
    border: 1.5px solid var(--secondary);
    color: var(--secondary) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--secondary);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Mobile Responsive Navbar Fixes */
@media (max-width: 991.98px) {
    /* Navbar container padding */
    .navbar .container-fluid {
        padding: 0 1rem !important;
    }
    
    /* Navbar collapse area */
    .navbar-collapse {
        /* background: var(--primary);
        border-top: 1px solid var(--border); */
        padding: 1rem;
        border-radius: var(--radius);
        /* box-shadow: var(--shadow); */
    }
    
    /* Navigation links */
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.125rem 0 !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    /* Right side actions container */
    .navbar-collapse .d-flex {
        padding: 0 !important;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    /* Buttons on mobile */
    .navbar-collapse .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem !important;
    }
    
    /* User dropdown on mobile */
    .navbar-collapse .dropdown {
        width: 100%;
    }
    
    .navbar-collapse .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    /* Coins button on mobile */
    .btn-warning {
        justify-content: center;
    }
    
    /* Hide text on mobile, show only icons */
    .nav-link span,
    .btn span {
        display: inline;
    }
    
    /* Logo adjustments for mobile */
    .navbar-brand div:last-child {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Further adjustments for very small screens */
    .navbar-brand div:last-child {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    /* Hide text on very small screens, show only icons */
    .nav-link span,
    .btn span.d-none.d-sm-inline {
        display: none !important;
    }
    
    .nav-link i,
    .btn i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
    
    /* Adjust button sizes */
    .btn {
        padding: 0.625rem !important;
        min-width: auto;
    }
    
    /* User dropdown icon only */
    .dropdown-toggle .d-none.d-sm-inline {
        display: none;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    /* Proper spacing for navbar items */
    .navbar-nav {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center align nav items on desktop */
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
    }
    
    /* Right side actions on desktop */
    .navbar-collapse .d-flex {
        margin-left: auto;
    }
}

/* ===================== */
/* ENHANCED FOOTER STYLES */
/* ===================== */
footer.bg-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #e2e8f0 !important;
    padding: 4rem 0 2rem !important;
    margin-top: auto;
}

footer h4, footer h5, footer h6 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer h4 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

footer .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

footer p.text-white-50 {
    color: #f0f0f0 !important;
    line-height: 1.7;
    font-size: 0.95rem;
}

footer ul.list-unstyled {
    margin: 0;
    padding: 0;
}

footer ul.list-unstyled li {
    margin-bottom: 0.75rem;
}

footer ul.list-unstyled li a {
    color: #f0f0f0 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer ul.list-unstyled li a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}


footer ul.list-unstyled li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
footer ul.list-unstyled.text-white-50 li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #f0f0f0;
    font-size: 0.95rem;
}

footer ul.list-unstyled.text-white-50 li i {
    color: #f0f0f0;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Social Links */
footer .d-flex.gap-3 a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8 !important;
    text-decoration: none;
    transition: var(--transition);
}

footer .d-flex.gap-3 a:hover {
    background-color: #3b82f6;
    color: white !important;
    transform: translateY(-3px);
}

/* Footer Divider */
footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
    opacity: 1;
}

/* Legal Disclaimer */
footer .small {
    font-size: 0.875rem;
    line-height: 1.6;
}

footer .text-white-50 {
    color: #94a3b8 !important;
}

footer strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* ======================= */
/* ENHANCED HOMEPAGE STYLES */
/* ======================= */

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-section .badge {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--secondary);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-section .lead {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-section .d-flex.gap-3 {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Services Grid */
.hover-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--primary);
    transition: var(--transition-slow);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hover-card:hover::before {
    transform: scaleX(1);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
}

.hover-card .card-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hover-card .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background: var(--primary-light) !important;
    color: var(--secondary) !important;
}

.hover-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary) !important;
    color: var(--primary) !important;
}

.hover-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    color: var(--secondary);
}

.hover-card:hover .card-title {
    color: var(--secondary);
}

.hover-card .card-text {
    color: var(--secondary-lighter);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How It Works */
.bg-light {
    background-color: var(--primary-light) !important;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.step-number:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* Trust Section */
.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border: 1px solid var(--border);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.icon-circle:hover {
    transform: scale(1.1);
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

/* Stats Section */
.bg-primary.text-white {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary.text-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bg-primary.text-white .display-3 {
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.bg-primary.text-white p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonial Cards */
.card.border-0.shadow-sm {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--primary);
}

.card.border-0.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--secondary-light);
}

.card.border-0.shadow-sm .bg-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
    transition: var(--transition);
}

.card.border-0.shadow-sm:hover .bg-primary {
    transform: scale(1.1);
}

.card.border-0.shadow-sm h6 {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.card.border-0.shadow-sm small {
    color: var(--secondary-lighter);
    font-size: 0.875rem;
}

.card.border-0.shadow-sm p {
    color: var(--secondary-lighter);
    line-height: 1.6;
    font-style: italic;
}

/* CTA Card */
.card.bg-primary.text-white {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.card.bg-primary.text-white:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card.bg-primary.text-white .btn-light {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    border: none;
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.card.bg-primary.text-white .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light) !important;
}

/* Legal Disclaimer */
.border-top {
    border-top: 1px solid var(--border) !important;
    background: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    .display-3 { font-size: 2.5rem; }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
   
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    footer {
        padding: 3rem 0 1.5rem !important;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    footer .row > div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-section .d-flex.gap-3 .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
*:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Print Styles */
@media print {
    .hover-card:hover,
    .card-hover:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .navbar,
    footer {
        display: none;
    }
}

.history-btn{
    background: white;
    color: #843bcb;
    border: 2px solid #843bcb;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    min-width: 200px;
}



/* Property & Vehicle Listing Enhancement Styles */
:root {
    --property-primary: #843bcb;
    --property-secondary: #333333;
    --property-light: #f8f9fa;
    --property-border: #e0e0e0;
    --property-radius: 8px;
    --property-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --property-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --property-transition: all 0.2s ease;
}

/* Property Detail Page */
.property-detail-page .breadcrumb {
    background: var(--property-light);
    padding: 0.75rem 1rem;
    border-radius: var(--property-radius);
    border: 1px solid var(--property-border);
}

.property-detail-page .breadcrumb-item a {
    color: var(--property-secondary);
    text-decoration: none;
    font-weight: 500;
}

.property-detail-page .breadcrumb-item.active {
    color: var(--property-primary);
    font-weight: 600;
}

/* Main Image */
.property-detail-page .main-image {
    border-radius: var(--property-radius) var(--property-radius) 0 0;
    overflow: hidden;
}

.property-detail-page .main-image img {
    transition: transform 0.3s ease;
}

.property-detail-page .main-image:hover img {
    transform: scale(1.02);
}
.property-index-compact .breadcrumb {
    background: var(--property-light);
    padding: 0.75rem 1rem;
    border-radius: var(--property-radius);
    border: 1px solid var(--property-border);
    margin-bottom: 1.5rem;
}
/* Verified Badges */
.property-detail-page .verified-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--property-shadow);
}

.property-detail-page .verified-badge.bg-primary {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border: none;
}

/* Thumbnail Gallery */
.property-detail-page .thumbnail-gallery .col-3 img {
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--property-transition);
    border-radius: 4px;
}

.property-detail-page .thumbnail-gallery .col-3 img:hover {
    border-color: var(--property-primary);
    transform: translateY(-2px);
}

/* Price Display */
.property-detail-page .price-display {
    padding: 1rem;
    background: var(--property-light);
    border-radius: var(--property-radius);
    border-left: 4px solid var(--property-primary);
}

.property-detail-page .fs-4.fw-bold {
    font-size: 1.75rem !important;
    color: var(--property-primary);
}

/* Quick Stats */
.property-detail-page .quick-stats .border {
    border: 1px solid var(--property-border) !important;
    border-radius: 6px;
    transition: var(--property-transition);
}

.property-detail-page .quick-stats .border:hover {
    border-color: var(--property-primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--property-shadow);
}

.property-detail-page .quick-stats .fw-bold {
    font-size: 1.25rem;
    color: var(--property-primary);
}

/* Action Buttons */
.property-detail-page .action-buttons .btn {
    padding: 0.75rem;
    font-weight: 600;
    border-radius: var(--property-radius);
    transition: var(--property-transition);
}

.property-detail-page .action-buttons .btn-outline-primary {
    border-width: 2px;
}

.property-detail-page .action-buttons .btn-outline-primary:hover {
    background: var(--property-primary);
    transform: translateY(-2px);
}

.property-detail-page .action-buttons .btn-primary {
    background: var(--property-primary);
    border: none;
    box-shadow: var(--property-shadow);
}

.property-detail-page .action-buttons .btn-primary:hover {
    background: var(--property-secondary);
    transform: translateY(-2px);
    box-shadow: var(--property-shadow-lg);
}

/* Seller Info Card */
.property-detail-page .seller-card {
    background: var(--property-light);
    border: 1px solid var(--property-border);
    border-radius: var(--property-radius);
    transition: var(--property-transition);
}

.property-detail-page .seller-card:hover {
    border-color: var(--property-primary);
    transform: translateY(-2px);
}

.property-detail-page .seller-card .rounded-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--property-primary) 0%, var(--property-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabs */
.property-detail-page .nav-tabs {
    border-bottom: 2px solid var(--property-border);
}

.property-detail-page .nav-tabs .nav-link {
    color: var(--property-secondary);
    font-weight: 500;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    border-radius: var(--property-radius) var(--property-radius) 0 0;
    transition: var(--property-transition);
}

.property-detail-page .nav-tabs .nav-link:hover {
    color: var(--property-primary);
    background: var(--property-light);
}

.property-detail-page .nav-tabs .nav-link.active {
    color: var(--property-primary);
    font-weight: 600;
    background: white;
    border-bottom: 2px solid var(--property-primary);
}

/* Detail Items */
.property-detail-page .detail-item {
    border-bottom: 1px solid var(--property-border);
    padding: 0.75rem 0;
}

.property-detail-page .detail-item:last-child {
    border-bottom: none;
}

.property-detail-page .detail-item .text-muted {
    font-size: 0.9rem;
}

.property-detail-page .detail-item .fw-bold {
    color: var(--property-primary);
}

/* Features List */
.property-detail-page .features-list .col-md-6 {
    margin-bottom: 0.5rem;
}

.property-detail-page .features-list .bi-check-circle-fill {
    color: #22c55e;
}

/* Similar Properties */
.property-detail-page .similar-card {
    height: 100%;
    border: 1px solid var(--property-border);
    border-radius: var(--property-radius);
    transition: var(--property-transition);
    overflow: hidden;
}

.property-detail-page .similar-card:hover {
    border-color: var(--property-primary);
    transform: translateY(-4px);
    box-shadow: var(--property-shadow-lg);
}

.property-detail-page .similar-card img {
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-detail-page .similar-card:hover img {
    transform: scale(1.05);
}

.property-detail-page .similar-card .btn-outline-primary {
    padding: 0.25rem 1rem;
    border-width: 1.5px;
}

/* Modal */
.property-detail-page #inquiryModal .modal-content {
    border: none;
    border-radius: var(--property-radius);
}

.property-detail-page #inquiryModal .modal-header {
    border-bottom: 1px solid var(--property-border);
    background: var(--property-light);
}

.property-detail-page #inquiryModal .form-control:focus {
    border-color: var(--property-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Vehicle Sell Form */
.vehicle-form-page .breadcrumb {
    background: var(--property-light);
    padding: 0.75rem 1rem;
    border-radius: var(--property-radius);
    border: 1px solid var(--property-border);
    margin-bottom: 1.5rem;
}

/* Rewards Banner */
.vehicle-form-page .rewards-banner {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #facc15;
    border-radius: var(--property-radius);
    margin-bottom: 2rem;
}

.vehicle-form-page .rewards-banner .bi-gift {
    font-size: 2rem;
}

/* Form Sections */
.vehicle-form-page .form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--property-border);
}

.vehicle-form-page .form-section:last-child {
    border-bottom: none;
}

.vehicle-form-page .form-section h5 {
    color: var(--property-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--property-border);
}

/* Form Controls */
.vehicle-form-page .form-label {
    font-weight: 600;
    color: var(--property-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.vehicle-form-page .form-label.required:after {
    content: " *";
    color: #dc3545;
}

.vehicle-form-page .form-control,
.vehicle-form-page .form-select {
    border: 2px solid var(--property-border);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: var(--property-transition);
    background: white;
}

.vehicle-form-page .form-control:focus,
.vehicle-form-page .form-select:focus {
    border-color: var(--property-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.vehicle-form-page .form-control:hover,
.vehicle-form-page .form-select:hover {
    border-color: #b0b0b0;
}

.vehicle-form-page .input-group-text {
    background: var(--property-light);
    border: 2px solid var(--property-border);
    border-left: none;
    color: var(--property-secondary);
}

/* Checkbox & Radio */
.vehicle-form-page .form-check-input {
    border: 2px solid var(--property-border);
    margin-top: 0.2rem;
}

.vehicle-form-page .form-check-input:checked {
    background-color: var(--property-primary);
    border-color: var(--property-primary);
}

.vehicle-form-page .form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.vehicle-form-page .form-check-label {
    color: var(--property-secondary);
    cursor: pointer;
}

/* Image Upload Area */
.vehicle-form-page .image-upload-area {
    border: 2px dashed var(--property-border);
    border-radius: var(--property-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--property-transition);
    background: var(--property-light);
}

.vehicle-form-page .image-upload-area:hover {
    border-color: var(--property-primary);
    background: white;
}

.vehicle-form-page .image-upload-area .bi-cloud-arrow-up {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.vehicle-form-page .image-upload-area input[type="file"] {
    max-width: 300px;
    margin: 0 auto;
    padding: 0.5rem;
    border: 1px solid var(--property-border);
    border-radius: 4px;
    background: white;
}

/* Image Preview */
.vehicle-form-page #imagePreview {
    margin-top: 1.5rem;
}

.vehicle-form-page #imagePreview .col {
    position: relative;
}

.vehicle-form-page #imagePreview img {
    border-radius: 4px;
    border: 2px solid var(--property-border);
    transition: var(--property-transition);
}

.vehicle-form-page #imagePreview img:hover {
    border-color: var(--property-primary);
}

.vehicle-form-page #imagePreview .btn-danger {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alert Box */
.vehicle-form-page .alert {
    border-radius: var(--property-radius);
    border: 1px solid;
    background: white;
}

.vehicle-form-page .alert-info {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}

.vehicle-form-page .alert-warning {
    background: #fefce8;
    border-color: #fde047;
    color: #854d0e;
}

/* Submit Button */
.vehicle-form-page .btn-lg {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--property-radius);
    transition: var(--property-transition);
}

.vehicle-form-page .btn-primary {
    background: var(--property-primary);
    border: none;
    box-shadow: var(--property-shadow);
}

.vehicle-form-page .btn-primary:hover {
    background: var(--property-secondary);
    transform: translateY(-2px);
    box-shadow: var(--property-shadow-lg);
}

.vehicle-form-page .btn-outline-secondary {
    border-width: 2px;
}

.vehicle-form-page .btn-outline-secondary:hover {
    background: var(--property-secondary);
    color: white;
    transform: translateY(-2px);
}

/* Card Styling */
.vehicle-form-page .card,
.property-detail-page .card {
    border: 1px solid var(--property-border);
    border-radius: var(--property-radius);
    background: white;
    overflow: hidden;
    transition: var(--property-transition);
}

.vehicle-form-page .card:hover,
.property-detail-page .card:hover {
    box-shadow: var(--property-shadow-lg);
}

.vehicle-form-page .card-header {
    background: white;
    border-bottom: 1px solid var(--property-border);
    padding: 1.25rem 1.5rem;
}

.vehicle-form-page .card-body {
    padding: 1.5rem;
}

/* Sticky Card */
.property-detail-page .sticky-card {
    border: 1px solid var(--property-border);
    border-radius: var(--property-radius);
    background: white;
    box-shadow: var(--property-shadow);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-detail-page .col-lg-4 {
        position: static !important;
        margin-top: 1.5rem;
    }
    
    .property-detail-page .sticky-card {
        position: static !important;
        top: 0 !important;
    }
    
    .property-detail-page .thumbnail-gallery .col-3 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .vehicle-form-page .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .vehicle-form-page .image-upload-area {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .property-detail-page .quick-stats .col-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    
    .property-detail-page .action-buttons .btn {
        padding: 0.625rem;
    }
    
    .property-detail-page .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .vehicle-form-page .btn-lg {
        padding: 0.75rem 1.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--property-primary) 0%, var(--property-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.border-light {
    border-color: var(--property-border) !important;
}

.bg-light-custom {
    background: var(--property-light) !important;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--property-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Custom Scrollbar */
.property-detail-page ::-webkit-scrollbar {
    width: 8px;
}

.property-detail-page ::-webkit-scrollbar-track {
    background: var(--property-light);
    border-radius: 4px;
}

.property-detail-page ::-webkit-scrollbar-thumb {
    background: var(--property-border);
    border-radius: 4px;
}

.property-detail-page ::-webkit-scrollbar-thumb:hover {
    background: var(--property-secondary);
}

/* app.css - Add these styles */

/* Common Variables */
:root {
    --primary-black: #843bcb;
    --secondary-gray: #333333;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --radius-md: 8px;
    --radius-sm: 4px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.2s ease;
}

/* Common Components */
.required-label:after {
    content: " *";
    color: #dc3545;
}

.verified-badge {
    background: rgba(25, 135, 84, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
}

.verified-badge.primary {
    background: rgba(13, 110, 253, 0.9);
}

.border-2 {
    border-width: 2px !important;
}

.border-dashed {
    border-style: dashed !important;
}

.cursor-pointer {
    cursor: pointer;
    transition: opacity 0.2s;
}

.cursor-pointer:hover {
    opacity: 0.8;
}

/* Image Styles */
.img-cover {
    object-fit: cover;
}

/* Card Enhancements */
.card-hover {
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.card-hover:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control-custom,
.form-select-custom {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-custom-primary {
    background: var(--primary-black);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    color:#fff;
}

.btn-custom-primary:hover {
    background: var(--secondary-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-custom-outline {
    border: 2px solid var(--primary-black);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-custom-outline:hover {
    background: var(--primary-black);
    color: white;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge-outline {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--secondary-gray);
    font-weight: 500;
}

/* Tab Styles */
.nav-tabs-custom .nav-link {
    border: none;
    color: var(--secondary-gray);
    font-weight: 500;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: var(--transition);
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary-black);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-black);
}

/* Breadcrumb */
.breadcrumb-custom {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* Alert Styles */
.alert-custom {
    border-radius: var(--radius-md);
    border-left: 4px solid;
}

/* Or if that doesn't work, use !important */
.btn-outline-primary {
    color: #843bcb !important;
    border-color: #843bcb !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
    background-color: #843bcb !important;
    border-color: #843bcb !important;
}
.history-btn{
    background: white !important;
    color: #843bcb !important;
    border: 2px solid #843bcb !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
    
}

.history-btn:hover {
    background: #843bcb !important;
    color: #843bcb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Add these to your CSS file */

/* Custom outline button with black color scheme */
.btn-outline-black {
    border: 2px solid #843bcb!important;
    color: var(--property-primary);
    background: transparent;
    border-radius: var(--property-radius);
    transition: var(--property-transition);
}

.btn-outline-black:hover,
.btn-outline-black:focus,
.btn-outline-black:active,
.btn-outline-black.show,
.btn-outline-black.active {
    background: var(--property-primary) !important;
    color: white !important;
    border-color: var(--property-primary) !important;
    box-shadow: none !important;
}

/* For the dropdown toggle specifically */
.btn-outline-black.dropdown-toggle::after {
    border-top-color: var(--property-primary);
}

.btn-outline-black:hover.dropdown-toggle::after {
    border-top-color: white;
}

/* Remove any Bootstrap primary color overrides */
.btn-outline-primary {
    --bs-btn-color: var(--property-primary);
    --bs-btn-border-color: var(--property-primary);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--property-primary);
    --bs-btn-hover-border-color: var(--property-primary);
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: var(--property-primary);
    --bs-btn-active-border-color: var(--property-primary);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--property-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--property-primary);
    --bs-gradient: none;
}
/* Add to your existing app.css or create dashboard-specific styles */

/* Dashboard Variables */
.dashboard-page {
    --dashboard-bg: #f8f9fa;
    --card-bg: #ffffff;
    --card-border: #e9ecef;
    --card-hover-border: #000000;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --accent-gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-quick: all 0.2s ease;
}

/* Dashboard Container */
.dashboard-page {
    background: var(--dashboard-bg);
    min-height: calc(100vh - 76px);
}

/* Welcome Header Animation */
.dashboard-page .welcome-header {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Avatar Animation */
.dashboard-page .rounded-circle.bg-light {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dashboard-page .rounded-circle.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-page .rounded-circle.bg-light:hover::before {
    opacity: 0.1;
}

.dashboard-page .rounded-circle.bg-light:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Stats Cards */
.dashboard-page .stats-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.dashboard-page .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gradient);
    transition: height 0.3s ease;
    z-index: 2;
}

.dashboard-page .stats-card:hover::before {
    height: 100%;
}

.dashboard-page .stats-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dashboard-page .stats-card .rounded-circle {
    transition: var(--transition-smooth);
}

.dashboard-page .stats-card:hover .rounded-circle {
    transform: scale(1.1);
    background: var(--accent-gradient) !important;
}

.dashboard-page .stats-card:hover .rounded-circle i {
    color: white !important;
}

/* Coins Card Special Styling */
.dashboard-page .coins-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: none;
    color: white;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    }
}

.dashboard-page .coins-card .rounded-circle {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

/* Main Content Card */
.dashboard-page .main-content-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.dashboard-page .main-content-card:hover {
    box-shadow: var(--shadow-md);
}

/* Enhanced Tabs */
.dashboard-page .nav-tabs-custom {
    background: transparent;
    border: none;
    gap: 8px;
    padding: 8px 0;
}

.dashboard-page .nav-tabs-custom .nav-link {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-weight: 500;
    background: transparent;
    transition: var(--transition-quick);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-page .nav-tabs-custom .nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--card-border);
}

.dashboard-page .nav-tabs-custom .nav-link.active {
    background: white;
    color: var(--text-primary);
    border-color: var(--card-hover-border);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.dashboard-page .nav-tabs-custom .nav-link i {
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.dashboard-page .nav-tabs-custom .nav-link:hover i {
    transform: scale(1.1);
}

/* Tab Content Animation */
.dashboard-page .tab-pane {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Tables */
.dashboard-page .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.02);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.03);
}

.dashboard-page .table thead th {
    border: none;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.02);
}

.dashboard-page .table tbody td {
    padding: 20px 24px;
    vertical-align: middle;
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-quick);
}

.dashboard-page .table tbody tr {
    transition: var(--transition-quick);
}

.dashboard-page .table tbody tr:hover td {
    background: rgba(0, 0, 0, 0.01);
}

.dashboard-page .table tbody tr:last-child td {
    border-bottom: none;
}

/* Badge Enhancements */
.dashboard-page .badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.85em;
    transition: var(--transition-quick);
}

.dashboard-page .badge.bg-dark {
    background: var(--accent-gradient) !important;
}

.dashboard-page .badge.bg-light {
    border: 1px solid var(--card-border);
}

.dashboard-page .badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Button Enhancements */
.dashboard-page .btn-custom-primary {
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dashboard-page .btn-custom-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dashboard-page .btn-custom-primary:hover::before {
    width: 300px;
    height: 300px;
}

.dashboard-page .btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dashboard-page .btn-custom-outline {
    border: 2px solid var(--card-hover-border);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.dashboard-page .btn-custom-outline:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Alert Cards */
.dashboard-page .alert-custom {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: white;
    padding: 24px;
    transition: var(--transition-quick);
}

.dashboard-page .alert-custom:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dashboard-page .alert-custom i {
    transition: transform 0.3s ease;
}

.dashboard-page .alert-custom:hover i {
    transform: scale(1.1);
}

/* Service Cards Grid */
.dashboard-page .service-card {
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dashboard-page .service-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dashboard-page .service-card .card-body {
    padding: 24px;
}

/* Timeline Animation */
.dashboard-page .timeline {
    position: relative;
    padding-left: 32px;
}

.dashboard-page .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--card-border), transparent);
}

.dashboard-page .timeline-item {
    position: relative;
    margin-bottom: 24px;
    animation: slideInRight 0.4s ease-out;
    animation-fill-mode: both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-page .timeline-marker {
    position: absolute;
    left: -32px;
    top: 24px;
    z-index: 2;
}

.dashboard-page .marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--card-hover-border);
    transition: var(--transition-quick);
}

.dashboard-page .timeline-item:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--card-hover-border);
}

/* Coins Badge Animation */
.dashboard-page .coins-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--card-border);
    transition: var(--transition-quick);
}

.dashboard-page .coins-badge:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

/* Empty State Animation */
.dashboard-page .empty-state {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-page .nav-tabs-custom .nav-link {
        padding: 10px 16px;
        font-size: 0.9em;
    }
    
    .dashboard-page .stats-card {
        margin-bottom: 16px;
    }
    
    .dashboard-page .table {
        font-size: 0.9em;
    }
    
    .dashboard-page .btn-custom-primary {
        padding: 10px 20px;
    }
    
    .dashboard-page .timeline {
        padding-left: 24px;
    }
    
    .dashboard-page .timeline-marker {
        left: -24px;
    }
}

@media (max-width: 576px) {
    .dashboard-page .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start !important;
    }
    
    .dashboard-page .nav-tabs-custom {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
    
    .dashboard-page .nav-tabs-custom .nav-link {
        white-space: nowrap;
    }
    .action-btn-confirm{
        flex-direction: column !important;
    }
}

/* Loading Skeletons */
.dashboard-page .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Hover Effects for Interactive Elements */
.dashboard-page .interactive-item {
    cursor: pointer;
    transition: var(--transition-quick);
}

.dashboard-page .interactive-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Custom Scrollbar for Dashboard */
.dashboard-page ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dashboard-page ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 3px;
}

.dashboard-page ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.dashboard-page ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Focus States */
.dashboard-page *:focus {
    outline: 2px solid var(--card-hover-border);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .dashboard-page {
        background: white !important;
    }
    
    .dashboard-page .card,
    .dashboard-page .stats-card,
    .dashboard-page .main-content-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .dashboard-page .btn,
    .dashboard-page .nav-tabs-custom {
        display: none !important;
    }
}

.footer-bg{
background: linear-gradient(135deg, #6f3aa6 0%, #58268d 50%, #421c6b 100%);
}

/* ============================= */
/* MOBILE NAVBAR INTERACTIONS */
/* ============================= */

@media (max-width: 991.98px) {

    /* Collapse container background */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px);
        border-radius: 14px;
        margin-top: 10px;
        padding: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    /* Nav links base */
    .navbar .nav-link {
        border-radius: 12px;
        padding: 12px 14px !important;
        font-weight: 600;
        color: #502a75 !important;
        transition: 
            background-color 0.25s ease,
            color 0.25s ease,
            transform 0.15s ease;
    }

    /* Hover (finger hover simulation) */
    .navbar .nav-link:hover {
        background: rgba(132, 59, 203, 0.08);
        color: #843bcb !important;
        transform: translateX(4px);
    }

    /* Active (current page) */
    .navbar .nav-link.active {
        background: linear-gradient(
            135deg,
            rgba(132, 59, 203, 0.18),
            rgba(132, 59, 203, 0.08)
        );
        color: #843bcb !important;
        font-weight: 700;
    }

    /* Tap / Click feedback */
    .navbar .nav-link:active {
        transform: scale(0.97);
        background: rgba(132, 59, 203, 0.25);
    }

    /* Remove desktop underline logic */
    .nav-link.active::after {
        display: none !important;
    }

    /* Mobile dropdown button */
    .navbar .btn-outline-black {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        padding: 12px;
        transition: background-color 0.25s ease, transform 0.15s ease;
    }

    .navbar .btn-outline-black:active {
        transform: scale(0.97);
    }

    /* Coins button on mobile */
    .navbar .btn-warning {
        width: 100%;
        justify-content: center;
        border-radius: 12px; nj
    } 

    /* Remove ugly mobile tap highlight */
    .navbar a,
    .navbar button {
        -webkit-tap-highlight-color: transparent;
    }
}
/* ===================================== */
/* MOBILE COMPACT MODE – AMAZON STYLE */
/* ===================================== */

@media (max-width: 768px) {

    /* ---------- GLOBAL TEXT SCALE ---------- */
    body {
        font-size: 14px;
        line-height: 1.45;
    }

    h1 { font-size: 1.9rem !important; margin-bottom: 0.75rem; }
    h2 { font-size: 1.55rem !important; margin-bottom: 0.75rem; }
    h3 { font-size: 1.35rem !important; }
    h4 { font-size: 1.2rem !important; }
    h5 { font-size: 1.05rem !important; }
    h6 { font-size: 0.95rem !important; }

    .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }

    p {
        margin-bottom: 0.6rem;
    }

    /* ---------- SECTION SPACING ---------- */
    section {
        padding: 2rem 0 !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* ---------- HERO SECTION ---------- */
    .hero-section {
        min-height: auto !important;
        padding: 3rem 0 2rem !important;
    }

    .hero-title {
        margin-top: 0 !important;
    }

    .hero-section .badge {
        margin-bottom: 1rem !important;
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-section .d-flex.gap-3 {
        margin-top: 1.5rem !important;
        gap: 0.75rem !important;
    }

    .hero-section .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }

    /* ---------- CARDS (SERVICES, TESTIMONIALS) ---------- */
    .card-body {
        padding: 1rem !important;
    }

    .hover-card .icon-box {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem !important;
        font-size: 1.2rem;
    }

    .hover-card .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hover-card .card-text {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    /* ---------- GRID DENSITY ---------- */
    .row.g-4 {
        --bs-gutter-y: 0.75rem;
        --bs-gutter-x: 0.75rem;
    }

    /* ---------- STATS SECTION ---------- */
    .bg-primary.text-white .display-3 {
        font-size: 1.75rem !important;
    }

    .bg-primary.text-white p {
        font-size: 0.85rem !important;
    }

    /* ---------- ICON SECTIONS ---------- */
    .icon-circle {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* ---------- HOW IT WORKS ---------- */
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem !important;
    }

    /* ---------- BUTTONS ---------- */
    .btn,
    .btn-lg {
        padding: 0.55rem 0.9rem !important;
        font-size: 0.9rem !important;
    }

    /* ---------- FORMS ---------- */
    .form-control,
    .form-select {
        padding: 0.55rem 0.65rem !important;
        font-size: 0.9rem;
    }

    .form-floating > label {
        font-size: 0.75rem;
    }

    /* ---------- CONTACT SECTION ---------- */
    #contact-section .card-body {
        padding: 1.25rem !important;
    }

    textarea.form-control {
        height: 120px !important;
    }

    /* ---------- FOOTER ---------- */
    footer {
        padding: 2rem 0 1rem !important;
    }

    footer h4,
    footer h5 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem;
    }

    footer p,
    footer li,
    footer a {
        font-size: 0.85rem !important;
    }
}

/* EXTRA COMPACT FOR VERY SMALL SCREENS */
@media (max-width: 576px) {

    h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.45rem !important; }

    .hero-section {
        padding: 2.5rem 0 1.5rem !important;
    }

    .card-body {
        padding: 0.85rem !important;
    }
}
/* ================================================= */
/* RTO INDEX – COMPACT MODE (SAFE OVERRIDES) */
/* ================================================= */

@media (max-width: 768px) {

.rto-index-compact {

  /* ---------- GLOBAL TEXT ---------- */
  font-size: 14px;
}

.rto-index-compact h1 {
  font-size: 1.75rem !important;
  margin-bottom: 0.75rem !important;
}

.rto-index-compact h2 {
  font-size: 1.5rem !important;
  margin-bottom: 0.75rem !important;
}

.rto-index-compact .lead {
  font-size: 0.95rem !important;
  margin-bottom: 1.25rem !important;
}

/* ---------- HERO SECTION ---------- */
.rto-index-compact .hero-section {
  min-height: auto !important;
  padding: 2.5rem 0 2rem !important;
}

.rto-index-compact .hero-section .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem !important;
}

.rto-index-compact .hero-section .btn-lg {
  padding: 0.7rem 1rem !important;
  font-size: 0.9rem;
}

/* ---------- SECTION SPACING ---------- */
.rto-index-compact .py-6 {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.rto-index-compact .mb-6 {
  margin-bottom: 2rem !important;
}

/* ---------- HOW IT WORKS ---------- */
.rto-index-compact .step-card {
  padding: 1rem !important;
}

.rto-index-compact .step-number {
  width: 44px !important;
  height: 44px !important;
  font-size: 1.1rem !important;
  margin-bottom: 0.75rem !important;
}

/* ---------- SERVICES CARD ---------- */
.rto-index-compact .service-card .card-body {
  padding: 1.25rem !important;
}

.rto-index-compact .service-card h3 {
  font-size: 1.1rem !important;
}

.rto-index-compact .service-card p {
  font-size: 0.9rem;
}

.rto-index-compact .service-icon {
  width: 44px !important;
  height: 44px !important;
}

.rto-index-compact .service-card ul li {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

/* ---------- BUTTON STACK ---------- */
.rto-index-compact .service-card .d-flex.gap-3 {
  gap: 0.5rem !important;
}

.rto-index-compact .service-card .btn {
  padding: 0.65rem 1rem !important;
  font-size: 0.9rem;
}

/* ---------- BENEFITS ---------- */
.rto-index-compact .benefit-card {
  padding: 1.25rem !important;
}

.rto-index-compact .benefit-icon {
  width: 52px !important;
  height: 52px !important;
}

/* ---------- STATS ---------- */
.rto-index-compact .bg-primary .display-3 {
  font-size: 2rem !important;
  margin-bottom: 0.25rem !important;
}

/* ---------- FAQ ---------- */
.rto-index-compact .accordion-button {
  padding: 0.85rem 1rem !important;
  font-size: 0.9rem;
}

.rto-index-compact .accordion-body {
  padding: 1rem !important;
}

/* ---------- DISCLAIMER ---------- */
.rto-index-compact .card-body.p-5 {
  padding: 1.25rem !important;
}

}
/* ================================================= */
/* PROPERTY MODULE – MOBILE COMPACT MODE */
/* ================================================= */

@media (max-width: 768px) {

  /* ---------- GLOBAL TEXT ---------- */
  .property-index-compact,
  .property-show-compact,
  .property-create-compact {
    font-size: 14px;
    line-height: 1.45;
  }

  h1 { font-size: 1.7rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.3rem !important; }
  h4 { font-size: 1.15rem !important; }
  h5 { font-size: 1.05rem !important; }
  h6 { font-size: 0.95rem !important; }

  p { margin-bottom: 0.5rem !important; }

  /* ---------- HERO / PAGE HEADERS ---------- */
  .property-index-compact [style*="min-height: 100vh"] {
    min-height: auto !important;
    padding-top: 60px !important;
  }

  .property-index-compact .py-5,
  .property-show-compact .py-5,
  .property-create-compact .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* ---------- FILTER / SEARCH CARD ---------- */
  .property-index-compact .card-body.p-4 {
    padding: 1.25rem !important;
  }

  .property-index-compact .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem !important;
  }

  .property-index-compact .form-control,
  .property-index-compact .form-select {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }

  /* ---------- PROPERTY CARDS ---------- */
  .property-index-compact .property-card .card-body {
    padding: 1.1rem !important;
  }

  .property-index-compact .property-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .property-index-compact .property-card .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  .property-index-compact .property-card .card-footer {
    padding: 0 1.1rem 1.1rem !important;
  }

  .property-index-compact .row.g-4 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
  }

  /* ---------- PROPERTY SHOW PAGE ---------- */
  .property-show-compact .card-body {
    padding: 1.25rem !important;
  }

  .property-show-compact .main-image img {
    height: 260px !important;
  }

  .property-show-compact .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  .property-show-compact .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .property-show-compact .nav-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  /* ---------- PROPERTY CREATE FORM ---------- */
  .property-create-compact .card-body {
    padding: 1.25rem !important;
  }

  .property-create-compact .mb-5 {
    margin-bottom: 2rem !important;
  }

  .property-create-compact .form-group {
    margin-bottom: 1rem !important;
  }

  .property-create-compact textarea.form-control {
    min-height: 100px;
  }

  .property-create-compact .upload-card .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .property-create-compact .btn-lg {
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
  }

   .property-index-compact .vehicle-card .card-body {
    padding: 1.1rem !important;
  }

  .property-index-compact .vehicle-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .property-index-compact .vehicle-card .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  .property-index-compact .vehicle-card .card-footer {
    padding: 0 1.1rem 1.1rem !important;
  }
}

/* EXTRA COMPACT FOR VERY SMALL SCREENS */
@media (max-width: 576px) {

  h1 { font-size: 1.55rem !important; }
  h2 { font-size: 1.35rem !important; }

  .property-show-compact .main-image img {
    height: 220px !important;
  }
}


/* ================================================= */
/* REWARDS PAGE – MOBILE COMPACT MODE */
/* ================================================= */

@media (max-width: 768px) {

  .rewards-compact {
    font-size: 14px;
    line-height: 1.45;
  }

  /* ---------- HERO / HEADER ---------- */
  .rewards-compact [style*="min-height: 100vh"] {
    min-height: auto !important;
    padding-top: 60px !important;
  }

  .rewards-compact .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .rewards-compact h1 {
    font-size: 1.6rem !important;
  }

  .rewards-compact p {
    margin-bottom: 0.5rem !important;
  }

  /* ---------- BALANCE BADGE ---------- */
  .rewards-compact .coins-badge {
    padding: 0.75rem 1rem !important;
  }

  .rewards-compact .coins-badge .fs-5 {
    font-size: 1rem !important;
  }

  /* ---------- CARDS GLOBAL ---------- */
  .rewards-compact .card-body {
    padding: 1.25rem !important;
  }

  .rewards-compact .card-header {
    padding: 1rem 1.25rem !important;
  }

  .rewards-compact .mb-4 {
    margin-bottom: 1.25rem !important;
  }

  /* ---------- EARN CARDS ---------- */
  .rewards-compact .earn-card {
    padding: 1.25rem !important;
  }

  .rewards-compact .icon-wrapper {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 0.75rem !important;
  }

  .rewards-compact .icon-wrapper i {
    font-size: 1.4rem !important;
  }

  .rewards-compact .earn-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.4rem !important;
  }

  .rewards-compact .coin-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem !important;
  }

  /* Reduce grid gaps */
  .rewards-compact .row.g-4 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
  }

  /* ---------- HOW TO USE ---------- */
  .rewards-compact .info-alert {
    padding: 0.75rem !important;
  }

  .rewards-compact .alert-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .rewards-compact .alert-icon i {
    font-size: 1rem !important;
  }

  /* ---------- SERVICE ITEMS ---------- */
  .rewards-compact .service-item {
    padding: 0.75rem !important;
  }

  .rewards-compact .service-item .fw-bold {
    font-size: 0.95rem;
  }

  /* ---------- RULES LIST ---------- */
  .rewards-compact .rules-list li {
    font-size: 0.85rem;
    margin-bottom: 0.4rem !important;
  }

  /* ---------- QUICK ACTIONS ---------- */
  .rewards-compact .action-btn,
  .rewards-compact .history-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem;
  }

  .rewards-compact .action-btn i,
  .rewards-compact .history-btn i {
    font-size: 1rem !important;
  }
}

/* EXTRA COMPACT FOR SMALL PHONES */
@media (max-width: 576px) {

  .rewards-compact h1 {
    font-size: 1.45rem !important;
  }

  .rewards-compact .icon-wrapper {
    width: 48px !important;
    height: 48px !important;
  }

  .rewards-compact .earn-card {
    padding: 1rem !important;
  }
}
@media (max-width: 768px) {

  /* Section headings */
  .display-5 {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* Section subtitles */
  section .lead {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }

}

