/* =====================================================================
   PHARMASKILLCRAFT - Forgot / Reset Password pages
   Same look as student/login.php
===================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', Arial, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(15,139,141,.10), transparent 28%),
        radial-gradient(circle at 90% 90%, rgba(244,137,66,.10), transparent 28%),
        #F6F8FB;
    color: #17202A;
    min-height: 100vh;
}

.psc-auth-topbar {
    height: 72px;
    background: #123558;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    box-shadow: 0 5px 20px rgba(18,53,88,.12);
}

.psc-auth-topbar img { display: block; height: 46px; width: auto; }

.psc-auth-topbar a.back {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.psc-auth-topbar a.back:hover { color: #fff; }

.psc-auth-main {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 18px;
}

.psc-auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(18,53,88,.06);
    box-shadow: 0 22px 60px rgba(18,53,88,.13);
    position: relative;
    overflow: hidden;
}

.psc-auth-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, #123558, #0F8B8D, #F48942);
}

.psc-auth-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15,139,141,.10);
    color: #0F8B8D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 18px;
}

.psc-auth-card h1 {
    font-size: 26px;
    color: #123558;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}

.psc-auth-card .sub {
    color: #667085;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.psc-auth-alert {
    padding: 12px 14px;
    border-radius: 11px;
    margin-bottom: 19px;
    font-size: 12.5px;
    line-height: 1.55;
    display: flex;
    gap: 9px;
}

.psc-auth-alert i { margin-top: 2px; }
.psc-auth-alert.error   { background: #FEF3F2; border: 1px solid #FECACA; color: #B42318; }
.psc-auth-alert.success { background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647; }

.psc-auth-field { margin-bottom: 17px; }

.psc-auth-field label {
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.psc-auth-input { position: relative; }

.psc-auth-input i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #98A2B3;
    font-size: 13px;
    pointer-events: none;
}

.psc-auth-input input {
    width: 100%;
    height: 49px;
    border: 1px solid #D0D5DD;
    border-radius: 11px;
    padding: 0 14px 0 40px;
    font-family: inherit;
    font-size: 14px;
    color: #17202A;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.psc-auth-input input:focus {
    border-color: #0F8B8D;
    box-shadow: 0 0 0 4px rgba(15,139,141,.10);
}

.psc-auth-hint { color: #98A2B3; font-size: 11.5px; margin-top: 6px; }

.psc-auth-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #123558, #0F8B8D);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(18,53,88,.18);
    transition: transform .2s, box-shadow .2s;
}

.psc-auth-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(18,53,88,.22); color: #fff; }

.psc-auth-foot {
    text-align: center;
    color: #667085;
    font-size: 13px;
    margin-top: 21px;
}

.psc-auth-foot a { color: #0F8B8D; font-weight: 700; text-decoration: none; }

@media (max-width: 575px) {
    .psc-auth-topbar { height: 64px; padding: 0 18px; }
    .psc-auth-topbar img { height: 40px; }
    .psc-auth-topbar a.back span { display: none; }
    .psc-auth-main { min-height: calc(100vh - 64px); padding: 30px 14px; }
    .psc-auth-card { padding: 28px 21px; border-radius: 20px; }
}
