/*
 * @package BusinessSaleTheme
 * Extracted from: page-register.css
 */
/* ============================================
   Enhanced Register Page Styles
   ============================================ */

.register-breadcrumb {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.register-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.register-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}
.register-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #64748b;
}
.register-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* Hero Section */
.register-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 40px 0 50px;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
}

/* Register Page */
.register-page {
    background: #f8fafc;
    padding: 60px 0;
}
.register-layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

/* Register Card */
.register-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 20px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.step-number {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}
.step.active .step-number {
    background: #2563eb;
    color: white;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.step-label {
    font-size: 0.7rem;
    color: #64748b;
}
.step.active .step-label {
    color: #2563eb;
    font-weight: 500;
}
.step-line {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 28px;
}
.form-header h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
}
.form-header p {
    color: #64748b;
    margin: 0;
}

/* Social Registration */
.social-register {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    background: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.social-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
.google-btn svg { color: #4285f4; }
.linkedin-btn svg { color: #0077b5; }

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}
.auth-divider span {
    background: white;
    padding: 0 16px;
    position: relative;
    font-size: 0.8rem;
    color: #64748b;
}

/* User Type Selector */
.user-type-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.user-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.user-type-option.selected {
    background: #eff6ff;
    border-color: #2563eb;
}
.type-icon {
    font-size: 1.5rem;
}
.type-name {
    font-weight: 600;
    font-size: 0.8rem;
}
.type-desc {
    font-size: 0.65rem;
    color: #64748b;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #1e293b;
}
.required {
    color: #ef4444;
}
.optional {
    color: #64748b;
    font-weight: normal;
    font-size: 0.75rem;
}
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-with-icon svg {
    position: absolute;
    left: 14px;
    color: #64748b;
}
.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.input-with-icon input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.password-wrapper {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}
.form-hint {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 6px;
}

/* Password Strength Meter */
.password-strength {
    margin: 8px 0 6px;
}
.strength-meter {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}
.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background 0.3s;
    border-radius: 2px;
}
.strength-text {
    font-size: 0.7rem;
    color: #64748b;
}
.pw-requirements {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.req-item {
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.req-item.valid {
    color: #10b981;
}
.req-icon {
    display: inline-block;
    width: 12px;
    text-align: center;
}
.password-match-hint {
    font-size: 0.7rem;
    margin-top: 4px;
}
.password-match-hint.valid {
    color: #10b981;
}
.password-match-hint.invalid {
    color: #ef4444;
}

/* Security Features */
.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}
.security-features span {
    font-size: 0.7rem;
    color: #10b981;
}

/* Checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
}
.checkbox-label input {
    width: 18px;
    height: 18px;
}
.terms-group, .marketing-group {
    margin: 16px 0;
}
.terms-group a {
    color: #2563eb;
    text-decoration: none;
}

/* Form Messages */
.form-errors, .form-success {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}
.form-errors {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.form-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Submit Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    width: 100%;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.form-footer p {
    margin: 8px 0;
    font-size: 0.85rem;
}
.form-footer a {
    color: #2563eb;
    text-decoration: none;
}
.verification-note {
    font-size: 0.7rem;
    color: #64748b;
}

/* Info Column */
.register-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.info-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
}
.info-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.info-card h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
}
.benefits-list svg {
    color: #10b981;
    flex-shrink: 0;
}
.info-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.support-link {
    display: inline-block;
    margin-top: 12px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .register-layout {
        grid-template-columns: 1fr;
    }
    .register-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .info-card {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .register-card {
        padding: 24px;
    }
    .user-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .progress-steps {
        padding: 0;
    }
    .step-label {
        display: none;
    }
    .step-line {
        width: 20px;
    }
    .social-register {
        flex-direction: column;
    }
    .register-info {
        flex-direction: column;
    }
    .trust-badges {
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .register-card {
        padding: 20px;
    }
    .user-type-selector {
        gap: 8px;
    }
    .type-name {
        font-size: 0.7rem;
    }
    .type-desc {
        display: none;
    }
}
.verify-code-input {
    width: 100%;
    max-width: 240px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 12px;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.verify-code-input:focus {
    border-color: #2563eb;
}
.form-header {
    text-align: center;
    margin-bottom: 24px;
}
.form-header .form-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1f2937;
}
.form-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}
.form-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.form-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* ============================================
   Email Verification Card Styles
   ============================================ */
.verify-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.verify-header {
    text-align: center;
    margin-bottom: 28px;
}
.verify-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    line-height: 1;
}
.verify-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}
.verify-header p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}
.verify-code-group {
    margin-bottom: 24px;
    text-align: center;
}
.verify-code-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-align: center;
}
.verify-code-input {
    width: 100%;
    max-width: 260px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 14px;
    padding: 16px 20px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
    color: #1f2937;
    background: #f9fafb;
    font-family: "Courier Prime", "Courier New", monospace;
    margin: 0 auto;
    display: block;
}
.verify-code-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    background: #ffffff;
}
.verify-code-input::placeholder {
    letter-spacing: 14px;
    font-size: 1.8rem;
    color: #d1d5db;
    opacity: 0.6;
}
.verify-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
}

/* When email verification was not sent */
.verify-card .no-email-verification {
    text-align: center;
    padding: 24px;
    background: #f0f9ff;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    margin-top: 20px;
}

.verify-card .no-email-verification p {
    margin: 0 0 16px;
    color: #1e40af;
}

.verify-card .no-email-verification a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.verify-card .no-email-verification a:hover {
    text-decoration: underline;
}
    border-top: 1px solid #f3f4f6;
}
.verify-footer p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 8px;
}
.btn-resend {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-resend:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f0f5ff;
}
.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #e5e7eb;
    color: #9ca3af;
}
.resend-timer {
    font-size: 0.85rem;
    color: #6b7280 !important;
    margin: 8px 0 0 !important;
}

