/* --------------------------------------------------------------
   HOH AUTH — Global Reset
-------------------------------------------------------------- */
body.login {
    background: linear-gradient(135deg, #e3d4ff 0%, #d6c4ff 100%) !important;
    font-family: "Poppins", sans-serif;
    position: relative;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------
   Scripture Watermark (shifted up + softer)
-------------------------------------------------------------- */
body.login:before {
    content: "Heart of Hope";
    position: absolute;
    bottom: 160px; /* moved up */
    right: 40px;
    font-family: "Playfair Display", serif;
    font-size: 54px;
    color: rgba(122, 75, 196, 0.05);
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 1px;
}

/* --------------------------------------------------------------
   Login Container
-------------------------------------------------------------- */
#login {
    width: 340px !important; /* narrower */
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06) !important;
    margin-top: 80px;
    animation: fadeIn 0.8s ease-out;
}

/* --------------------------------------------------------------
   Logo
-------------------------------------------------------------- */
body.login h1 a {
    background-image: url('https://heartofhope777.org/wp-content/uploads/2026/04/cropped-HOH-Logo-scaled-1.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 220px;
    height: 120px;
    margin-bottom: 18px; /* more breathing room */
}

/* Scripture line under logo */
body.login h1:after {
    content: "“The Lord is near to the brokenhearted” — Psalm 34:18";
    display: block;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-style: italic;
    color: #6a4aa8;
    margin-top: 6px;
    opacity: 0.85;
}

/* --------------------------------------------------------------
   Form Fields
-------------------------------------------------------------- */
.login form {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.login form .input,
.login input[type=text],
.login input[type=password],
.login input[type=email] {
    border-radius: 12px;
    border: 1px solid #d8c8f5; /* softer */
    padding: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.login form .input:focus {
    border-color: #7a4bc4;
    box-shadow: 0 0 0 3px rgba(122, 75, 196, 0.22);
}

/* --------------------------------------------------------------
   Labels
-------------------------------------------------------------- */
.login label {
    font-weight: 600;
    color: #4a3b6b;
    margin-bottom: 6px;
    display: block;
}

/* --------------------------------------------------------------
   Primary Button
-------------------------------------------------------------- */
#wp-submit {
    background: #7a4bc4 !important;
    border-color: #5e38a0 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.25s ease;
}

/* Glow hover */
#wp-submit:hover {
    background: #5e38a0 !important;
    box-shadow: 0 0 12px rgba(122, 75, 196, 0.45);
}

/* --------------------------------------------------------------
   Align Remember Me + Login Button
-------------------------------------------------------------- */
.login .submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px !important;
}

.login .forgetmenot {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.login .forgetmenot input[type=checkbox] {
    accent-color: #7a4bc4;
}

.login .forgetmenot label {
    margin-left: 6px;
    font-size: 14px;
    color: #4a3b6b;
}

/* --------------------------------------------------------------
   Links (Register, Lost Password)
-------------------------------------------------------------- */
.login #nav a,
.login #backtoblog a {
    color: #7a4bc4 !important;
    font-weight: 500;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #5e38a0 !important;
}

/* --------------------------------------------------------------
   Error / Message Boxes
-------------------------------------------------------------- */
.login .message,
.login .success,
.login #login_error {
    border-left: 4px solid #7a4bc4 !important;
    background: #f4edff !important;
    color: #4a3b6b !important;
    border-radius: 10px;
    padding: 12px 14px !important;
    margin-bottom: 20px !important;
}

/* --------------------------------------------------------------
   Responsive
-------------------------------------------------------------- */
@media (max-width: 480px) {
    #login {
        width: 90% !important;
        padding: 30px 20px;
    }

    body.login:before {
        font-size: 36px;
        right: 20px;
        bottom: 100px;
    }
}
