/* ============================================
   MODERN VENDOR REGISTRATION - MOBILE FIRST
   Kashmir-Tailored UI with Pink Color Scheme
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-clr: #D82E5E;
    --primary-dark: #B8254A;
    --primary-light: #FF4D7A;
    --primary-rgb: 216, 46, 94;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Semantic Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Touch Target */
    --touch-target: 48px;

    /* Safe Area */
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================
   BASE RESET & ACCESSIBILITY
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible */
:focus-visible {
    outline: 3px solid var(--primary-clr);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   MOBILE-FIRST BASE STYLES
   ============================================ */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile padding for sticky nav */
body.has-sticky-nav {
    padding-bottom: calc(80px + var(--safe-area-bottom));
}

/* ============================================
   LAYOUT - MOBILE FIRST
   ============================================ */
.registration-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Image section - HIDDEN on mobile by default */
.image-section {
    display: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

/* Form section - FULL WIDTH on mobile */
.form-section {
    flex: 1;
    width: 100%;
    padding: var(--space-4);
    padding-bottom: calc(var(--space-4) + 80px); /* Space for sticky nav */
    background: var(--white);
}

/* ============================================
   MOBILE HEADER WITH BRANDING
   ============================================ */
.mobile-brand-header {
    background: linear-gradient(135deg, var(--primary-clr) 0%, var(--primary-light) 100%);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Kashmiri Pattern Overlay */
.mobile-brand-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M30 8c-6 0-11 4.5-13.5 11.25-1.5 4.5-0.75 9.75 2.25 13.5 3.75 4.5 9.75 6 15 3.75 3-1.5 5.25-3.75 6.75-6.75 2.25-4.5 1.5-9.75-1.5-13.5-3-4.5-7.5-7.5-12.75-8.25h3.75zm-3.75 33.75c6 0 11.25-4.5 13.5-11.25 1.5-4.5 0.75-9.75-2.25-13.5-3.75-4.5-9.75-6-15-3.75-3 1.5-5.25 3.75-6.75 6.75-2.25 4.5-1.5 9.75 1.5 13.5 3 4.5 7.5 7.5 12.75 8.25h-3.75z'/%3E%3Ccircle cx='30' cy='30' r='2.25'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.mobile-brand-header .brand-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-3);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.mobile-brand-header .brand-logo svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-clr);
}

.mobile-brand-header h1 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 var(--space-2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mobile-brand-header p {
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   PROGRESS INDICATOR - MOBILE
   ============================================ */
.progress-container {
    padding: var(--space-4);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
}

/* Mobile: Simple dot progress */
.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.progress-step {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.progress-step.active {
    width: 32px;
    background: linear-gradient(135deg, var(--primary-clr), var(--primary-light));
    box-shadow: var(--shadow-glow);
}

.progress-step.completed {
    background: var(--success);
}

/* Progress text for mobile */
.progress-text {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: var(--space-2);
}

/* ============================================
   FORM CONTAINER - MOBILE
   ============================================ */
.form-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.form-header {
    text-align: center;
    padding: var(--space-4) 0;
}

.form-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--space-2);
}

.form-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   FORM CARDS - MOBILE
   ============================================ */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
}

/* Pink top accent */
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-clr), var(--primary-light));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-card h3 i {
    color: var(--primary-clr);
    font-size: 1.25rem;
}

/* ============================================
   FORM ELEMENTS - MOBILE
   ============================================ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-group label .required {
    color: var(--error);
}

/* Inputs - Mobile optimized */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: var(--touch-target);
    padding: var(--space-3) var(--space-4);
    font-size: 16px; /* Prevents iOS zoom */
    font-family: inherit;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-clr);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* Textarea */
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-clr);
    pointer-events: none;
    font-size: 0.875rem;
}

.select-wrapper select {
    padding-right: 45px;
    cursor: pointer;
}

/* Form row - Stack on mobile */
.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Helper text */
.form-helper-text {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.form-helper-text i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Error state */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
    background: #fef2f2;
}

