/* ── Login Selection Modal ── */
.modal-login { max-width: 440px; }

.login-modal-content {
    background: rgb(13, 13, 13);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.9);
}

.modal.fade .modal-login { transform: scale(0.93) translateY(14px); transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease; }
.modal.show .modal-login { transform: scale(1) translateY(0); }

.login-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.login-close-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.16);
    color: #fff;
}

.login-modal-header {
    padding: 36px 32px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.login-modal-logo-wrap {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.login-modal-logo-wrap img { width: 36px; height: 36px; object-fit: contain; }

.login-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}
.login-modal-subtitle {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 14px;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.07);
}
.login-divider span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.login-modal-body {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Option cards ── */
.login-option-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Free — pastel mint, same visual weight as billing */
.login-option-free {
    background: rgba(52,211,153,0.07);
    border: 1px solid rgba(52,211,153,0.22);
}
.login-option-free::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(16,185,129,0.55), rgba(52,211,153,0.4));
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}
.login-option-free:hover {
    background: rgba(52,211,153,0.12);
    border-color: rgba(52,211,153,0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(52,211,153,0.07);
}
.login-option-free .login-option-icon {
    background: rgba(52,211,153,0.12);
    border: 1px solid rgba(52,211,153,0.24);
    color: #6ee7b7;
}
.login-option-free .login-option-title {
    color: #fff;
    font-weight: 700;
}

/* Billing — gold pastel */
.login-option-paid {
    background: rgba(251,191,36,0.06);
    border: 1px solid rgba(251,191,36,0.2);
}
.login-option-paid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(180,130,20,0.55), rgba(251,191,36,0.4));
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}
.login-option-paid:hover {
    background: rgba(251,191,36,0.1);
    border-color: rgba(251,191,36,0.32);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(251,191,36,0.07);
}
.login-option-paid .login-option-icon {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.22);
    color: #fbbf24;
}
.login-option-paid .login-option-title {
    color: #fff;
    font-weight: 700;
}

/* Icons shared */
.login-option-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.login-option-content { flex: 1; }

.login-option-title {
    font-size: 0.92rem;
    display: block;
}

.login-option-arrow {
    color: rgba(255,255,255,0.18);
    font-size: 11px;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.login-option-card:hover .login-option-arrow {
    color: rgba(255,255,255,0.55);
    transform: translateX(3px);
}

/* Footer */
.login-modal-footer {
    padding: 12px 18px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.login-modal-footer i {
    color: rgba(255,255,255,0.28);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}
.login-modal-footer span {
    font-size: 0.79rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}
.login-modal-footer a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.18s ease;
}
.login-modal-footer a:hover { color: #fff; }
