/* =====================================================
   KUMARI WEDDINGS - REDESIGNED VENDOR REGISTRATION STYLES
   ===================================================== */

:root {
    --primary: #8c2d38;
    --primary-hover: #72242d;
    --primary-light: #fdf2f4;
    --gold: #c59b63;
    --gold-light: #fdfaf6;
    --gold-border: #e8d7c3;
    --dark: #1e242b;
    --text-body: #374151;
    --text-muted: #6b7280;
    --bg-page: #fbf8f3;
    --bg-card: #ffffff;
    --border-color: #ebdccb;
    --border-subtle: #f3eae0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(140, 45, 56, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.6;
}

/* =====================================================
   TOP NAVIGATION BAR
   ===================================================== */
.vr-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.vr-header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vr-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.vr-brand-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, #631720 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 3px 8px rgba(140, 45, 56, 0.25);
}

.vr-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--dark);
    display: block;
    line-height: 1.2;
}

.vr-brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.vr-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vr-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.vr-nav-link:hover {
    color: var(--primary);
}

.vr-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-light);
    color: #855823;
    border: 1px solid var(--gold-border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.vr-btn-login:hover {
    background: #f7eedf;
    border-color: var(--gold);
    color: #633e14;
}

/* =====================================================
   HERO & VALUE BANNER
   ===================================================== */
.vr-hero {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
    padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.vr-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.vr-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.5rem;
    border: 1px solid #f9ccd3;
}

.vr-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
}

.vr-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 auto 1.25rem auto;
    max-width: 620px;
}

/* VALUE HIGHLIGHTS CARDS - COMPACT PROFESSIONAL FORMAT */
.vr-values-compact,
.vr-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 0 auto 1.5rem auto;
    text-align: left;
}

.vr-value-compact-card,
.vr-value-card {
    background: #ffffff;
    border: 1px solid #EBDCCB;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vr-value-compact-card:hover,
.vr-value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-color: #D4AF37;
}

.vr-val-icon-wrap,
.vr-value-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #FAF3E8;
    color: #8C4E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.vr-val-info,
.vr-value-text {
    flex: 1;
    min-width: 0;
}

.vr-val-info h4,
.vr-value-text h4 {
    margin: 0 0 2px 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.25;
}

.vr-val-info p,
.vr-value-text p {
    margin: 0;
    font-size: 0.78rem;
    color: #6B7280;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .vr-values-compact,
    .vr-values-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* =====================================================
   MAIN REGISTRATION FORM CONTAINER
   ===================================================== */
.vr-form-wrapper {
    max-width: 960px;
    margin: 1.25rem auto 2.5rem auto;
    padding: 0 1.25rem;
}

.vr-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SECTION CARDS */
.vr-section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.vr-section-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vr-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.vr-section-title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--dark);
}

.vr-section-desc {
    margin: 2px 0 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* FORM GRIDS & INPUTS */
.vr-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 700px) {
    .vr-grid-2 {
        grid-template-columns: 1fr;
    }
}

.vr-form-group {
    margin-bottom: 1rem;
}

.vr-form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.vr-required {
    color: #dc2626;
    margin-left: 2px;
}

.vr-input,
.vr-textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--dark);
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    outline: none;
}

.vr-input:focus,
.vr-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 45, 56, 0.12);
}

.vr-input::placeholder,
.vr-textarea::placeholder {
    color: #9ca3af;
}

.vr-help-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

/* =====================================================
   INTERACTIVE PILL SELECTION (SERVICES & AREAS) - MATCHES VENDOR PORTAL EXACTLY
   ===================================================== */
.vr-category-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vr-category-legend span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.vr-category-count {
    font-weight: 600;
    color: var(--primary);
}

.vr-pill-grid,
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 1.15rem;
}

.vr-pill-label,
.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fdfaf6;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.2s ease;
    user-select: none;
}

.vr-pill-label:hover,
.checkbox-pill:hover {
    border-color: var(--gold);
    background: #ffffff;
}

.vr-pill-label input[type="checkbox"],
.checkbox-pill input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.vr-pill-label input[type="checkbox"]:checked + span,
.checkbox-pill input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--primary);
}