.form-group.error input:focus,
.form-group.error select:focus,
.form-group.error textarea:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: none;
    margin-top: var(--space-2);
    font-size: 0.75rem;
    color: var(--error);
}

.form-group.error .error-message {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.error-message::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ============================================
   BUTTONS - MOBILE
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target);
    padding: var(--space-3) var(--space-6);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-clr), var(--primary-light));
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    color: var(--gray-700);
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

/* Button loading state */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Form actions - Stack on mobile */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-200);
}

.form-actions .btn {
    width: 100%;
}

/* Reverse order so primary is first visually */
.form-actions .btn-primary {
    order: -1;
}

/* ============================================
   FILE UPLOAD - MOBILE
   ============================================ */
.file-upload {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    background: var(--gray-50);
    transition: var(--transition-base);
    cursor: pointer;
}

.file-upload:hover,
.file-upload:focus-within {
    border-color: var(--primary-clr);
    background: rgba(var(--primary-rgb), 0.02);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--primary-clr);
    margin-bottom: var(--space-3);
}

.file-upload-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.file-selected {
    display: none;
    margin-top: var(--space-2);
    font-size: 0.8125rem;
    color: var(--success);
    font-weight: 500;
}

/* ============================================
   OTP INPUT - MOBILE
   ============================================ */
.otp-container {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-4) 0;
}

.otp-digit {
    width: 46px;
    height: 54px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-50);
    transition: var(--transition-base);
}

.otp-digit:focus {
    border-color: var(--primary-clr);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* ============================================
   PASSWORD STRENGTH - MOBILE
   ============================================ */
.password-strength {
    margin-top: var(--space-3);
}

.password-strength-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.password-strength-fill.weak { width: 25%; background: var(--error); }
.password-strength-fill.fair { width: 50%; background: var(--warning); }
.password-strength-fill.good { width: 75%; background: var(--info); }
.password-strength-fill.strong { width: 100%; background: var(--success); }

.password-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1) var(--space-3);
}

.password-checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.6875rem;
    color: var(--gray-500);
    transition: var(--transition-fast);
}

.password-checklist-item.valid {
    color: var(--success);
}

.password-checklist-item .check-icon {
    width: 14px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    flex-shrink: 0;
}

.password-checklist-item.valid .check-icon {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.password-checklist-item.valid .check-icon::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
}

/* Password match indicator */
.password-match-indicator {
    display: none;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: 0.75rem;
}

.password-match-indicator.show {
    display: flex;
}

.password-match-indicator.match {
    color: var(--success);
}

.password-match-indicator.no-match {
    color: var(--error);
}

/* ============================================
   PLAN SELECTION - MOBILE
   ============================================ */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.plan-option {
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-base);
}

.plan-option:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.plan-option.selected {
    border-color: var(--primary-clr);
    background: rgba(var(--primary-rgb), 0.02);
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.plan-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.plan-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-clr);
}

.plan-description {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Subscription packages */
.subscription-plans {
    display: none;
    margin-top: var(--space-4);
}

.subscription-plans.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pricing-card {
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--primary-clr);
    box-shadow: var(--shadow-lg);
}

.pricing-card.selected {
    border-color: var(--primary-clr);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    color: var(--white);
    border-color: transparent;
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-clr), var(--primary-light));
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.plan-price-big {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-1);
}

.plan-period {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-bottom: var(--space-4);
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: 0.8125rem;
}

.plan-features li i {
    color: var(--success);
    font-size: 0.875rem;
}

.pricing-card.featured .plan-features li i {
    color: #6ee7b7;
}

/* ============================================
   LOCATION PIN - MOBILE
   ============================================ */
.location-pin {
    text-align: center;
    padding: var(--space-6);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    margin-bottom: var(--space-4);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--primary-clr);
    margin-bottom: var(--space-3);
}

.location-pin p {
    margin: 0 0 var(--space-4);
    color: var(--gray-600);
}

/* ============================================
   SUCCESS MESSAGE - MOBILE
   ============================================ */
