/* Login / Register */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.auth-card h1 {
    font-size: 34px;
    color: #1d4ed8;
    margin-bottom: 24px;
    text-align: center;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-card label {
    font-size: 15px;
    font-weight: bold;
    color: #334155;
}

.auth-plan-choice {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    border: none;
    background: transparent;
}

.auth-plan-label {
    display: block;
    padding-bottom: 10px;
    border-bottom: 2px solid #9ca3af;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.auth-plan-options {
    display: flex;
    align-items: center;
    gap: 74px;
    padding: 2px 0 2px 20px;
}

.auth-plan-options label {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 32px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #1f2937;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.auth-plan-options label:has(input:checked) {
    color: #1d4ed8;
    box-shadow: none;
}

.auth-plan-options input {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    accent-color: #2563eb;
}

.auth-plan-link {
    align-self: flex-start;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease, text-decoration-color 0.2s ease;
}

.auth-plan-link:hover {
    color: #374151;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transform: translateX(2px);
}

.auth-card input,
.auth-card select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: #ffffff;
    color: #334155;
    box-sizing: border-box;
}

.auth-card input:focus,
.auth-card select:focus {
    border-color: #2563eb;
}

.auth-password-field {
    position: relative;
}

.auth-password-field input {
    padding-right: 54px;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #e0526f;
    cursor: pointer;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    background: #fff1f4;
}

.auth-password-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-password-icon-hide {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-icon-show {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-icon-hide {
    display: block;
}

.auth-card select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.form-btn {
    margin-top: 10px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-btn:hover {
    background: #1d4ed8;
}

.auth-link-text {
    margin-top: 18px;
    text-align: center;
    color: #475569;
    font-size: 15px;
}

.auth-link-text a {
    color: #2563eb;
    font-weight: bold;
}

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

.auth-resend-form {
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: #f8fbff;
    margin: 12px 0 18px;
    padding: 14px;
}

.auth-resend-row {
    display: flex;
    gap: 10px;
}

.auth-resend-row input {
    flex: 1;
}

.auth-secondary-btn {
    border: 1px solid #bcd0f7;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    padding: 0 16px;
}

.auth-secondary-btn:hover {
    background: #dbeafe;
}

@media (max-width: 560px) {
    .auth-plan-options {
        gap: 28px;
        flex-wrap: wrap;
        padding-left: 0;
    }

    .auth-resend-row {
        flex-direction: column;
    }

    .auth-secondary-btn {
        min-height: 44px;
    }
}

/* Payment Page */
.payment-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.payment-card {
    width: 100%;
    max-width: 650px;
    background: white;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.payment-card h1 {
    font-size: 36px;
    color: #1d4ed8;
    margin-bottom: 18px;
}

.payment-text {
    font-size: 18px;
    color: #475569;
    margin-bottom: 24px;
}

.pricing-box {
    background: #f8fbff;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}

.pricing-box h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 12px;
}

.price {
    font-size: 40px;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 18px;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
}

.pricing-box li {
    font-size: 17px;
    color: #334155;
    margin-bottom: 10px;
}

.payment-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.payment-btn:hover {
    background: #059669;
}

.payment-note {
    margin-top: 20px;
    color: #64748b;
    font-size: 15px;
}

/* Forgot / Reset Password */
.reset-auth-section {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.reset-auth-card {
    width: 100%;
    max-width: 850px;
    background: white;
    border-radius: 28px;
    padding: 40px 50px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.reset-auth-card h2 {
    font-size: 38px;
    margin-bottom: 8px;
    color: #173b75;
}

.reset-auth-subtext {
    font-size: 18px;
    color: #173b75;
    margin-bottom: 30px;
}

.reset-auth-form .form-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.reset-auth-form label {
    width: 190px;
    font-size: 18px;
    font-weight: 700;
    color: #173b75;
    line-height: 1.2;
}

.reset-auth-form input {
    flex: 1;
    max-width: 350px;
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #c8d6ea;
    border-radius: 20px;
    outline: none;
}

.reset-auth-form input:focus {
    border-color: #2f66f3;
    box-shadow: 0 0 0 3px rgba(47, 102, 243, 0.12);
}

.reset-auth-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    margin-top: 10px;
    background: #2f66f3;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.reset-auth-form button:hover {
    background: #1f53d6;
}

.reset-link-box {
    margin-top: 20px;
    padding: 16px;
    background: #f5f8ff;
    border: 1px solid #d8e4ff;
    border-radius: 12px;
    word-break: break-all;
}

.reset-link-box a {
    color: #2563eb;
    font-weight: bold;
}

@media (max-width: 900px) {
    .reset-auth-form .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .reset-auth-form label {
        width: 100%;
    }

    .reset-auth-form input {
        max-width: 100%;
    }
}