/* =====================================================
   FILE UPLOAD DROPZONE / PREVIEW
   ===================================================== */
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.9rem;
    font-family: inherit;
    color: #1f2937;
    background: #ffffff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #8c2d38;
    box-shadow: 0 0 0 3px rgba(140, 45, 56, 0.1);
}

.vr-upload-box {
    border: 2px dashed var(--gold-border);
    background: var(--gold-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.vr-upload-box:hover {
    border-color: var(--gold);
    background: #fbf5eb;
}

.vr-upload-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

.vr-upload-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.vr-upload-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vr-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.vr-file-name-preview {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: none;
}

/* =====================================================
   PASSWORD TOGGLE & VALIDATION
   ===================================================== */
.vr-password-wrapper {
    position: relative;
}

.vr-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #9ca3af;
    padding: 4px;
}

.vr-toggle-password:hover {
    color: var(--dark);
}

/* =====================================================
   TERMS & SUBMIT SECTION
   ===================================================== */
.vr-terms-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.vr-terms-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.vr-terms-label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.vr-terms-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.vr-terms-label a:hover {
    text-decoration: underline;
}

.vr-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, #681721 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 36px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(140, 45, 56, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.vr-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 45, 56, 0.4);
    background: linear-gradient(135deg, #99313d 0%, #521118 100%);
}

.vr-login-footer {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.vr-login-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.vr-login-footer a:hover {
    text-decoration: underline;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
    /* Hide top bar join message on mobile if present */
    .top-bar-badge {
        display: none !important;
    }

    /* 4. Remove Join kanyakumari district premier message */
    .vr-hero-subtitle {
        display: none !important;
    }

    /* Remove pill badge on mobile */
    .vr-pill-badge {
        display: none !important;
    }

    /* Remove Local kanyakumari reach, dedicated portfolio, direct client boxes completely */
    .vr-values-compact,
    .vr-values-grid {
        display: none !important;
    }

    /* Remove unwanted vertical spaces from register business page in mobile view */
    .vr-hero {
        padding: 1.25rem 1rem 0.75rem 1rem !important;
        margin-bottom: 0 !important;
    }

    .vr-hero-title {
        font-size: 1.45rem !important;
        margin-bottom: 0 !important;
        line-height: 1.25 !important;
    }

    .vr-form-wrapper {
        margin: 0.5rem auto 1.5rem auto !important;
        padding: 0 10px !important;
    }

    /* 4 & 6. Remove unwanted spaces between boxes in Mobile view */
    .vr-section-card {
        padding: 12px 14px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
    }

    .vr-section-header {
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
    }

    .vr-step-number {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.78rem !important;
    }

    .vr-section-title {
        font-size: 1.05rem !important;
    }

    .vr-section-desc {
        font-size: 0.76rem !important;
        margin-top: 2px !important;
    }

    .vr-form-group {
        margin-bottom: 10px !important;
    }

    .vr-form-group label {
        font-size: 0.82rem !important;
        margin-bottom: 3px !important;
    }

    .vr-grid-2 {
        gap: 10px !important;
        margin-bottom: 0 !important;
    }

    .vr-input,
    .vr-textarea,
    .form-control {
        padding: 8px 10px !important;
        font-size: 0.88rem !important;
    }

    .vr-help-text {
        font-size: 0.74rem !important;
        margin-top: 3px !important;
    }

    /* 6. Service and service area categories layout in double line (2-column grid) */
    .vr-pill-grid,
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
    }

    .vr-pill-label,
    .checkbox-pill {
        padding: 6px 8px !important;
        font-size: 0.78rem !important;
        min-height: 36px !important;
        gap: 6px !important;
    }

    .vr-btn-submit {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    .vr-terms-card {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .vr-terms-label {
        margin-bottom: 12px !important;
        font-size: 0.84rem !important;
    }

    /* Requirement 7: Remove "Hold ctrl/shift to..." information message from mobile view */
    .vr-ctrl-instruction,
    .hide-on-mobile-ctrl {
        display: none !important;
    }
}