/* ===================================
   BECOME A PRO - REGISTRATION PAGE STYLES
   Mobile-first design for Cameroon Market
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #1a8917;
    --primary-dark: #146812;
    --primary-light: #22a31f;
    --secondary-color: #667eea;
    --accent-yellow: #e6c855;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;

    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;

    --shadow-sm: 0 1px 2px 0 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);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--white);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    margin-left: -0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
}

.logo-accent {
    color: var(--primary-color);
}

.header-spacer {
    width: 60px;
}

/* ===================================
   AUTH TOGGLE
   =================================== */
.auth-toggle {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 4px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.auth-toggle-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--gray-500);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.auth-toggle-btn:hover {
    color: var(--gray-700);
}

.auth-toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   LOGIN SECTION
   =================================== */
.login-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    font-family: var(--font-secondary);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-icon-wrapper input {
    padding-left: 2.75rem;
}

.login-form .password-input-wrapper {
    position: relative;
}

.login-form .password-input-wrapper input {
    padding-right: 3rem;
}

.btn-login {
    margin-top: 0.5rem;
}

.auth-switch-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.auth-switch-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

/* Hide registration elements in login mode */
body.login-mode .hero-section,
body.login-mode .progress-container,
body.login-mode .registration-form,
body.login-mode .trust-section {
    display: none;
}

body.login-mode .login-section {
    display: block;
}

/* Hide login in register mode (default) */
body:not(.login-mode) .login-section {
    display: none;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    text-align: center;
    padding: 2rem 0 1.5rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: var(--font-secondary);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    background: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* ===================================
   PROGRESS INDICATOR
   =================================== */
.progress-container {
    padding: 1rem 0 1.5rem;
}

.progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: var(--primary-color);
    color: var(--white);
}

.progress-step.completed .step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.progress-step.completed .step-circle {
    font-size: 0;
}

.progress-step.completed .step-circle::after {
    font-size: 0.875rem;
}

.step-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
}

/* ===================================
   REGISTRATION FORM
   =================================== */
.registration-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-step {
    display: none;
    padding: 1.5rem;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.step-description {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

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

.required {
    color: var(--danger-red);
}

/* Input Styles */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 137, 23, 0.1);
}

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

input.valid {
    border-color: var(--success-green);
}

input.error,
select.error {
    border-color: var(--danger-red);
}

/* Phone Input */
.phone-input-wrapper {
    display: flex;
    gap: 0;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-input-wrapper input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    flex: 1;
}

/* Field Hints & Errors */
.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

.field-error {
    display: block;
    font-size: 0.75rem;
    color: var(--danger-red);
    margin-top: 0.375rem;
    min-height: 1rem;
}

/* OTP Section */
.otp-section {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.otp-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.otp-input {
    width: 48px !important;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem !important;
    border-radius: var(--radius-md) !important;
}

.otp-input:focus {
    border-color: var(--primary-color);
}

.otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.otp-timer {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.otp-timer strong {
    color: var(--primary-color);
}

.resend-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.resend-btn:disabled {
    color: var(--gray-400);
    cursor: not-allowed;
}

.resend-btn:not(:disabled):hover {
    background: rgba(26, 137, 23, 0.1);
    border-radius: var(--radius-md);
}

.otp-alternatives {
    margin-top: 1rem;
    text-align: center;
}

.alt-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.alt-verify-btn:hover {
    background: rgba(37, 211, 102, 0.2);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
}

.toggle-password:hover {
    color: var(--gray-600);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

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

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.strength-fill.weak { width: 33%; background: var(--danger-red); }
.strength-fill.medium { width: 66%; background: var(--warning-orange); }
.strength-fill.strong { width: 100%; background: var(--success-green); }

.strength-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    display: block;
}

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

.select-wrapper select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-wrapper i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Location Inputs */
.location-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Price Input */
.price-input-wrapper {
    display: flex;
    align-items: center;
}

.price-input-wrapper .currency {
    padding: 0.875rem 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-weight: 600;
    color: var(--gray-700);
}

.price-input-wrapper input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    flex: 1;
}

/* Character Count */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

/* Photo Upload */
.photo-upload-group {
    margin-bottom: 1.5rem;
}

.photo-upload {
    text-align: center;
}

.photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px dashed var(--gray-300);
    overflow: hidden;
}

.photo-preview i {
    font-size: 2.5rem;
    color: var(--gray-400);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview.has-photo {
    border-style: solid;
    border-color: var(--primary-color);
}

.photo-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn-photo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-photo:hover {
    background: var(--gray-200);
}

.btn-photo i {
    color: var(--primary-color);
}

.photo-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Upload Progress */
.upload-progress {
    display: none;
    margin-top: 1rem;
}

.upload-progress.active {
    display: block;
}

.upload-progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.upload-progress-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    display: block;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 52px;
}

.btn-primary {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 137, 23, 0.3);
}

.btn-primary:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-continue {
    margin-top: 1rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-actions .btn-back {
    flex: 0 0 auto;
    padding: 1rem;
}

.form-actions .btn-continue {
    flex: 1;
    margin-top: 0;
}

/* ===================================
   SUCCESS SCREEN
   =================================== */
.success-content {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

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

.success-message {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Success Card */
.success-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.success-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.success-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.success-avatar i {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.success-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.success-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.success-card-body {
    display: flex;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
}

.success-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.success-stat i {
    color: var(--primary-color);
}

/* Next Steps */
.next-steps {
    text-align: left;
    margin-bottom: 1.5rem;
}

.next-steps h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.next-steps-list {
    list-style: none;
}

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.next-steps-list li i {
    color: var(--primary-color);
    margin-top: 0.125rem;
}

/* Success Actions */
.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

/* ===================================
   TRUST SECTION
   =================================== */
.trust-section {
    padding: 1.5rem 0 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.trust-badge i {
    color: var(--gray-400);
}

/* ===================================
   TERMS MODAL
   =================================== */
.terms-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.terms-modal.active {
    display: flex;
}

.terms-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.terms-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1.5rem;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.terms-modal-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.terms-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-text ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.terms-text li {
    margin-bottom: 0.5rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.terms-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.terms-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.terms-actions {
    display: flex;
    gap: 0.75rem;
}

.terms-actions .btn {
    flex: 1;
}

/* ===================================
   TOAST NOTIFICATION
   =================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--success-green);
    font-size: 1.125rem;
}

.toast.error i {
    color: var(--danger-red);
}

.toast-message {
    font-weight: 500;
    font-size: 0.875rem;
}

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

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

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading-spinner p {
    color: var(--gray-600);
    font-weight: 500;
}

/* ===================================
   RESPONSIVE - TABLET & DESKTOP
   =================================== */
@media (min-width: 768px) {
    .container {
        max-width: 520px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-benefits {
        gap: 1.5rem;
    }

    .benefit-item {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .form-step {
        padding: 2rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .location-inputs {
        flex-direction: row;
    }

    .location-inputs .select-wrapper {
        flex: 1;
    }

    .location-inputs input {
        flex: 1;
    }

    .success-actions {
        flex-direction: row;
    }

    .terms-modal {
        align-items: center;
    }

    .terms-modal-content {
        border-radius: var(--radius-xl);
        max-width: 420px;
    }
}

/* ===================================
   TOUCH OPTIMIZATIONS
   =================================== */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .btn-photo,
    input,
    select,
    textarea {
        min-height: 48px;
    }

    .otp-input {
        min-height: 56px;
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
