/* register — migrated from pages.css */
.form-section-title {
            font-size: 18px;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f3f4f6;
            display: flex;
            align-items: center;
        }
        .form-section-title i {
            margin-right: 10px;
            color: #14b8a6;
        }
        .form-group label {
            font-weight: 500;
            color: #4b5563;
        }
        .form-control {
            border: 1px solid #d1d5db;
            border-radius: 8px;
            padding: 12px 16px;
            height: 48px;
            font-size: 15px;
            color: #374151;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            transition: all 0.2s ease-in-out;
            background-color: #f9fafb;
        }
        .form-control:focus {
            border-color: #14b8a6;
            background-color: #ffffff;
            box-shadow: 0 0 0 4px rgba(20,184,166, 0.15);
            outline: none;
        }
        .form-control.is-invalid {
            border-color: #ef4444;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(.375em + .1875rem) center;
            background-size: calc(.75em + .375rem) calc(.75em + .375rem);
        }
        .form-control.is-valid {
            border-color: #10b981;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(.375em + .1875rem) center;
            background-size: calc(.75em + .375rem) calc(.75em + .375rem);
        }
        .has-error .form-control {
            border-color: #ef4444;
        }

/* register — extracted from blade inline styles */
* { box-sizing: border-box; }

.reg-section {
    min-height: 88vh;
    background: #f0f2f8;
    padding: 40px 16px 60px;
    font-family: 'Inter', sans-serif;
}

