﻿/* FULL PAGE BACKGROUND — PURE WHITE */
body, html {
    height: 100%;
    margin: 0;
    background: #ffffff; /* White background */
    font-family: 'HollardSans-Medium', sans-serif;
}

/* CONTENT WRAPPER — CENTER EVERYTHING */
.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* FORM — GLASS EFFECT WITH PURPLE TINT */
form {
    width: 100%;
    max-width: 400px;
    background: rgba(68, 35, 89, 0.25); /* Semi-transparent purple */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 15px;
    padding: 35px 40px;
    border: 1px solid rgba(68, 35, 89, 0.3); /* subtle purple border */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1.2s ease;
}

/* INPUTS — WHITE FIELDS */
input[type="text"],
input[type="password"] {
    width: 100%;
    background: #ffffff !important; /* PURE WHITE */
    border: 1px solid #ccc; /* subtle border */
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    color: #333; /* dark text for readability */
    font-size: 1rem;
    border-radius: 8px;
    outline: none;
    transition: 0.3s ease;
    /* Remove glass effect */
    backdrop-filter: none;
}

    /* Focus state */
    input[type="text"]:focus,
    input[type="password"]:focus {
        border: 1px solid #442359; /* subtle purple border on focus */
        box-shadow: 0 0 6px rgba(68, 35, 89, 0.4);
        transform: scale(1.03);
    }

/* Placeholder text for white background */
input::placeholder {
    color: #777 !important;
    text-align: center;
}


/* BUTTONS */
.btn-login {
    width: 100%;
    background-color: #442359; /* Deep purple */
    color: #fff;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

.btn-sbmit {
    width: 100%;
    background-color: #1ABC9C;
    color: #fff;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

    .btn-login:hover,
    .btn-sbmit:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    }


.custom-popup-overlay {
    display: none; /* Start hidden */
    position: fixed;
    inset: 0; /* top:0; left:0; bottom:0; right:0 */
    background-color: rgba(0,0,0,0.55); /* dark semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 10000; /* above all other content */
}

.custom-popup {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Optional: disable body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}
