/* ===== AUTH POPUP ===== */



.auth-popup {
    width: 350px;

    position: fixed;
    padding: 30px;
    padding: 30px;
    border: none;
    border-radius: 18px;
    background: #0f172a;
    color: white;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;
}

.auth-popup:popover-open {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* backdrop */

.auth-popup::backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

/* close */

.close-btn {

    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #1e293b;
    color: white;
    cursor: pointer;
}

/* header */

.auth-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.auth-header p {

    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px;
}

/* form */

.auth-form {

    display: flex;
    flex-direction: column;

    gap: 18px;
}

/* labels */

.form-label {

    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 500;

    color: #cbd5e1;
}

/* inputs */

.form-control {

    width: 100%;

    padding: 12px 14px;

    border-radius: 10px;

    border: 1px solid #334155;

    background: #1e293b;

    color: white;

    font-size: 14px;
}

.form-control:focus {

    outline: none;

    border-color: #6366f1;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* remember */

.remember-row {

    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 13px;
}

/* checkbox */

.form-check {

    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check-input {

    accent-color: #6366f1;
}

/* forgot */

.forgot-link {

    color: #818cf8;

    text-decoration: none;
}

.forgot-link:hover {

    color: white;
}

/* submit */

.submit-btn {

    width: 100%;

    padding: 13px;

    border: none;
    border-radius: 10px;

    background: #6366f1;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.25s;
}

.submit-btn:hover {

    background: #4f46e5;

    transform: translateY(-1px);
}

/* footer */

.auth-footer {

    text-align: center;

    font-size: 14px;

    color: #94a3b8;
}

.auth-footer a {

    color: #818cf8;

    text-decoration: none;

    font-weight: 600;
}

.auth-footer a:hover {

    color: white;
}