/* PermitKermit.com - Brighton Visitor Permit Exchange */

:root {
    --primary-green: #1fa637;
    --accent-green: #1a8f2f;
    --light-green: #f0f7f2;
    --dark-green: #157426;
    --brighton-blue: #1e88e5;
    --brighton-yellow: #ffd54f;
    --text-dark: #21303e;
    --text-light: #696969;
    --text-muted: #9ca3af;
    --background: #ffffff;
    --section-background: #f8f8f8;
    --card-shadow: 0 2px 4px rgba(0,0,0,0.08);
    --border-radius: 4px;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
    font-weight: 400;
    padding-top: 72px; /* Account for fixed navbar */
}

/* Mobile optimizations */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Smaller navbar on mobile */
        font-size: 14px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    /* Search box mobile adjustments */
    .search-box {
        margin: 1rem 0;
        border-radius: 6px;
    }
    
    .search-tabs {
        flex-direction: column;
    }
    
    .search-tab {
        padding: 0.75rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .search-form .row {
        margin: 0;
    }
    
    .search-form .col-md-3,
    .search-form .col-md-6 {
        padding: 0.25rem;
    }
    
    /* Zone grid mobile adjustments */
    .zone-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.5rem;
    }
    
    .zone-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Features section mobile adjustments */
    .features-section .row {
        text-align: center;
    }
    
    .features-section .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* How it works section mobile adjustments */
    .how-it-works .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .step-number {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin: 0 auto 1rem;
    }
    
    /* Trustpilot section mobile adjustments */
    .trustpilot-section .col-md-8 {
        text-align: center;
    }
    
    .trustpilot-stars {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    /* Footer mobile adjustments */
    .footer .row {
        text-align: center;
    }
    
    .footer .col-md-3 {
        margin-bottom: 2rem;
    }
    
    .footer ul {
        padding-left: 0;
    }
    
    /* Form elements mobile adjustments */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Card mobile adjustments */
    .card {
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    /* Registration form mobile adjustments */
    .registration-form .form-group {
        margin-bottom: 1rem;
    }
    
    .registration-form label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    /* Dashboard mobile adjustments */
    .dashboard-stats .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .dashboard-stats .card {
        text-align: center;
    }
    
    /* Admin panel mobile adjustments */
    .table-responsive {
        border-radius: 8px;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .badge {
        font-size: 0.75rem;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .zone-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .features-section .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border-bottom: none;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.625rem;
    font-weight: 600;
    text-decoration: none;
    font-style: normal;
    letter-spacing: -0.5px;
    display: inline-block;
}

.navbar-nav .nav-link {
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 0 0.25rem;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    background: var(--light-green);
    color: var(--text-dark) !important;
}

/* Mobile navbar styling */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background: transparent;
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }
}

.frog-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    padding: 2rem;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 0;
    margin: 2rem 0;
    border: 1px solid #e5e5e5;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.search-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.search-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.search-tab-icon {
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--primary-green);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form {
    padding: 1.5rem;
}

.search-input-group {
    margin-bottom: 1rem;
    position: relative;
}

.search-input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-input, .search-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.search-input:focus, .search-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    margin-top: 0.75rem;
}

.search-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-row .search-input-group {
    flex: 1;
}

.search-button {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background: var(--accent-green);
}

/* Permits Carousel */
.permits-carousel {
    padding: 2rem 0;
}

.permits-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) #f1f1f1;
}

.permits-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.permits-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.permits-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
}

.permits-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* Permit Cards */
.permit-card-featured {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #e5e5e5;
}

.permit-card-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.permit-zone-icon {
    flex-shrink: 0;
}

.permit-info {
    flex: 1;
}

.permit-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.permit-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
}

.price-duration {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

.permit-availability {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Zones Grid */
.zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.zone-mini {
    width: 48px;
    height: 48px;
    border: 2px solid var(--primary-green);
    background: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-green);
    cursor: pointer;
    transition: all 0.2s ease;
}

.zone-mini:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.05);
}

/* Trustpilot Section */
.trustpilot-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trustpilot-rating {
    margin-bottom: 2rem;
}