.success-message {
    text-align: center;
    padding: var(--space-8) var(--space-4);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    color: var(--white);
    font-size: 2rem;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.success-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   MOBILE STICKY NAVIGATION
   ============================================ */
.mobile-sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + var(--safe-area-bottom));
    display: flex;
    gap: var(--space-3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--gray-200);
    z-index: 1000;
}

.mobile-sticky-nav .btn {
    flex: 1;
}

.mobile-sticky-nav .btn-secondary {
    flex: 0 0 auto;
    width: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

/* Hide desktop-only navigation on mobile */
.form-actions.desktop-only {
    display: none;
}

/* ============================================
   NOTIFICATIONS - MOBILE
   ============================================ */
.notification {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

.notification-success { background: var(--success); }
.notification-error { background: var(--error); }
.notification-info { background: var(--info); }

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-clr);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   KASHMIR SLIDER - MOBILE (hidden by default)
   ============================================ */
.slider-container {
    display: none;
}

/* Slide badge */
.slide-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-clr), var(--primary-light));
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
}

.slide-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.slide-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slider-dots {
    display: none;
}

.corporate-info-section {
    display: none;
}

/* ============================================
   TABLET (min-width: 640px)
   ============================================ */
@media (min-width: 640px) {
    .form-section {
        padding: var(--space-6);
    }

    .form-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .form-card {
        padding: var(--space-6);
    }

    .form-row {
        flex-direction: row;
    }

    .form-row .form-group {
        flex: 1;
    }

    .form-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .form-actions .btn {
        width: auto;
    }

    .form-actions .btn-primary {
        order: 0;
    }

    .otp-digit {
        width: 52px;
        height: 60px;
    }

    .pricing-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pricing-card {
        flex: 1;
        min-width: 200px;
    }
}

/* ============================================
   DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
    body.has-sticky-nav {
        padding-bottom: 0;
    }

    .registration-container {
        flex-direction: row;
    }

    /* Show image section on desktop */
    .image-section {
        display: block;
        flex: 0 0 55%;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }

    .slider-container {
        display: block;
        height: 100vh;
    }

    .slider-dots {
        display: flex;
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        gap: var(--space-2);
        z-index: 10;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: var(--transition-base);
        padding: 0;
    }

    .slider-dot:hover {
        background: rgba(255, 255, 255, 0.6);
    }

    .slider-dot.active {
        background: var(--primary-clr);
        border-color: var(--white);
        transform: scale(1.2);
    }

    .form-section {
        flex: 0 0 45%;
        padding: var(--space-8);
        padding-bottom: var(--space-8);
        overflow-y: auto;
        max-height: 100vh;
    }

    .form-container {
        max-width: 480px;
    }

    /* Hide mobile header on desktop */
    .mobile-brand-header {
        display: none;
    }

    /* Show desktop header */
    .form-header.desktop-only {
        display: block;
    }

    /* Progress bar styling for desktop */
    .progress-container {
        position: static;
        padding: 0;
        background: transparent;
        border: none;
        margin-bottom: var(--space-6);
    }

    .progress-bar {
        gap: var(--space-2);
    }

    .progress-step {
        width: 48px;
        height: 4px;
        border-radius: var(--radius-full);
    }

    .progress-step.active {
        width: 48px;
        transform: scaleY(1.5);
    }

    .progress-text {
        display: none;
    }

    /* Hide mobile sticky nav */
    .mobile-sticky-nav {
        display: none;
    }

    /* Show desktop form actions */
    .form-actions.desktop-only {
        display: flex;
    }

    /* Corporate info section */
    .corporate-info-section {
        display: block;
    }

    .form-header h1 {
        font-size: 1.75rem;
    }

    .form-card h3 {
        font-size: 1.25rem;
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }
}

/* ============================================
   LARGE DESKTOP (min-width: 1280px)
   ============================================ */
@media (min-width: 1280px) {
    .image-section {
        flex: 0 0 60%;
    }

    .form-section {
        flex: 0 0 40%;
        padding: var(--space-10);
    }

    .form-container {
        max-width: 520px;
    }

    .slide-title {
        font-size: 2.25rem;
    }

    .slide-description {
        font-size: 1.0625rem;
    }
}