.reg-wrap {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(13,148,136,0.11), 0 8px 32px rgba(0,0,0,0.08);
    overflow: hidden;
    animation: slideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header Banner */
.reg-header {
    background: linear-gradient(135deg, #134e4a 0%, #0d9488 55%, #14b8a6 100%);
    padding: 36px 44px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.reg-header::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -100px; right: -60px;
    animation: slowSpin 22s linear infinite;
}
.reg-header::after {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -50px; left: 30px;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

.reg-header-text { position: relative; z-index: 1; }
.reg-header-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #99f6e4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.reg-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.reg-header p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.reg-header-icon {
    position: relative; z-index: 1;
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.12);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reg-header-icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Body */
.reg-body { padding: 36px 44px 44px; }

/* Error Alert */
.reg-alert {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 1px solid #fca5a5;
    border-radius: 12px;
    color: #991b1b;
    padding: 14px 16px;
    margin-bottom: 28px;
    font-size: 0.85rem;
    animation: fadeDown 0.3s ease;
}
.reg-alert ul { margin: 6px 0 0; padding-left: 18px; }
.reg-alert li { margin-bottom: 3px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Section Title */
.reg-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e5e7eb;
}
.reg-section-title svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.reg-section-block { margin-bottom: 30px; }

/* Grid */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.reg-grid.full { grid-template-columns: 1fr; }

/* Form Groups */
.reg-form-group { margin-bottom: 18px; }
.reg-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}
.reg-label .req { color: #ef4444; margin-left: 2px; }
.reg-input-wrap { position: relative; }
.reg-input-icon {
    position: absolute;
    left: 12px; top: 50%; transform: translateY(-50%);
    pointer-events: none;
}
.reg-input-icon svg { width: 16px; height: 16px; stroke: #9ca3af; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.reg-input-wrap:focus-within .reg-input-icon svg { stroke: #0d9488; }
.reg-toggle-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; padding: 3px; cursor: pointer;
    color: #9ca3af; display: flex; align-items: center; transition: color 0.2s;
}
.reg-toggle-btn:hover { color: #6b7280; }
.reg-toggle-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.reg-input, .reg-select {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    outline: none;
}
.reg-input.no-icon, .reg-select { padding-left: 14px; }
.reg-input:focus, .reg-select:focus {
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
}
.reg-input.is-invalid, .reg-select.is-invalid { border-color: #ef4444; background: #fff5f5; }
.reg-input.is-valid, .reg-select.is-valid { border-color: #22c55e; }
.reg-feedback {
    font-size: 0.76rem; color: #ef4444; margin-top: 5px;
    display: none; align-items: center; gap: 4px;
}
.reg-feedback.show { display: flex; }
.reg-feedback svg { width: 12px; height: 12px; stroke: #ef4444; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Password Strength */
.reg-strength { margin-top: 8px; display: none; }
.reg-strength.show { display: block; }
.reg-strength-track { height: 3px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.reg-strength-fill { height: 100%; border-radius: 99px; width: 0%; transition: all 0.3s; }
.reg-strength-label { font-size: 0.72rem; font-weight: 500; margin-top: 4px; color: #9ca3af; }

/* Captcha */
.reg-captcha-box {
    background: linear-gradient(135deg, #f0fdfa, #f0f9ff);
    border: 1.5px solid #99f6e4;
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
}
.reg-captcha-label {
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 12px;
}
.reg-captcha-row {
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.reg-captcha-eq {
    font-size: 1.25rem;
    font-weight: 800;
    color: #134e4a;
    background: rgba(13,148,136,0.08);
    border-radius: 10px;
    padding: 8px 14px;
    white-space: nowrap;
    letter-spacing: 1px;
}
.reg-captcha-input {
    width: 90px;
    padding: 10px;
    border: 1.5px solid #5eead4;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: #134e4a;
    background: #fff;
    outline: none;
    transition: all 0.2s;
}
.reg-captcha-input:focus { border-color: #0d9488; box-shadow: 0 0 0 4px rgba(13,148,136,0.12); }

/* Submit Button */
button.reg-submit[type="submit"] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    box-shadow: 0 8px 30px rgba(20,184,166,0.3);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: 24px;
    position: relative;
    text-transform: none;
    float: none;
    height: auto;
}
button.reg-submit[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(20,184,166,0.45);
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}
button.reg-submit[type="submit"]:active { transform: translateY(0); }
button.reg-submit[type="submit"] svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.reg-footer-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}
.reg-footer-links p { font-size: 0.875rem; color: #6b7280; margin: 0 0 4px; }
.reg-footer-links a { font-size: 0.875rem; font-weight: 600; color: #0d9488; text-decoration: none; }
.reg-footer-links a:hover { text-decoration: underline; }
.reg-footer-links .fp-link { font-size: 0.8rem; font-weight: 400; color: #9ca3af; }

.reg-social-row { display: flex; gap: 12px; margin-bottom: 22px; }
.reg-social-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 14px;
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}
.reg-social-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.reg-social-google {
    background: #fff;
    color: #3c4043;
    border-color: #dadce0;
    box-shadow: 0 2px 6px rgba(60,64,67,0.18);
}
.reg-social-google:hover {
    background: #f8faff;
    border-color: #0d9488;
    box-shadow: 0 6px 16px rgba(13,148,136,0.22);
    transform: translateY(-2px);
    text-decoration: none;
    color: #3c4043;
}
.reg-social-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C5DD9 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(24,119,242,0.38);
}
.reg-social-facebook:hover {
    box-shadow: 0 10px 22px rgba(24,119,242,0.48);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}
.reg-social-divider {
    text-align: center; color: #9ca3af;
    margin: 4px 0 22px; font-size: 0.8rem;
    position: relative;
}
.reg-social-divider::before, .reg-social-divider::after {
    content: ''; position: absolute; top: 50%;
    width: 42%; height: 1px; background: #e5e7eb;
}
.reg-social-divider::before { left: 0; }
.reg-social-divider::after { right: 0; }

@media (max-width: 640px) {
    .reg-header { padding: 28px 20px; }
    .reg-header-icon { display: none; }
    .reg-body { padding: 24px 20px 32px; }
    .reg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .reg-social-row { flex-direction: column; }
}
@keyframes spin { to { transform: rotate(360deg); } }

