@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Fraunces:ital,wght@0,600;1,500&display=swap');

/* ── Page shell ── */
.renew-login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

.renew-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

#renew-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Main card ── */
.renew-card {
    display: flex;
    width: 100%;
    max-width: 980px;
    min-height: 560px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 21, 69, 0.04),
        0 20px 60px rgba(0, 21, 69, 0.10),
        0 0 0 1px rgba(0, 21, 69, 0.06);
    position: relative;
    z-index: 2;
    animation: renew-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes renew-card-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.renew-brand-panel {
    width: 48%;
    background: #001545;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 32px 32px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.renew-brand-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(38, 197, 237, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.renew-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 150, 199, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.renew-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.renew-logo-svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    animation: renew-spin-once 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

@keyframes renew-spin-once {
    from {
        opacity: 0;
        transform: rotate(-60deg) scale(0.8);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.renew-wordmark {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.renew-wordmark-name {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1;
}

.renew-wordmark-sub {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.renew-brand-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0 16px;
}

.renew-headline {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 14px 0;
    animation: renew-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.renew-headline em {
    font-style: italic;
    font-weight: 500;
    color: #26C5ED;
}

.renew-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin: 0;
    max-width: 230px;
    animation: renew-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

@keyframes renew-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.renew-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: renew-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.renew-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.renew-stat-num {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: #26C5ED;
    line-height: 1;
}

.renew-stat-lbl {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.renew-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.renew-form-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 44px 28px;
    animation: renew-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.renew-bw-logo-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.renew-bw-logo {
    height: 28px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.renew-bw-logo:hover {
    opacity: 1;
}

.renew-form-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.renew-form-header {
    margin-bottom: 28px;
}

.renew-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #0096C7;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.renew-eyebrow::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: #26C5ED;
    border-radius: 2px;
}

.renew-form-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 600;
    color: #001545;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.renew-form-sub {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
}

/* Field groups */
.renew-field-group {
    margin-bottom: 16px;
}

.renew-field-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.renew-required {
    color: #0096C7;
}

.renew-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.renew-input-icon {
    position: absolute;
    left: 13px;
    width: 15px;
    height: 15px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.renew-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    padding: 0 44px 0 40px;
    font-size: 14px;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #111827;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.renew-input:focus {
    border-color: #0096C7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 150, 199, 0.1);
}

.renew-input::placeholder {
    color: #d1d5db;
    font-size: 13.5px;
}

/* Eye toggle button */
.renew-eye-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    line-height: 0;
}

.renew-eye-btn:hover {
    color: #374151;
}

.renew-eye-btn svg {
    width: 16px;
    height: 16px;
}

/* Forgot password */
.renew-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-top: -4px;
}

.renew-link-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 500;
    color: #0096C7;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}

.renew-link-btn:hover {
    color: #157A97;
    text-decoration: underline;
}

.renew-cta-btn {
    width: 100%;
    height: 46px;
    background: #f59e0b;
    border: none;
    border-radius: 10px;
    color: #111827;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    position: relative;
}

.renew-cta-btn:hover:not(:disabled) {
    background: #d97706;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.renew-cta-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.99);
}

.renew-cta-btn:disabled {
    background: #fde68a;
    color: #92400e;
    cursor: not-allowed;
    box-shadow: none;
}

.renew-cta-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.renew-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
    margin-top: 4px;
}

.renew-trust-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: #9ca3af;
    white-space: nowrap;
}

.renew-trust-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Footer */
.renew-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.renew-footer-copy {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    font-weight: 400;
}

.renew-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.renew-footer-sep {
    color: #e5e7eb;
    font-size: 11px;
}

.renew-footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}

.renew-footer-link:hover {
    color: #0096C7;
    text-decoration: underline;
}

.renew-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.renew-modal {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.renew-modal-header {
    background: #001545;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
}

.renew-modal-header .modal-title {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

.renew-modal-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.renew-modal .renew-input {
    width: 100%;
    padding-left: 14px;
}

.renew-btn-primary {
    background: #f59e0b;
    border: none;
    border-radius: 8px;
    color: #111827;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    cursor: pointer;
    transition: background 0.15s;
}

.renew-btn-primary:hover {
    background: #d97706;
}

.renew-btn-secondary {
    background: none;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.renew-btn-secondary:hover {
    border-color: #9ca3af;
    color: #374151;
}

@media (max-width: 720px) {
    .renew-card {
        flex-direction: column;
        max-width: 440px;
    }

    .renew-brand-panel {
        width: 100%;
        padding: 28px 28px 24px;
        min-height: unset;
    }

    .renew-brand-body {
        padding: 20px 0 16px;
    }

    .renew-headline {
        font-size: 22px;
    }

    .renew-form-panel {
        padding: 32px 28px;
    }
}

@media (max-width: 480px) {
    .renew-page {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .renew-form-panel {
        padding: 28px 20px;
    }

    .renew-trust-row {
        flex-wrap: wrap;
        gap: 10px;
    }
}