.stars {
    margin-bottom: 0.5rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.trustpilot-reviews {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.review-item {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: var(--section-background);
    border-radius: 8px;
    border-left: 4px solid #00b67a;
}

.review-item p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.review-author {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* App Section */
.app-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-badge:hover {
    transform: scale(1.05);
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Hero Section with Image */
.hero-with-image {
    background: white;
    padding: 4rem 0;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-left-content {
    flex: 1;
    padding: 2rem 3rem 2rem 0;
    max-width: 600px;
}

.hero-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    gap: 0.5rem;
}

.hero-subtext {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-right-image {
    flex: 1.2;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-photo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hero-photo {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: none;
    object-fit: cover;
    width: 500px;
    height: 500px;
    margin-bottom: 1rem;
}

.hero-photo-caption {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    margin: 0;
    max-width: 400px;
    line-height: 1.4;
}

.car-illustration {
    width: 100%;
    height: 100%;
    max-width: 600px;
}

/* Modern Search Box */
.search-box-modern {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 500px;
}

.search-tabs-modern {
    display: flex;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.search-tabs-modern .search-tab-modern:nth-child(3) {
    display: none; /* Hide airport tab */
}

.search-tab-modern {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.search-tab-modern.active {
    background: white;
    color: var(--primary-green);
}

.search-tab-modern.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
}

.search-form-modern {
    padding: 1.5rem;
}

.search-location {
    margin-bottom: 1rem;
    position: relative;
}

.search-location label,
.search-date label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-input-modern {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--primary-green);
}

.search-icon-modern {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    margin-top: 0.75rem;
}

.search-dates {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-date {
    flex: 1;
}

.search-select-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.search-select-modern:focus {
    outline: none;
    border-color: var(--primary-green);
}

.search-button-modern {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.search-button-modern:hover {
    background: #1a8f35;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .hero-right-image {
        height: 400px;
        order: -1;
    }
    
    .hero-photo {
        width: 300px;
        height: 300px;
    }
    
    .hero-title-new {
        font-size: 2rem;
    }
    
    .search-box-modern {
        max-width: 100%;
    }
}

/* Keep old hero styles for other pages */
.hero {
    background: white;
    color: var(--text-dark);
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero .subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-hero {
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    margin: 0 8px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-hero:hover {
    background: var(--accent-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
    color: white;
}

.btn-hero.btn-outline {
    background: transparent !important;
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green) !important;
}

.btn-hero.btn-outline:hover {
    background: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
}

/* CTA Buttons on Green Background */
.btn-cta {
    background: white !important;
    color: var(--primary-green) !important;
    border: none !important;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    margin: 0 8px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    margin: 0 8px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: white !important;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.card-header {
    background: linear-gradient(135deg, var(--light-green), #f1f8e9);
    border-bottom: 2px solid var(--accent-green);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
}

.card-body {
    padding: 2rem;
}

/* Zone Cards */
.zone-card {
    background: linear-gradient(135deg, var(--light-green), white);
    border-left: 4px solid var(--accent-green);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.zone-card:hover {
    background: linear-gradient(135deg, #e0f2f1, white);
    border-left-color: var(--primary-green);
}

/* Forms */
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.form-check-label {
    color: var(--text-dark);
}

/* Buttons */
.btn-primary {
    background: var(--primary-green);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: white;
}

.btn-primary:hover {
    background: var(--accent-green);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    color: white !important;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: var(--light-green);
    color: var(--primary-green);
    border-left: 4px solid var(--accent-green);
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* User Type Toggle */
.user-type-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.user-type-option {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.user-type-option.active {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.user-type-option:hover:not(.active) {
    background: var(--light-green);
}

/* Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.user-info {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.user-badge {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.user-badge.seller {
    background: var(--brighton-blue);
}

/* Admin Panel */
.admin-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.admin-filters {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.user-table {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table th {
    background: var(--light-green);
    color: var(--primary-green);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* How It Works Section */
.how-it-works {
    background: white;
    padding: 60px 0;
}

.step-card {
    padding: 2rem 1rem;
    height: 100%;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
}

.step-icon {
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--primary-green);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Trust Section */
.trust-section {
    background: var(--light-green);
    padding: 80px 0;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero {
        display: block;
        margin: 8px auto;
        width: 100%;
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .user-type-toggle {
        flex-direction: column;
    }
    
    .user-type-option {
        margin-bottom: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .hero-image {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .search-box {
        margin: 1rem 0;
    }
    
    .search-row {
        flex-direction: column;
        gap: 0;
    }
    
    .trustpilot-reviews {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-item {
        min-width: auto;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .app-mockup svg {
        width: 250px;
        height: 333px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: var(--accent-green);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--accent-green);
}

/* Collapsible Content */
.collapse-toggle {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.collapse-toggle:hover {
    color: var(--accent-green);
}

.collapse-toggle::after {
    content: '▼';
    float: right;
    transition: transform 0.3s ease;
}

.collapse-toggle.collapsed::after {
    transform: rotate(-90deg);
}

/* Permit Cards */
.permit-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.permit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-green);
}

.permit-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.permit-card .badge {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Permit Pricing */
.permit-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.permit-pricing:last-child {
    border-bottom: none;
}

/* Status Indicators */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background: var(--accent-green);
}

.status-pending {
    background: var(--brighton-yellow);
}

.status-inactive {
    background: #dc3545;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-green) !important;
}

.text-accent {
    color: var(--accent-green) !important;
}

.bg-light-green {
    background-color: var(--light-green) !important;
}

.border-accent {
    border-color: var(--accent-green) !important;
}

.shadow-soft {
    box-shadow: var(--card-shadow) !important;
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}
