/* ===============================
   Church Capital Forgot Password
=============================== */
.ccbp-forgot-page{
    min-height:100dvh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    background:url('../images/bg.png') center center/cover no-repeat;
    background-color:#f4f6f9;
}
.ccbp-forgot-card{
    width:100%;
    max-width:880px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(15,23,42,.12);
    display:grid;
    grid-template-columns:320px 1fr;
    overflow:hidden;
}

/* LEFT PANEL */
.ccbp-forgot-card .ccbp-left{
    background:linear-gradient(160deg,#0284c7,#036aa1);
    color:#fff !important;
    padding:44px 36px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:100%;
    text-align:center;
}

.ccbp-left-top{
    text-align:left;
}

.ccbp-logo{
    width:310px;
}

.ccbp-left-middle h1{
    font-size:30px;
    line-height:1.25;
    margin:0 0 16px;
    font-weight:700;
    color:#fff !important;
}

.ccbp-left-middle .ccbp-tagline{
    font-size:14.5px;
    line-height:1.7;
    color:#e4f3fc !important;
    margin:0 0 28px;
}

.ccbp-btn-outline{
    display:inline-block;
    box-sizing:border-box;
    padding:12px 40px !important;
    border:1.5px solid #fff;
    border-radius:999px !important;
    color:#fff !important;
    background:transparent;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.4 !important;
    text-decoration:none;
    transition:background .15s ease, color .15s ease;
}

.ccbp-btn-outline:hover{
    background:#fff;
    color:#0284c7 !important;
}

/* RIGHT PANEL */
.ccbp-forgot-card .ccbp-right{
    padding:52px 56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:center;
}

.ccbp-form-box h2{
    font-size:32px;
    margin:0;
    color:#0284c7;
    font-weight:700;
}

.ccbp-form-box .ccbp-subtitle{
    margin:16px 0 30px;
    color:#0f172a;
    font-size:14.5px;
    line-height:1.6;
}

.ccbp-notice{
    padding:12px 16px;
    border-radius:8px;
    font-size:13.5px;
    margin-bottom:20px;
    text-align:left;
}

.ccbp-notice-success{
    background:#ecfdf5;
    color:#047857;
    border:1px solid #a7f3d0;
}

.ccbp-field{
    position:relative;
    margin-bottom:24px;
    text-align:left;
}

.ccbp-field input{
    width:100%;
    padding:13px 16px;
    border:1px solid #d9dee5;
    border-radius:999px;
    font-size:14px;
    background:#fff;
    transition:border-color .15s ease;
}

.ccbp-field input:focus{
    outline:none;
    border-color:#0284c7;
    box-shadow:0 0 0 3px rgba(2,132,199,.12);
}

/* Button: forced to match .ccbp-btn-outline exactly, in case theme resets <button> styles */
.ccbp-btn{
    display:block;
    box-sizing:border-box;
    width:fit-content;
    background:#0284c7 !important;
    color:#fff !important;
    border:1.5px solid #0284c7 !important;
    padding:13px 40px !important;
    border-radius:999px !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.4 !important;
    cursor:pointer;
    margin:0 auto;
    transition:background .15s ease;
}

.ccbp-btn:hover{
    background:#0369a1 !important;
    border-color:#0369a1 !important;
}

/* Sign In fallback, hidden on desktop since the left panel already has one */
.ccbp-mobile-signin{
    display:none;
    margin-top:22px;
    color:#64748b;
    font-size:14px;
    text-align:center;
}

.ccbp-mobile-signin a{
    color:#0284c7;
    font-weight:600;
    text-decoration:none;
}

/* RESPONSIVE */
@media(max-width:900px){
    .ccbp-forgot-card{
        grid-template-columns:280px 1fr;
    }
    .ccbp-forgot-card .ccbp-right{
        padding:40px;
    }
}

@media(max-width:768px){
    .ccbp-forgot-card{
        grid-template-columns:1fr;
        max-width:460px;
    }
    .ccbp-forgot-card .ccbp-left{
        display:none;
    }
    .ccbp-forgot-card .ccbp-right{
        padding:36px 30px;
    }
    .ccbp-form-box h2{
        font-size:28px;
    }

    /* Full width button on mobile */
    .ccbp-btn{
        width:100%;
        margin:0;
    }

    /* Show the fallback link now that the left panel is gone */
    .ccbp-mobile-signin{
        display:block;
    }
}

@media(max-width:480px){

    .ccbp-forgot-page{
        min-height:100dvh;
        padding:14px;
        align-items:center;
    }

    .ccbp-forgot-card{
        max-width:100%;
        border-radius:18px;
    }

    .ccbp-forgot-card .ccbp-right{
        padding:24px 22px;
    }

    .ccbp-form-box h2{
        font-size:22px;
    }

    .ccbp-form-box .ccbp-subtitle{
        font-size:14px;
        margin-bottom:18px;
    }

    .ccbp-field{
        margin-bottom:14px;
    }

    .ccbp-field input{
        padding:12px 14px;
        font-size:14px;
    }

    .ccbp-btn{
        width:100%;
        padding:13px;
    }

    .ccbp-mobile-signin{
        margin-top:18px;
        font-size:13px;
    }

}

/* Reset Password */

.password-field{
    position:relative;
}

.password-field input{
    padding:13px 16px !important;
}

.toggle-password{
    display:none !important;
}