/* ============================================
   SLIDE STYLES (for desktop)
   ============================================ */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(20px);
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-10);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.slide-text {
    max-width: 500px;
}

/* Slide text animations */
.slide.active .slide-badge,
.slide.active .slide-title,
.slide.active .slide-description {
    animation: slideUp 0.6s ease forwards;
}

.slide.active .slide-badge { animation-delay: 0.2s; }
.slide.active .slide-title { animation-delay: 0.4s; }
.slide.active .slide-description { animation-delay: 0.6s; }

.slide .slide-badge,
.slide .slide-title,
.slide .slide-description {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .image-section,
    .mobile-sticky-nav,
    .mobile-brand-header,
    .progress-container {
        display: none !important;
    }

    .form-section {
        flex: 1;
        padding: 20px;
    }

    .form-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ============================================
   REGISTER PAGE (register.blade.php) STYLES
   Mobile-First for the multi-card form layout
   ============================================ */

/* Hero */
.registration-hero {
    background: linear-gradient(135deg, var(--primary-clr, #D82E5E), #FF4D7A);
    padding: 24px 0 20px;
    color: #fff;
    text-align: center;
}
.registration-hero .hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.registration-hero .hero-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Stepper */
.registration-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: 0.25s ease;
}
.step-item.active .step-circle {
    background: #fff;
    color: var(--primary-clr, #D82E5E);
}
.step-label {
    font-size: 0.6875rem;
    opacity: 0.7;
    display: none;
}
.step-item.active .step-label {
    opacity: 1;
}
.step-line {
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 1px;
    margin-bottom: 18px;
}

/* Form container section */
.registration-form-container {
    padding: 16px;
    max-width: 900px;
    margin: 0 auto;
}

/* Registration cards */
.reg-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-200, #e5e5e5);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 16px;
    overflow: hidden;
}
.reg-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-50, #fafafa);
    border-bottom: 1px solid var(--gray-200, #e5e5e5);
}
.reg-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-clr, #D82E5E), #FF4D7A);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.reg-card-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.reg-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #171717;
    margin: 0 0 2px;
}
.reg-card-subtitle {
    font-size: 0.8125rem;
    color: #737373;
    margin: 0;
}
.reg-card-body {
    padding: 20px;
}

/* Reg row - stacks on mobile */
.reg-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.reg-row > div {
    width: 100%;
}

/* Form group modern */
.form-group-modern {
    margin-bottom: 16px;
}
.form-group-modern:last-child {
    margin-bottom: 0;
}
.form-label-modern {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #404040;
    margin-bottom: 6px;
}
.required-dot {
    color: #ef4444;
}
.label-hint {
    font-weight: 400;
    font-size: 0.75rem;
    color: #a3a3a3;
}
.info-tooltip {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 4px;
}
.info-tooltip svg {
    width: 16px;
    height: 16px;
    color: #a3a3a3;
}

/* Form controls */
.form-control-modern {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom */
    font-family: inherit;
    color: #171717;
    background: var(--gray-50, #fafafa);
    border: 2px solid var(--gray-200, #e5e5e5);
    border-radius: 12px;
    transition: 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-control-modern:hover {
    border-color: var(--gray-300, #d4d4d4);
    background: #fff;
}
.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-clr, #D82E5E);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(216,46,94,0.1);
}
.form-control-modern::placeholder {
    color: #a3a3a3;
}
textarea.form-control-modern {
    min-height: 80px;
    resize: vertical;
}
.form-control-modern.has-icon {
    padding-left: 42px;
}

/* Input icon wrapper */
.input-icon-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #a3a3a3;
    pointer-events: none;
}

/* Language tabs */
.lang-tabs-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.lang-tab-item {
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #737373;
    background: var(--gray-100, #f5f5f5);
    border: 1px solid var(--gray-200, #e5e5e5);
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s ease;
}
.lang-tab-item:hover {
    color: var(--primary-clr, #D82E5E);
    border-color: var(--primary-clr, #D82E5E);
}
.lang-tab-item.active {
    background: var(--primary-clr, #D82E5E);
    color: #fff;
    border-color: var(--primary-clr, #D82E5E);
}

/* Time input group */
.time-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}
.time-input-group .form-control-modern {
    flex: 1;
}
.time-separator {
    font-weight: 700;
    color: #a3a3a3;
}

/* Map */
.map-container-modern {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--gray-200, #e5e5e5);
}
#map {
    width: 100%;
    height: 250px;
}
.map-search-input {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 5;
    padding: 10px 14px;
    border: 1px solid var(--gray-200, #e5e5e5);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.map-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gray-50, #fafafa);
    font-size: 0.75rem;
    color: #737373;
}
.map-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Coordinate fields */
.coord-fields {
    display: flex;
    gap: 12px;
}
.coord-field {
    flex: 1;
}

/* Upload zones */
.upload-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.upload-zone {
    position: relative;
    border: 2px dashed var(--gray-300, #d4d4d4);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload-zone:hover {
    border-color: var(--primary-clr, #D82E5E);
    background: rgba(216,46,94,0.02);
}
.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.upload-icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--primary-clr, #D82E5E);
}
.upload-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #404040;
}
.upload-hint {
    font-size: 0.75rem;
    color: #a3a3a3;
}
.upload-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.upload-zone.has-image .upload-placeholder {
    display: none;
}
.upload-zone.has-image .upload-preview {
    display: block;
}
.upload-change-btn {
    display: none;
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}
.upload-zone.has-image .upload-change-btn {
    display: block;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #a3a3a3;
}
.password-toggle svg {
    width: 20px;
    height: 20px;
}
.password-toggle .icon-hide { display: none; }
.password-toggle.active .icon-show { display: none; }
.password-toggle.active .icon-hide { display: block; }

/* Recaptcha */
.recaptcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.recaptcha-image img {
    border-radius: 8px;
    max-height: 50px;
}

/* Submit section */
.submit-section {
    text-align: center;
    padding: 24px 0 16px;
}
.submit-hint {
    font-size: 0.8125rem;
    color: #737373;
    margin-bottom: 16px;
}
.submit-hint a {
    color: var(--primary-clr, #D82E5E);
    text-decoration: underline;
}
.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    min-height: 52px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-clr, #D82E5E), #FF4D7A);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 4px 14px rgba(216,46,94,0.35);
}
.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216,46,94,0.45);
}
.btn-submit-modern svg {
    width: 20px;
    height: 20px;
}

/* Select2 overrides for modern look */
.select2-modern + .select2-container .select2-selection--single {
    min-height: 48px;
    border: 2px solid var(--gray-200, #e5e5e5);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 16px;
}
.select2-modern + .select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-clr, #D82E5E);
    box-shadow: 0 0 0 4px rgba(216,46,94,0.1);
}

/* Tablet+ */
@media (min-width: 640px) {
    .registration-hero {
        padding: 32px 0 28px;
    }
    .registration-hero .hero-title {
        font-size: 1.5rem;
    }
    .step-label {
        display: block;
    }
    .registration-form-container {
        padding: 24px;
    }
    .reg-row.reg-row-2 {
        flex-direction: row;
    }
    .reg-row.reg-row-3 {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .reg-row.reg-row-3 > div {
        flex: 1 1 calc(33.333% - 12px);
        min-width: 180px;
    }
    .upload-grid {
        flex-direction: row;
    }
    .upload-grid > div {
        flex: 1;
    }
    .upload-zone-cover {
        min-height: 160px;
    }
    #map {
        height: 300px;
    }
    .recaptcha-wrapper {
        flex-direction: row;
        align-items: flex-end;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .registration-hero {
        padding: 40px 0 36px;
    }
    .registration-hero .hero-title {
        font-size: 1.75rem;
    }
    .step-line {
        width: 40px;
    }
    .registration-form-container {
        padding: 32px 16px;
    }
    .reg-card-body {
        padding: 28px;
    }
    #map {
        height: 350px;
    }
}
