/* ===================================
   COMMON AUTH PAGE STYLES
=================================== */

/* BACKGROUND */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;

    background:
        linear-gradient(rgba(255,140,0,0.4), rgba(255,200,150,0.5)),
        url('../img/Temple_bg.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* OVERLAY */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;

    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.3);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
.auth-card {
    background: #fffaf5;
    padding: 2rem;
    border-radius: 1rem;
    width: 25rem;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.4);
    position: relative;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* TITLE */
.auth-card h2 span {
    color: #e67e22;
}

/* INPUT */
.auth-card input {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    box-sizing: border-box;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #e67e22;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    background: #d35400;
}

/* LINK */
.auth-link {
    margin-top: 1rem;
}

.auth-link a {
    color: #e67e22;
    text-decoration: none;
}

/* VALIDATION */
.error {
    color: red;
    font-size: 12px;
    text-align: left;
    margin-top: 3px;
}

.form-group {
    margin-bottom: 10px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}