html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Native App Mode - Hide browser UI elements and optimize viewport */
html.native-app,
body.native-app {
    /* Use custom viewport height variable to account for hidden address bar */
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure full viewport usage in native app mode */
.native-app #app {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Hide any browser chrome indicators in native mode */
.native-app .browser-chrome,
.native-app .address-bar {
    display: none !important;
}

/* Ensure native app content is perfectly centered */
.native-app .main-content,
.native-app .page-content,
.native-app .app-header {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Native app mobile centering - LinkedIn standard */
@media (max-width: 768px) {
    .native-app .page-content {
        padding: 1rem !important;
    }
    
    .native-app .header-left,
    .native-app .header-right {
        padding: 1rem 1rem !important;
    }
}

/* ============================================
   LINKEDIN-LEVEL CENTERING SYSTEM
   Professional, perfectly centered content
   ============================================ */

/* Global container system - LinkedIn-style */
.container-centered {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Mobile-first responsive padding */
@media (min-width: 768px) {
    .container-centered {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .container-centered {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Ensure body and html are properly set up */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Center all page content */
.page-content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Center header content - LinkedIn-level alignment */
.app-header {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header-left {
    flex: 1;
    min-width: 0; /* Allow flex shrinking */
}

.header-right {
    flex-shrink: 0;
}

/* Mobile header padding - LinkedIn standard (16px) - Must come before other mobile rules */
@media (max-width: 768px) {
    .app-header {
        padding: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-left {
        padding: 1rem 1rem !important;
        width: 100%;
        box-sizing: border-box;
        flex: 1;
        min-width: 0;
    }
    
    .header-right {
        padding: 1rem 1rem !important;
        width: auto;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    .page-content {
        padding: 1rem !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Center all content containers on mobile - LinkedIn standard */
    .services-page,
    .login-page-wrapper,
    .register-page-wrapper,
    .onboarding-page-wrapper,
    .homepage-hero,
    .hero-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Center hero content on mobile */
    .hero-content {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Ensure all cards and containers are centered */
    .enterprise-card,
    .search-card-refined,
    .login-card-refined,
    .register-card-refined {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Desktop header padding */
@media (min-width: 768px) {
    .header-left {
        padding: 1rem 2rem;
    }
    
    .header-right {
        padding: 1rem 2rem;
    }
    
    .page-content {
        padding: 2rem;
    }
}

/* Large desktop header padding */
@media (min-width: 1200px) {
    .header-left {
        padding: 1rem 3rem;
    }
    
    .header-right {
        padding: 1rem 3rem;
    }
    
    .page-content {
        padding: 2rem 3rem;
    }
}

/* Password Toggle Styles */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group .form-input {
    padding-right: 50px; /* Make room for the toggle button */
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.password-toggle:hover {
    color: #495057;
    background-color: #f8f9fa;
}

.password-toggle:focus {
    outline: none;
    color: #007bff;
    background-color: #e7f3ff;
}

.password-toggle i {
    font-size: 16px;
}

/* Enhanced Onboarding Steps */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    padding: 0 10px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(50% + 25px);
    right: calc(-50% + 25px);
    height: 3px;
    background: linear-gradient(90deg, #e9ecef 0%, #e9ecef 100%);
    z-index: 1;
    border-radius: 2px;
}

.step.active:not(:last-child)::after {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.step.completed:not(:last-child)::after {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step.active .step-number {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 20px;
    font-weight: bold;
}

.step-label {
    margin-top: 12px;
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #28a745;
    font-weight: 700;
    transform: translateY(-2px);
}

.step.completed .step-label {
    color: #28a745;
    font-weight: 600;
}

.step-content {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.step-content h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.step-content .text-muted {
    color: #6c757d !important;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Enhanced Form Styles */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    background: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.btn-primary:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Enhanced Card Styles */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 2rem;
    text-align: center;
}

.card-header h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-header .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
}

/* Category and Skill Chips */
.category-chip, .skill-chip {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-chip:hover, .skill-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.category-chip.selected, .skill-chip.selected {
    background: white;
    color: #28a745;
    border-color: #28a745;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-content {
        padding: 1.5rem;
        margin-top: 2rem;
        min-height: auto;
        overflow: visible;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

h1:focus {
    outline: none;
}

.native-app .step-content {
    min-height: auto;
    overflow: visible;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== COMPLETE STEP ENHANCED STYLES ===== */

/* Completion Header */
.completion-header {
    margin-bottom: 3rem;
}

.completion-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.completion-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.completion-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Loading States */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-animation {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.loading-description {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Profile Summary Card */
.profile-summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.profile-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.profile-location {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.profile-rate {
    text-align: right;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rate-amount {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.rate-period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.profile-details {
    padding: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.bio-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    margin-bottom: 0;
}

/* Terms and Conditions Card */
.terms-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.terms-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.terms-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.terms-subtitle {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1rem;
}

.terms-content {
    padding: 2rem;
}

.terms-item {
    margin-bottom: 1.5rem;
}

.terms-item:last-child {
    margin-bottom: 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Deprecated duplicate checkbox styles removed to avoid double icons */

.terms-text {
    flex: 1;
}

.terms-link {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #20c997;
    text-decoration: underline;
}

/* Error Alert */
.error-alert {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 180px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-complete {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-complete:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.btn-complete:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .completion-title {
        font-size: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-rate {
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        min-width: auto;
    }
    
    .terms-checkbox {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .checkmark {
        align-self: flex-start;
    }
}

/* ===== PROFESSIONAL DASHBOARD STYLES ===== */

.pro-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.header-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.header-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.header-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

/* Loading Container */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loading-container h3 {
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.loading-container p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Metrics Row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.metric-card.earnings::before {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.metric-card.balance::before {
    background: linear-gradient(90deg, #2196F3 0%, #1976D2 100%);
}

.metric-card.bookings::before {
    background: linear-gradient(90deg, #FF9800 0%, #F57C00 100%);
}

.metric-card.rating::before {
    background: linear-gradient(90deg, #9C27B0 0%, #7B1FA2 100%);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.metric-card.earnings .metric-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.metric-card.balance .metric-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.metric-card.bookings .metric-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.metric-card.rating .metric-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.metric-change.positive {
    color: #28a745;
}

.metric-change i {
    font-size: 0.8rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Panel Styles */
.panel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.panel:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.panel-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.panel-header p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.panel-content {
    padding: 2rem;
}

/* Quick Actions Panel */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #495057;
}

.action-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.action-btn.primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

.action-btn.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.action-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

.action-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Activity Panel */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: #28a745;
}

.activity-icon.info {
    background: #17a2b8;
}

.activity-icon.warning {
    background: #ffc107;
    color: #212529;
}

.activity-icon.error {
    background: #dc3545;
}

.activity-icon.default {
    background: #6c757d;
}

.activity-content {
    flex: 1;
}

.activity-content h5 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #adb5bd;
    font-size: 0.8rem;
}

.activity-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background: #d4edda;
    color: #155724;
}

.status-badge.info {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.warning {
    background: #fff3cd;
    color: #856404;
}

.status-badge.error {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.default {
    background: #e2e3e5;
    color: #383d41;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.empty-state h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Stats Panel */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.stat-icon.completed {
    background: #28a745;
}

.stat-icon.pending {
    background: #ffc107;
    color: #212529;
}

.stat-icon.reviews {
    background: #17a2b8;
}

.stat-icon.earnings {
    background: #6f42c1;
}

.stat-content h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 600;
}

/* Tips Panel */
.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tip-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tip-item h5 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tip-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .activity-content {
        order: 2;
    }
    
    .activity-status {
        order: 3;
    }
}

/* ===== KYC STEP ENHANCED STYLES ===== */

.kyc-step {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* KYC Header - Premium Dark Green Theme */
.kyc-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #0D4F1C 0%, #1B5E20 25%, #2E7D32 75%, #388E3C 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.kyc-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(0, 137, 123, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.kyc-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.kyc-icon {
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    font-size: 2.25rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.kyc-header:hover .kyc-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 2px 8px rgba(255, 255, 255, 0.25);
}

.kyc-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.kyc-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* KYC Loading */
.kyc-loading {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kyc-loading h3 {
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.kyc-loading p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* KYC Success */
.kyc-success {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
}

.kyc-success h3 {
    color: #28a745;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.kyc-success p {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* KYC Form Container */
.kyc-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.kyc-form-container .form-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kyc-form-container .form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
}

.kyc-form-container .form-header h3 {
    color: #1B5E20;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.kyc-form-container .form-header h3 i {
    color: #2E7D32;
    font-size: 1.4rem;
}

.kyc-form-container .form-header p {
    color: #4a5568;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.form-header p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1rem;
}

/* KYC Form */
.kyc-form {
    padding: 2rem;
}

/* Form Cards */
.form-card {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.form-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-card-title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-card-title p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.form-card-content {
    padding: 2rem;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-input,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    background: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Security Info */
.security-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e1bee7;
}

.security-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-header i {
    color: #28a745;
    font-size: 1.5rem;
}

.security-header h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.security-feature i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Error Alert */
.error-alert {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.btn-verify {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-verify:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading Spinner Small */
.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kyc-step {
        padding: 1rem;
    }
    
    .kyc-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .kyc-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

/* ===== PROFILE STEP ENHANCED STYLES ===== */

.profile-step {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Mobile: Remove width constraints and padding */
@media (max-width: 768px) {
    .mobile-onboarding-flow .profile-step,
    .mobile-onboarding-flow .kyc-step {
        max-width: 100%;
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

.native-app .profile-step,
.native-app .kyc-step {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Profile Header - Premium Dark Green Theme */
.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #0D4F1C 0%, #1B5E20 25%, #2E7D32 75%, #388E3C 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(0, 137, 123, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.profile-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.profile-icon {
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    font-size: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.profile-header:hover .profile-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 2px 8px rgba(255, 255, 255, 0.25);
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.profile-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Profile Form Container */
.profile-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

/* Mobile: Full width, no border radius */
@media (max-width: 768px) {
    .mobile-onboarding-flow .profile-form-container,
    .mobile-onboarding-flow .kyc-form-container {
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        margin: 0;
    }
}

.native-app .profile-form-container,
.native-app .kyc-form-container {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    margin: 0;
}

.profile-form-container .form-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-form-container .form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
}

.profile-form-container .form-header h3 {
    color: #1B5E20;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.profile-form-container .form-header h3 i {
    color: #2E7D32;
    font-size: 1.4rem;
}

.profile-form-container .form-header p {
    color: #4a5568;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Profile Form */
.profile-form {
    padding: 2rem;
}

/* Form Cards (reusing from KYC styles) - Premium Design */
.form-card {
    background: #ffffff;
    border-radius: 18px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.08);
}

.form-card:hover {
    box-shadow: 0 12px 32px rgba(27, 94, 32, 0.15);
    transform: translateY(-4px);
    border-color: rgba(27, 94, 32, 0.2);
}

.form-card-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.form-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.form-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-card:hover .form-card-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.form-card-title h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.form-card-title p {
    margin-bottom: 0;
    opacity: 0.95;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.form-card-content {
    padding: 2.25rem 2rem;
    background: #ffffff;
}

/* Form Layout (reusing from KYC styles) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Tips Card */
.tips-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e1bee7;
}

.tips-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tips-header i {
    color: #ffc107;
    font-size: 1.5rem;
}

.tips-header h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.tip-item i {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tip-item h5 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tip-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    gap: 2rem;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.progress-step:not(.active) .step-number {
    background: #e9ecef;
    color: #6c757d;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
}

.progress-step.active .step-label {
    color: #28a745;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
}

.btn-next {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-next:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading Spinner Small (reusing from KYC) */
.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-step {
        padding: 1rem;
    }
    
    .profile-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .profile-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .progress-indicator {
        justify-content: center;
    }
    
    .btn-next {
        width: 100%;
        min-width: auto;
    }
    
    .tips-content {
        gap: 0.75rem;
    }
    
    .tip-item {
        padding: 0.75rem;
    }
}

/* ===== CUSTOMER DASHBOARD STYLES ===== */

.customer-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

/* Loading States */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Quick Actions Row */
.quick-actions-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #28a745;
}

.action-card.primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.action-card.primary:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #28a745;
    flex-shrink: 0;
}

.action-card.primary .action-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.action-content p {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.action-arrow {
    color: #6c757d;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.action-card:hover .action-arrow {
    transform: translateX(5px);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Panel Styles */
.panel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.panel-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.panel-header p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.panel-content {
    padding: 1.5rem;
}

/* Booking List */
.booking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.booking-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.booking-icon.success { background: #28a745; }
.booking-icon.info { background: #17a2b8; }
.booking-icon.warning { background: #ffc107; }
.booking-icon.error { background: #dc3545; }
.booking-icon.default { background: #6c757d; }

.booking-content {
    flex: 1;
}

.booking-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.booking-content p {
    margin-bottom: 0.25rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.booking-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.booking-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success { background: #d4edda; color: #155724; }
.status-badge.info { background: #d1ecf1; color: #0c5460; }
.status-badge.warning { background: #fff3cd; color: #856404; }
.status-badge.error { background: #f8d7da; color: #721c24; }
.status-badge.default { background: #e2e3e5; color: #383d41; }

/* Recommendation List */
.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommendation-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.pro-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pro-info {
    flex: 1;
}

.pro-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.pro-info p {
    margin-bottom: 0.25rem;
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.pro-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #ffc107;
}

.review-count {
    color: #6c757d;
    margin-left: 0.25rem;
}

.pro-price {
    flex-shrink: 0;
    font-weight: 600;
    color: #28a745;
    font-size: 0.9rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item i {
    font-size: 1.5rem;
    color: #28a745;
}

.category-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Tips Panel */
.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item i {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.tip-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.tip-item p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* ===== ONBOARDING MOBILE EXPERIENCE ===== */
.mobile-onboarding-flow {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f5e9 60%, #fdfefd 100%);
    padding: 0;
    width: 100%;
}

.mobile-onboarding-shell {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.mobile-progress-card {
    background: #ffffff;
    border-radius: 0;
    padding: 1.5rem 1.25rem;
    border: none;
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    margin: 0;
}

.progress-pill {
    display: inline-flex;
    padding: 0.4rem 1rem;
    background: rgba(27, 94, 32, 0.08);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1B5E20;
    margin-bottom: 1rem;
}

.mobile-progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.progress-node {
    border-radius: 18px;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(17, 94, 50, 0.12);
    background: #f7faf8;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.node-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1B5E20;
    background: #ffffff;
    border: 1px solid rgba(17, 94, 50, 0.2);
    font-size: 0.9rem;
}

.node-label {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.progress-node.active {
    border-color: rgba(27, 94, 32, 0.4);
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(32, 201, 151, 0.12));
}

.progress-node.active .node-index {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(27, 94, 32, 0.25);
}

.mobile-step-stage {
    background: transparent;
    border-radius: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile-step-stage .step-content {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    min-height: auto;
    width: 100%;
}

.mobile-step-stage .profile-header,
.mobile-step-stage .kyc-header {
    border-radius: 24px;
    background: linear-gradient(135deg, #0D4F1C 0%, #1B5E20 25%, #2E7D32 75%, #388E3C 100%);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mobile-step-stage .form-header {
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1B5E20;
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    position: relative;
    overflow: hidden;
}

.mobile-step-stage .form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
}

.mobile-step-stage .form-header h3 {
    color: #1B5E20;
}

.mobile-step-stage .form-header h3 i {
    color: #2E7D32;
}

.mobile-step-stage .form-header p {
    color: #4a5568;
}

.mobile-step-stage .form-card,
.mobile-step-stage .tips-card,
.mobile-step-stage .terms-card,
.mobile-step-stage .profile-summary-card {
    background: #ffffff;
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.08);
    border-radius: 18px;
}

.mobile-step-stage .form-card-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    border-bottom: none;
    color: #ffffff;
}

.mobile-step-stage .form-card-title p {
    color: rgba(255, 255, 255, 0.95);
}

.mobile-step-stage .form-header p,
.mobile-step-stage .terms-subtitle {
    color: #4a5568;
}

.mobile-step-stage .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-step-stage .terms-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
}

.mobile-step-stage .terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(15, 97, 46, 0.04);
    border-radius: 16px;
    padding: 1rem;
}

.mobile-step-stage .terms-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 0.25rem;
}

.mobile-step-stage .terms-text {
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1.5;
}

.mobile-step-stage .action-buttons,
.mobile-step-stage .form-actions {
    position: sticky;
    bottom: 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #f5f7fa 55%, #f5f7fa 100%);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-step-stage .action-buttons .btn,
.mobile-step-stage .form-actions .btn {
    width: 100%;
    border-radius: 16px;
    padding: 1rem;
    font-size: 1rem;
}

.mobile-step-stage .action-buttons .btn-primary,
.mobile-step-stage .form-actions .btn-primary {
    background: linear-gradient(135deg, #1B5E20, #34D399);
    box-shadow: 0 15px 30px rgba(27, 94, 32, 0.35);
    border: none;
}

.mobile-error-banner {
    border-radius: 16px;
    margin: 0;
}

@media (max-width: 1024px) {
    .mobile-onboarding-flow {
        padding: 2rem 1rem 3rem;
    }

    .mobile-step-stage .step-content {
        padding: 1.75rem 1.5rem;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    /* Full-width mobile onboarding - align with PageHeader (1.25rem padding) */
    .mobile-onboarding-flow {
        padding: 0;
        width: 100%;
    }
    
    .mobile-onboarding-shell {
        max-width: 100%;
        gap: 0;
        width: 100%;
    }

    .mobile-progress-card {
        position: sticky;
        top: 0;
        padding: 1.25rem 1.25rem;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(22, 101, 52, 0.12);
        width: 100%;
        margin: 0;
    }

    .mobile-progress-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-step-stage {
        width: 100%;
    }

    .mobile-step-stage .step-content {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    /* Step components full width */
    .mobile-step-stage .profile-step,
    .mobile-step-stage .kyc-step,
    .mobile-step-stage .services-step-container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Form containers full width */
    .mobile-step-stage .profile-form-container,
    .mobile-step-stage .kyc-form-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* Headers full width with proper padding - matching PageHeader */
    .mobile-step-stage .profile-header,
    .mobile-step-stage .kyc-header {
        text-align: center;
        padding: 2.5rem 1.25rem;
        margin: 0;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-step-stage .form-header {
        text-align: center;
        padding: 2rem 1.25rem;
        margin: 0;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Form content padding - matching PageHeader padding */
    .mobile-step-stage .profile-form,
    .mobile-step-stage .kyc-form {
        padding: 1.5rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-step-stage .form-card-content {
        padding: 1.5rem 1.25rem;
        box-sizing: border-box;
    }

    .mobile-step-stage .tips-card,
    .mobile-step-stage .form-card,
    .mobile-step-stage .terms-card {
        margin-bottom: 1.25rem;
        border-radius: 16px;
    }

    /* Form actions full width */
    .mobile-step-stage .form-actions {
        padding: 1.5rem 1.25rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all nested containers are full width */
    .mobile-step-stage .profile-form-container,
    .mobile-step-stage .kyc-form-container,
    .mobile-step-stage .services-step-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    /* Remove any remaining nested padding/margins */
    .mobile-step-stage * {
        box-sizing: border-box;
    }
    
    /* Services step navigation full width */
    .mobile-step-stage .step-navigation {
        padding: 1.5rem 1.25rem;
        margin: 0;
        border-radius: 0;
        width: 100%;
        background: transparent;
    }
}

.native-app .mobile-onboarding-flow {
    padding: 0;
    padding-bottom: 5rem;
}

.native-app .mobile-onboarding-shell {
    max-width: 100%;
    gap: 0;
}

.native-app .mobile-progress-card {
    border-radius: 0;
    padding: 1.25rem 1.25rem;
}

.native-app .mobile-step-stage .step-content {
    padding: 0;
    border-radius: 0;
}

.native-app .mobile-step-stage .profile-step,
.native-app .mobile-step-stage .kyc-step {
    width: 100%;
    margin: 0;
    padding: 0;
}

.native-app .mobile-step-stage .profile-form-container,
.native-app .mobile-step-stage .kyc-form-container {
    width: 100%;
    border-radius: 0;
}

.native-app .mobile-step-stage .action-buttons,
.native-app .mobile-step-stage .form-actions {
    position: static;
}

/* ===== CUSTOMER ONBOARDING STYLES ===== */
/* Dark Green Theme - Matching Login/Register/Home Page DNA */

.customer-onboarding-flow .customer-onboarding {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 50%, #f1f8f4 100%);
    padding: 2rem 1rem;
    width: 100%;
}

/* Onboarding Header - Dark Green Theme */
.customer-onboarding-flow .onboarding-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.3);
    width: 100%;
}

.onboarding-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.onboarding-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.onboarding-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Onboarding Container */
.onboarding-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

/* Mobile: Full width, align with header */
@media (max-width: 768px) {
    .customer-onboarding-flow .customer-onboarding {
        padding: 0;
    }
    
    .customer-onboarding-flow .onboarding-header {
        margin: 0;
        border-radius: 0;
        padding: 2.5rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .customer-onboarding-flow .onboarding-container {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0;
        box-shadow: none;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .customer-onboarding-flow .progress-indicator {
        padding: 1.25rem 1.25rem;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .customer-onboarding-flow .step-content {
        padding: 1.5rem 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .customer-onboarding-flow .form-actions {
        padding: 1.5rem 1.25rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Remove nested container constraints */
    .customer-onboarding-flow .form-card,
    .customer-onboarding-flow .step-header {
        width: 100%;
        box-sizing: border-box;
    }
}

.native-app .customer-onboarding-flow .customer-onboarding {
    padding: 0;
}

.native-app .customer-onboarding-flow .onboarding-header {
    border-radius: 0;
    margin: 0;
    width: 100%;
}

.native-app .customer-onboarding-flow .onboarding-container {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    width: 100%;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.progress-step:not(.active) .step-number {
    background: #e9ecef;
    color: #6c757d;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
}

.progress-step.active .step-label {
    color: #28a745;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
    margin: 0 1rem;
}

/* Step Content */
.step-content {
    padding: 2rem;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-header p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Form Cards (reusing from ProfileStep) */
.form-card {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.form-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-card-title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-card-title p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.form-card-content {
    padding: 2rem;
}

/* Form Layout (reusing from ProfileStep) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-chip:hover {
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
}

.category-chip.selected {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.category-chip i {
    font-size: 1.5rem;
    color: #28a745;
}

.category-chip.selected i {
    color: white;
}

.category-chip span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.category-chip.selected span {
    color: white;
}

/* Budget Slider */
.budget-slider {
    text-align: center;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 1rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.budget-selected {
    font-size: 1.1rem;
    color: #28a745;
}

/* Notification Options */
.notification-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notification-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.notification-option:hover {
    border-color: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-content i {
    font-size: 1.5rem;
    color: #28a745;
    width: 30px;
    text-align: center;
}

.option-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.option-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-toggle {
    background-color: #28a745;
}

input:checked + .slider-toggle:before {
    transform: translateX(26px);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    gap: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 150px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-complete {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.btn-complete:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .customer-dashboard {
        padding: 1rem;
    }
    
    .dashboard-header {
        padding: 1.5rem 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .quick-actions-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .customer-onboarding {
        padding: 1rem;
    }
    
    .onboarding-header {
        padding: 1.5rem;
    }
    
    .onboarding-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        min-width: auto;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .progress-indicator {
        padding: 1rem;
    }
    
    .progress-line {
        width: 40px;
        margin: 0 0.5rem;
    }
}

/* ===== CUSTOMER ONBOARDING DARK GREEN THEME ===== */
/* Matching Login/Register/Home Page DNA - Only for Customer Onboarding */

.customer-onboarding-flow .progress-step.active .step-number {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.4);
}

.customer-onboarding-flow .progress-step.active .step-label {
    color: #1B5E20;
}

.customer-onboarding-flow .form-card-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
}

.customer-onboarding-flow .category-chip.selected {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    border-color: #1B5E20;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.customer-onboarding-flow .category-chip:hover {
    border-color: #1B5E20;
}

.customer-onboarding-flow .category-chip i {
    color: #1B5E20;
}

.customer-onboarding-flow .slider::-webkit-slider-thumb {
    background: #1B5E20;
    box-shadow: 0 2px 6px rgba(27, 94, 32, 0.3);
}

.customer-onboarding-flow .slider::-moz-range-thumb {
    background: #1B5E20;
    box-shadow: 0 2px 6px rgba(27, 94, 32, 0.3);
}

.customer-onboarding-flow .budget-selected {
    color: #1B5E20;
}

.customer-onboarding-flow .btn-complete,
.customer-onboarding-flow .btn-primary {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.customer-onboarding-flow .btn-complete:hover:not(:disabled),
.customer-onboarding-flow .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
}

.customer-onboarding-flow .customer-onboarding {
    background: transparent;
    padding: 0;
}

.customer-onboarding-flow .onboarding-container {
    border-radius: 28px;
    border: 1px solid rgba(15, 97, 46, 0.08);
    box-shadow: 0 35px 60px rgba(12, 53, 24, 0.12);
}

.customer-onboarding-flow .onboarding-header {
    border-radius: 28px 28px 0 0;
}

.customer-onboarding-flow .step-content {
    background: #ffffff;
}

/* Customer onboarding mobile styles are now handled above in the main mobile section */

/* ===== REGISTER PAGE STYLES ===== */

.register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 1rem;
}

/* Register Header */
.register-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.register-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.register-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.register-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Register Container */
.register-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Register Form */
.register-form {
    padding: 2rem;
}

/* Form Cards (reusing from other forms) */
.form-card {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.form-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-card-title h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-card-title p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.form-card-content {
    padding: 2rem;
}

/* Form Layout (reusing from other forms) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Account Type Options */
.account-type-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-type-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.account-type-option:hover {
    border-color: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.account-type-option.selected {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #28a745;
    flex-shrink: 0;
}

.account-type-option.selected .option-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.option-content {
    flex: 1;
}

.option-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.account-type-option.selected .option-content h5 {
    color: white;
}

.option-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.account-type-option.selected .option-content p {
    color: rgba(255, 255, 255, 0.9);
}

.option-radio {
    position: relative;
    flex-shrink: 0;
}

.option-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.account-type-option.selected .radio-custom {
    border-color: white;
    background: white;
}

.radio-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.account-type-option.selected .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Terms Card */
.terms-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e1bee7;
}

.terms-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.terms-content i {
    color: #28a745;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.terms-content h5 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.terms-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.terms-link {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Auth Guard Styles */
.auth-required-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 2rem;
}

.auth-required-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.auth-required-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.auth-required-message {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    max-width: 500px;
}

.auth-required-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Mobile Responsive for Auth Guard */
@media (max-width: 768px) {
    .auth-required-container {
        padding: 1rem;
    }
    
    .auth-required-icon {
        font-size: 3rem;
    }
    
    .auth-required-title {
        font-size: 1.5rem;
    }
    
    .auth-required-message {
        font-size: 1rem;
    }
    
    .auth-required-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .auth-required-actions .btn {
        width: 100%;
    }
}

/* Services Page Styles */
.services-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-hero {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.search-section {
    padding: 3rem 2rem;
    background: white;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid #e9ecef;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #2ecc71;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.search-select:focus {
    outline: none;
    border-color: #2ecc71;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.search-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.search-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.clear-button {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-button:hover {
    border-color: #6c757d;
    color: #2c3e50;
    background: #f8f9fa;
}

.categories-section {
    padding: 3rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #2ecc71;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.2);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.category-card:hover .category-arrow {
    color: #2ecc71;
    transform: translateX(4px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.category-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.category-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.category-arrow {
    color: #6c757d;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.results-section {
    padding: 3rem 2rem;
    background: #f8f9fa;
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.results-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0.25rem 0 0 0;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.95rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 2px solid #f39c12;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-content {
    padding: 1.5rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-count {
    color: #6c757d;
    font-weight: 400;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.service-pro-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pro-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.pro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-details {
    flex: 1;
}

.pro-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.pro-location {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.distance {
    color: #2ecc71;
    font-weight: 500;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-pricing {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ecc71;
}

.price-type {
    font-size: 0.8rem;
    color: #6c757d;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.book-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.book-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-button {
    background: white;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-button:hover:not(:disabled) {
    border-color: #2ecc71;
    color: #2ecc71;
}

.page-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #6c757d;
    font-weight: 500;
}

.featured-section {
    max-width: 1200px;
    margin: 0 auto;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.no-results-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.no-results-message {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
}

.browse-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.browse-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

/* Mobile Responsive for Services */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-section {
        padding: 2rem 1rem;
    }
    
    .search-card {
        padding: 1.5rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .categories-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .results-section {
        padding: 2rem 1rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .book-button {
        width: 100%;
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Form Actions */
.form-actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.btn-register {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-register:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    color: #6c757d;
}

.login-link p {
    margin-bottom: 0;
    font-size: 1rem;
}

.login-link-text {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.login-link-text:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-page {
        padding: 1rem;
    }
    
    .register-header {
        padding: 1.5rem;
    }
    
    .register-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card-content {
        padding: 1.5rem;
    }
    
    .account-type-option {
        padding: 1rem;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .btn-register {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-content {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.login-logo i {
    font-size: 2rem;
}

.login-header h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.login-form-card {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #6c757d;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #28a745;
    background: white;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.password-toggle:hover {
    color: #28a745;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6c757d;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #28a745;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button.loading {
    background: #6c757d;
}

.button-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-button {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-button:hover {
    border-color: #28a745;
    background: #f8f9fa;
}

.social-button.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-button.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.signup-link {
    text-align: center;
    padding: 20px 30px;
    background: #f8f9fa;
}

.signup-link p {
    margin: 0;
    color: #6c757d;
}

.signup-link a {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.terms-text {
    text-align: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.terms-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

.terms-text a {
    color: #28a745;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* App Layout Styles */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

/* App Header */
/* ============================================
   MLATHO MAIN NAVIGATION - REFINED DESIGN
   Professional, sophisticated, enterprise-grade
   Consistent with refined design system
   ============================================ */

.app-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    color: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.15), 0 4px 16px rgba(27, 94, 32, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    padding: 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Allow flex shrinking for proper centering */
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.logo-link svg {
    width: 1.5rem;
    height: 1.5rem;
    color: inherit;
    flex-shrink: 0;
}

.logo-icon-desktop {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* Hide bridge icon on mobile for cleaner header */
@media (max-width: 768px) {
    /* Only hide the icon wrapper, keep the text visible */
    .logo-link .logo-icon-desktop {
        display: none !important;
    }
    
    /* Ensure header-title container is visible */
    .header-title {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 0;
        flex: 1;
        overflow: visible;
    }
    
    /* Ensure logo-link is visible and functional */
    .logo-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        gap: 0;
        max-width: calc(100% - 140px); /* Leave space for menu button and compact language selector */
        min-width: 0;
        overflow: visible;
        align-items: center;
    }
    
    /* Ensure h1 text is always visible */
    .logo-link h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.5rem !important;
        letter-spacing: -0.02em;
        margin: 0 !important;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
        color: white !important;
        font-weight: 600 !important;
    }
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 2.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 2rem);
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-weight: 600;
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
    background: white;
}

.nav-link i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link span {
    font-size: 0.9375rem;
    line-height: 1.4;
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.menu-text {
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-title h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: none;
    line-height: 1.2;
    white-space: nowrap; /* Prevent text wrapping */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    width: auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.header-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.header-button.logout {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
}

.header-button.logout:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.4);
}

.header-button.login {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-button.login:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-button i {
    font-size: 0.9375rem;
}

.header-button span {
    font-size: 0.875rem;
    line-height: 1.4;
}

.page-content {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Navigation Sidebar Styles */
.nav-sidebar {
    width: 280px;
    height: 100vh;
    background: white;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
}

.nav-sidebar.open {
    transform: translateX(0) !important;
    background: white !important;
    z-index: 1001 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-sidebar.open * {
    color: #2c3e50 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.nav-sidebar.open .nav-header,
.nav-sidebar.open .nav-menu,
.nav-sidebar.open .nav-item,
.nav-sidebar.open .nav-section {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-sidebar.open .nav-menu {
    flex-direction: column !important;
}

.nav-sidebar.open .nav-item {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
}

/* Web browser - sidebar should be collapsible by default */
@media (min-width: 769px) {
    .nav-sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .nav-sidebar.open {
        transform: translateX(0);
        width: 280px;
    }
    
    /* Add margin to main content when sidebar is open */
    .app-layout.sidebar-open .main-content {
        margin-left: 280px;
    }
}

.nav-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo svg {
    width: 1.8rem;
    height: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-user-profile {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-info {
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-type {
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section-title {
    padding: 0 20px 10px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-section-title.collapsed {
    padding: 0 20px;
    text-align: center;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #6c757d !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    gap: 15px;
    min-height: 48px;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #28a745;
    border-left-color: #28a745;
}

.nav-item.active {
    background: #e8f5e8;
    color: #28a745;
    border-left-color: #28a745;
    font-weight: 600;
}

.notification-badge {
    background: #dc3545;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    margin-left: auto;
    line-height: 1.4;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.dispute-badge {
    background: linear-gradient(135deg, #5c6bc0, #3949ab);
    color: white;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item:hover .dispute-badge {
    background: linear-gradient(135deg, #fb8c00, #f57c00);
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-divider {
    height: 1px;
    background: #e9ecef;
    margin: 15px 20px;
}

.nav-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.nav-logout {
    width: 100%;
    padding: 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-logout:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.nav-brand {
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Quick Navigation Buttons */
.quick-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.quick-nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.quick-nav-button:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.quick-nav-button i {
    font-size: 1.1rem;
}

.quick-nav-button span {
    font-size: 0.9rem;
}

/* Responsive Navigation */
@media (min-width: 769px) {
    /* Desktop: Hide mobile menu button, show desktop nav */
    .mobile-only {
        display: none !important;
    }
    
    .desktop-nav {
        display: flex !important;
    }
    
    /* Desktop: Sidebar should be hidden by default */
    .nav-sidebar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Mobile: Show mobile menu button, hide desktop nav */
    .mobile-only {
        display: flex !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    /* Full-screen mobile navigation overlay */
    .nav-sidebar {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        width: 100vw;
        height: 100vh;
        position: fixed;
        inset: 0;
        transform: translateX(-100%);
        padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 6vw, 3rem);
        background: linear-gradient(160deg, #0f5132 0%, #198754 35%, #20c997 100%);
        color: #f5fff9;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
    }
    
    .nav-sidebar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 55%);
        pointer-events: none;
        mix-blend-mode: screen;
    }
    
    .nav-sidebar.open {
        transform: translateX(0);
    }
    
    .nav-header {
        position: relative;
        z-index: 1;
        padding: 0;
        border: none;
        background: transparent;
        color: inherit;
    }
    
    .nav-logo {
        color: inherit;
        font-size: 1.75rem;
    }
    
    .nav-toggle {
        color: inherit;
        background: rgba(255, 255, 255, 0.16);
        border-radius: 12px;
        backdrop-filter: blur(6px);
    }
    
    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.26);
    }
    
    .nav-user-profile {
        margin-top: clamp(1rem, 3vw, 1.5rem);
        padding: clamp(1rem, 3vw, 1.5rem);
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.12);
        color: inherit;
        position: relative;
        z-index: 1;
    }
    
    .user-avatar {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.3);
        color: #0f5132;
    }
    
    .user-name {
        color: inherit;
    }
    
    .user-type {
        color: rgba(245, 255, 249, 0.8);
    }
    
    .nav-menu {
        position: relative;
        z-index: 1;
        padding: clamp(1.25rem, 4vw, 2rem) 0 0 0;
        display: flex;
        flex-direction: column;
        gap: clamp(0.75rem, 3vw, 1rem);
    }
    
    .nav-section {
        margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
    }
    
    .nav-section-title {
        padding: 0;
        margin-bottom: clamp(0.5rem, 2vw, 0.8rem);
        color: rgba(245, 255, 249, 0.7);
        letter-spacing: 0.12rem;
    }
    
    .nav-section-title.collapsed {
        text-align: left;
    }
    
    .nav-item {
        border-left: none;
        border-radius: 18px;
        padding: clamp(0.85rem, 3vw, 1rem) clamp(1rem, 4vw, 1.25rem);
        background: rgba(255, 255, 255, 0.9);
        color: #13442d !important;
        box-shadow: 0 16px 35px rgba(15, 81, 50, 0.18);
        transform: translateY(0);
        transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }
    
    .nav-item i {
        font-size: 1.25rem;
        color: inherit;
    }
    
    .nav-item:hover {
        background: #ffffff;
        color: #0f5132 !important;
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(15, 81, 50, 0.22);
    }
    
    .nav-item.active {
        background: #ffffff;
        color: #0f5132 !important;
        box-shadow: 0 20px 45px rgba(33, 170, 107, 0.25);
    }
    
    .nav-divider {
        margin: clamp(1rem, 3vw, 1.5rem) 0;
        background: rgba(255, 255, 255, 0.35);
    }
    
    .nav-footer {
        margin-top: auto;
        padding: clamp(1rem, 3vw, 1.5rem) 0 0 0;
        border: none;
        background: transparent;
        position: relative;
        z-index: 1;
    }
    
    .nav-logout {
        border-radius: 16px;
        background: rgba(220, 53, 69, 0.92);
        box-shadow: 0 18px 38px rgba(220, 53, 69, 0.35);
    }
    
    .nav-logout:hover {
        background: rgba(200, 35, 51, 0.95);
    }
    
    .nav-brand {
        color: rgba(245, 255, 249, 0.75);
    }
    
    /* Mobile adjustments for the rest of the layout */
    .app-layout.sidebar-open .main-content {
        margin-left: 0;
    }
    
    .app-header {
        padding: 0 !important;
    }
    
    .header-left {
        padding: 1rem 1rem !important; /* LinkedIn standard - consistent with global rule */
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-title h1 {
        font-size: 1.5rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* Ensure logo link doesn't take too much space on mobile */
    .logo-link {
        max-width: calc(100% - 140px); /* Leave space for menu button and compact language selector */
        min-width: 0;
        overflow: hidden;
    }
    
    .header-title {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .header-right {
        padding: 1rem 1rem !important; /* LinkedIn standard - consistent with global rule */
        gap: 0.5rem;
        width: auto;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    .header-button {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        gap: 0.375rem;
    }
    
    .header-button span {
        display: none;
    }
    
    .header-button i {
        font-size: 0.9375rem;
    }
    
    .desktop-nav {
        margin-left: 1.5rem;
        gap: 0.125rem;
    }
    
    .nav-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
        gap: 0.375rem;
    }
    
    .nav-link i {
        font-size: 0.9375rem;
        width: 16px;
    }
    
    .nav-link span {
        font-size: 0.875rem;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
        font-size: 1.125rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .quick-nav-buttons {
        gap: 0.5rem;
    }
    
    .quick-nav-button {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .quick-nav-button span {
        font-size: 0.8rem;
    }
    
    .login-container {
        padding: 10px;
    }
    
    .login-content {
        max-width: 100%;
    }
    
    .login-header {
        padding: 30px 20px;
    }
    
    .login-form-card {
        padding: 30px 20px;
    }
}

/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-cover {
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.profile-email,
.profile-phone {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
}

.profile-type {
    margin: 1rem 0;
}

.user-type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-type-badge.servicepro {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.user-type-badge.customer {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
    border-radius: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

.card-header .card-title,
.card-header h6,
.card-header h4,
.card-header h3,
.card-header h2,
.card-header h1 {
    color: white;
}

.card-content {
    padding: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #5f6368;
    font-size: 0.95rem;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.setting-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.setting-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.loading-container,
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.error-message {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
}

/* Mobile Responsive for Profile */
@media (max-width: 768px) {
    .profile-container {
        padding: 1rem;
    }
    
    .profile-header-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Services Step Redesign */
.services-step-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Mobile: Full width */
@media (max-width: 768px) {
    .mobile-onboarding-flow .services-step-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .mobile-onboarding-flow .services-step-container .step-header {
        padding: 2rem 1.25rem;
        margin: 0;
        border-radius: 0;
        width: 100%;
    }
    
    .mobile-onboarding-flow .services-step-container .form-section {
        margin: 0 0 1.5rem 0;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid rgba(27, 94, 32, 0.08);
    }
    
    .mobile-onboarding-flow .services-step-container .section-header {
        padding: 1.5rem 1.25rem;
    }
    
    .mobile-onboarding-flow .services-step-container .categories-grid {
        padding: 1.5rem 1.25rem;
        grid-template-columns: 1fr;
    }
    
    .mobile-onboarding-flow .services-step-container .step-navigation {
        padding: 1.5rem 1.25rem;
        margin: 0;
    }
}

.native-app .services-step-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 1rem;
    border-left: 5px solid #2ecc71;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.step-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.step-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
}

.form-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
}

.required-asterisk {
    color: #e74c3c;
    margin-left: 0.25rem;
}

.section-description {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.category-card {
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-card:hover {
    border-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
}

.category-card.selected {
    border-color: #2ecc71;
    background: linear-gradient(135deg, #f8fff9, #e8f5e8);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.category-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.category-check {
    width: 30px;
    height: 30px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card.selected .category-check {
    opacity: 1;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
}

.skill-chip {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #5f6368;
}

.skill-chip:hover {
    border-color: #2ecc71;
    background: #f8fff9;
    color: #2ecc71;
}

.skill-chip.selected {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-color: #2ecc71;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.pricing-container {
    padding: 2rem;
}

.pricing-input-group {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    padding: 1rem;
    max-width: 400px;
    transition: all 0.3s ease;
}

.pricing-input-group:focus-within {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.pricing-input {
    border: none;
    background: transparent;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    width: 120px;
    outline: none;
}

.pricing-input.error {
    color: #e74c3c;
}

.pricing-suffix {
    font-size: 1.2rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.pricing-recommendation {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 0.5rem;
    color: #856404;
    font-weight: 500;
}

.validation-error {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.5rem;
    color: #721c24;
    font-weight: 500;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    min-width: 200px;
}

/* Mobile Responsive for Services Step */
@media (max-width: 768px) {
    .services-step-container {
        padding: 1rem;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 2rem;
    }
    
    .step-subtitle {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .category-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
    
    .skills-container {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .skill-chip {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .pricing-container {
        padding: 1rem;
    }
    
    .pricing-input-group {
        max-width: 100%;
    }
    
    .pricing-input {
        font-size: 1.5rem;
        width: 100px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .btn-large {
        width: 100%;
        min-width: auto;
    }
}

/* Custom Checkbox Styles for CompleteStep */
.custom-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #2c3e50;
    position: relative;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.custom-checkbox:checked + .checkbox-label .checkmark {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-color: #2ecc71;
    color: white;
}

.custom-checkbox:checked + .checkbox-label .checkmark::before {
    content: "✓";
    font-weight: bold;
    font-size: 0.9rem;
}

.custom-checkbox:focus + .checkbox-label .checkmark {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.terms-checkbox {
    position: relative;
    margin-bottom: 1.5rem;
}

.terms-text {
    flex: 1;
}

.terms-link {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Auth Guard Styles */
.auth-required-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 2rem;
}

.auth-required-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.auth-required-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.auth-required-message {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    max-width: 500px;
}

.auth-required-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Mobile Responsive for Auth Guard */
@media (max-width: 768px) {
    .auth-required-container {
        padding: 1rem;
    }
    
    .auth-required-icon {
        font-size: 3rem;
    }
    
    .auth-required-title {
        font-size: 1.5rem;
    }
    
    .auth-required-message {
        font-size: 1rem;
    }
    
    .auth-required-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .auth-required-actions .btn {
        width: 100%;
    }
}

/* Services Page Styles */
.services-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-hero {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.search-section {
    padding: 3rem 2rem;
    background: white;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid #e9ecef;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #2ecc71;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.search-select:focus {
    outline: none;
    border-color: #2ecc71;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.search-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.search-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.clear-button {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-button:hover {
    border-color: #6c757d;
    color: #2c3e50;
    background: #f8f9fa;
}

.categories-section {
    padding: 3rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #2ecc71;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.2);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.category-card:hover .category-arrow {
    color: #2ecc71;
    transform: translateX(4px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.category-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.category-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.category-arrow {
    color: #6c757d;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.results-section {
    padding: 3rem 2rem;
    background: #f8f9fa;
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.results-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0.25rem 0 0 0;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.95rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 2px solid #f39c12;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-content {
    padding: 1.5rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-count {
    color: #6c757d;
    font-weight: 400;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.service-pro-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pro-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.pro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-details {
    flex: 1;
}

.pro-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.pro-location {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.distance {
    color: #2ecc71;
    font-weight: 500;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-pricing {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ecc71;
}

.price-type {
    font-size: 0.8rem;
    color: #6c757d;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.book-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.book-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-button {
    background: white;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-button:hover:not(:disabled) {
    border-color: #2ecc71;
    color: #2ecc71;
}

.page-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #6c757d;
    font-weight: 500;
}

.featured-section {
    max-width: 1200px;
    margin: 0 auto;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.no-results-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.no-results-message {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
}

.browse-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.browse-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

/* Mobile Responsive for Services */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-section {
        padding: 2rem 1rem;
    }
    
    .search-card {
        padding: 1.5rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .categories-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .results-section {
        padding: 2rem 1rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .book-button {
        width: 100%;
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Footer Styles */
.app-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #2e7d32;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.dispute-footer-link {
    font-weight: 600;
    color: #f57c00;
}

.dispute-footer-link:hover {
    color: #e65100;
}

.footer-separator {
    color: #999;
    font-size: 0.9rem;
}

.footer-copyright {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.footer-copyright p {
    margin: 0;
}

.footer-powered-by {
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    color: #999 !important;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.footer-brand-name {
    color: #1b5e20;
    font-weight: 500;
}

/* Ensure main-content pushes footer to bottom */
.main-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-content {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   MLATHO BRIDGE ICON STYLES
   Premium rendering - crisp, professional appearance
   ============================================ */
.mlatho-bridge-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    /* Premium rendering - crisp, professional appearance */
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
    /* Center the icon */
    margin: 0 auto;
    /* Smooth scaling */
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Ensure SVG is properly centered and fills space */
.mlatho-bridge-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    /* Very subtle shadow for depth - professional appearance */
    filter: drop-shadow(0 0.5px 0.5px rgba(0, 0, 0, 0.08));
    /* Ensure crisp rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Enhanced visibility on light backgrounds */
@media (prefers-color-scheme: light) {
    .mlatho-bridge-icon svg {
        filter: drop-shadow(0 0.5px 0.5px rgba(0, 0, 0, 0.1));
    }
}