/* =========================================================
   Login page styles
   Extracted from index.php inline <style> blocks and
   redesigned to match the supplied Login mock-up.
   ========================================================= */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* Full-screen blurred background photo */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../images/login-bg.jpg");
    background-size: cover;
    background-position: center;
    /* filter: blur(3px); */
    transform: scale(1.05); /* hides blurred edge fringe */
    z-index: -2;
}

/* Soft dark overlay so the card/text stay readable */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
}

/* Centers the login card on screen */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    box-sizing: border-box;
}

/* The frosted glass card */
.login-card {
    /* width: 100%; */
    width: 675px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-radius: 6px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    padding: 85px 95px 85px;
    box-sizing: border-box;
}

/* Brand lockup: site logo (which already includes its own top
   rule + tagline) plus a short accent rule echoing the tagline row */
.brand-block {
    position: relative;
    margin: 0 0 18px;
}

.brand-block img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-accent {
    position: absolute;
    right: 0;
    top: 82%;
    width: 48%;
    height: 4px;
    background: #1a1a1a;
}

.login-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 15px;
	text-align:left;
}

.login-note {
    font-size: 13px;
    color: #6a2b2b;
    margin: 0 0 20px;
    line-height: 1.4;
}

.login-alert {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #a83a3a;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.login-alert-info {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #333;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    padding: 10px 16px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
}

.form-field input::placeholder {
    color: #9a9a9a;
}

.form-field input:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 1px;
}

.login-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 15px;
}

.btn-login {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 7px 95px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-login:hover {
    background: #333333;
}

.signup-link {
    color: #1a1a1a;
    font-size: 16px;
    text-decoration: none;
}

.signup-link:hover {
    text-decoration: underline;
}

.forgot-link-row {
    margin-top: 18px;
}

.forgot-link-row a {
    font-size: 13px;
    color: #3f3f3f;
}

.forgot-link-row a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #3f3f3f;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.forgot-link:hover {
	color: #3f3f3f;
    text-decoration: underline;
}

/* ---------------------------------------------------------
   Footer (Powered By Web Alliance) — sits inside the card,
   below the login actions
   --------------------------------------------------------- */
.login-footer {
    margin-top: 22px;
    text-align: center;
}

.copyright-login {
    font-size: 14px;
    margin: 0 0 8px;
    color: #8a8a8a;
    text-align: center;
}

.copyright-login a {
    font-size: 14px;
    color: #8a8a8a;
    text-decoration: none;
}

.copyright-login a:hover {
    color: #555555;
    text-decoration: underline;
}

.login-footer img {
    height: 55px;
    width: auto;
}

.red-strip-login {
    border-top: 0 solid #333;
    padding: 0;
    margin-top: 8px;
    text-align: center;
}

.red-strip-login a {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    transition: all ease 0.3s;
    margin: 1px 6px 0;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.red-strip-login a .fa,
.red-strip-login a i {
    height: 34px;
    width: 34px;
    font-size: 20px;
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
    transition: all ease 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.red-strip-login a:hover i {
    color: #e0e0e0;
}

/* ---------------------------------------------------------
   Legacy / optional decorative styles kept for parity
   with the original page (currently unused / commented out
   in the markup, retained here in case they're re-enabled).
   --------------------------------------------------------- */
.snowflakes {
    background-image: url(images/snowflakeBg.jpg);
    position: absolute;
    width: 100%;
    height: 100%;
    float: left;
    background-size: cover;
}

.bgtrans {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.18);
}

.snowflake {
    color: #fff;
    font-size: 2em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
}

.snowflake, .snowflake .inner {
    animation-iteration-count: infinite;
    animation-play-state: running;
}

@keyframes snowflakes-fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(110vh); }
}

@keyframes snowflakes-shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(80px); }
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-shake;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
}

.snowflake .inner {
    animation-duration: 10s;
    animation-name: snowflakes-fall;
    animation-timing-function: linear;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    .login-card {
        padding: 35px 25px 25px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-login {
        width: 100%;
    }
	
	.signup-link {
        text-align: center;
    }

    .forgot-link {
        text-align: center;
    }
}
