/* ── Signup page background ── */
.signup-section {
    background: linear-gradient(135deg, var(--body-bg) 0%, var(--light-gray) 60%, rgba(59,115,200,0.08) 100%);
    padding: 3rem 0;
    min-height: calc(100vh - 70px);
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,115,200,0.10) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Left section ── */
.left-section h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
}

.left-section ul li {
    font-size: 0.88rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.left-section img {
    max-height: 300px;
}

/* ── Icon circle ── */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
}

/* ── Signup card ── */
.signup-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 40px rgba(59,115,200,0.10), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(59,115,200,0.10);
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.signup-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.signup-card .sub-heading {
    color: #7a8a9a;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

/* ── Google button ── */
#google-signup-btn {
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin-bottom: 0.75rem;
}

/* ── Divider ── */
.signup-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}
.signup-divider hr {
    flex: 1;
    border-color: #e2e8f0;
    opacity: 1;
    margin: 0;
}
.signup-divider span {
    font-size: 0.78rem;
    color: #9aa5b4;
    white-space: nowrap;
    font-weight: 500;
}

/* ── Prefill notice ── */
.signup-card .alert-info {
    background: rgba(59,115,200,0.07);
    border: 1px solid rgba(59,115,200,0.2);
    border-radius: 8px;
    color: #2a5fb0;
    font-size: 0.83rem;
    padding: 0.6rem 0.9rem;
}

/* ── Form fields ── */
.signup-field {
    margin-bottom: 0.9rem;
}

.signup-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.3rem;
    display: block;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.signup-field .form-control,
.signup-field .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.92rem;
    height: 44px;
    background: #f8fafc;
    color: var(--dark-blue);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    padding-left: 0.85rem;
}

.signup-field .form-control:focus,
.signup-field .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,115,200,0.12);
    background: #fff;
    outline: none;
}

.signup-field .form-control.is-invalid,
.signup-field .form-select.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.10);
}

.signup-field .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

.signup-field .input-group-text {
    border: 1.5px solid #e2e8f0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #f0f4f8;
    color: #9aa5b4;
    cursor: pointer;
    height: 44px;
    padding: 0 12px;
    transition: color 0.2s, background 0.2s;
}
.signup-field .input-group-text:hover {
    background: #e2e8f0;
    color: var(--primary);
}

/* Two-column row for name fields */
.signup-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ── Password feedback ── */
.password-feedback {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 0.35rem;
}

/* ── Submit button ── */
.btn-signup-submit {
    background: linear-gradient(135deg, var(--primary) 0%, #2a5fb0 100%);
    border: none;
    border-radius: 10px;
    height: 48px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    width: 100%;
    margin-top: 0.5rem;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(59,115,200,0.3);
    letter-spacing: 0.02em;
}
.btn-signup-submit:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}
.btn-signup-submit:disabled { opacity: 0.65; }

/* ── Login redirect ── */
.signup-card .login-redirect {
    text-align: center;
    font-size: 0.88rem;
    color: #5a6a85;
    margin-top: 1rem;
    margin-bottom: 0;
}
.signup-card .login-redirect a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.signup-card .login-redirect a:hover { text-decoration: underline; }

/* ── Trust badges (left panel) ── */
.trust-badges {
    background: rgba(59,115,200,0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .signup-card {
        padding: 1.75rem 1.1rem;
        border-radius: 16px;
    }
    .signup-name-row {
        grid-template-columns: 1fr;
    }
    .left-section { margin-bottom: 0.5rem; }
}
