
/* Himtech Admin Login Portal v1.1.0
   Scoped ONLY to /admin-login/. Header and footer are untouched. */

body:has(.himtech-admin-login-page) .page-header,
body:has(.himtech-admin-login-page) .entry-header,
body:has(.himtech-admin-login-page) .page-title,
body:has(.himtech-admin-login-page) .elementor-page-title,
body:has(.himtech-admin-login-page) .elementor-widget-theme-post-title,
body:has(.himtech-admin-login-page) .elementor-widget-post-title {
    display: none !important;
}

body:has(.himtech-admin-login-page) .site-main,
body:has(.himtech-admin-login-page) .content-area,
body:has(.himtech-admin-login-page) .site-content,
body:has(.himtech-admin-login-page) .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.himtech-admin-login-page) {
    background: #eef3f9 !important;
}

.himtech-admin-login-page {
    width: 100%;
    box-sizing: border-box;
    min-height: 560px;
    padding: 58px 20px 58px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.himtech-admin-login-card {
    width: min(520px, 100%);
    min-height: 520px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #10284a;
    border-radius: 6px;
    padding: 30px 30px 28px;
    box-shadow: 0 12px 28px rgba(16,40,74,.12);
    color: #10284a;
}

.himtech-staff-avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.himtech-staff-avatar-svg {
    width: 108px !important;
    height: 108px !important;
    display: block;
}

.himtech-admin-login-card h2 {
    text-align: center;
    margin: 0;
    font-size: 27px;
    line-height: 1.2;
    color: #10284a;
}

.himtech-staff-caption {
    text-align: center;
    color: #365a86;
    margin: 5px 0 20px;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 600;
}

.himtech-staff-divider {
    height: 1px;
    background: #dce3eb;
    position: relative;
    margin: 0 0 20px;
    text-align: center;
}

.himtech-staff-divider span {
    position: relative;
    top: -9px;
    background: #fff;
    padding: 0 12px;
    color: #263f5d;
    font-size: 13px;
    line-height: 18px;
}

.himtech-admin-login-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #10284a;
    margin: 14px 0 7px;
}

.himtech-staff-input {
    height: 48px;
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    padding: 0 11px;
    transition: border-color .2s, box-shadow .2s;
}

.himtech-staff-input:focus-within {
    border-color: #326fc1;
    box-shadow: 0 0 0 3px rgba(50,111,193,.10);
}

.himtech-staff-input > .dashicons {
    font-size: 19px;
    width: 19px;
    height: 19px;
    color: #58718e;
}

.himtech-staff-input input {
    width: 100%;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #172f4d !important;
    box-shadow: none !important;
    padding: 0 3px !important;
    font-size: 14px;
}

.himtech-staff-input input::placeholder {
    color: #8a99aa;
}

.himtech-staff-pass-toggle {
    border: 0;
    background: transparent;
    color: #58718e;
    padding: 5px;
    cursor: pointer;
    line-height: 1;
}

.himtech-staff-pass-toggle .dashicons {
    font-size: 19px;
}

.himtech-admin-login-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #10284a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 23px;
    box-shadow: 0 5px 14px rgba(16,40,74,.18);
    transition: .2s;
}

.himtech-admin-login-button:hover {
    background: #183b68;
    transform: translateY(-1px);
}

.himtech-staff-error {
    background: #fff3f2;
    border: 1px solid #efc5c1;
    color: #9b2924;
    border-radius: 6px;
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 10px;
}

@media (max-width: 767px) {
    .himtech-admin-login-page {
        min-height: 510px;
        padding: 30px 15px 35px;
    }

    .himtech-admin-login-card {
        min-height: 510px;
        padding: 27px 22px 26px;
    }

    .himtech-staff-avatar,
    .himtech-staff-avatar-svg {
        width: 102px !important;
        height: 102px !important;
    }
}


/* v1.1.1 — ONLY the Admin Login page title/avatar are refined.
   Existing authentication, card sizing, header and footer remain unchanged. */

/* Hide only the standalone page heading "Admin Login"; the card heading remains visible. */
body:has(.himtech-admin-login-page) .himtech-staff-page-heading-hidden {
    display: none !important;
}

.himtech-staff-avatar-image {
    width: 108px !important;
    height: 108px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 50% !important;
}

/* v1.2.2 — Remove the standalone WordPress/page heading above the login card.
   The Admin Login heading INSIDE the card remains visible. */
body:has(.himtech-admin-login-page) main > h1,
body:has(.himtech-admin-login-page) main h1.entry-title,
body:has(.himtech-admin-login-page) main .entry-title,
body:has(.himtech-admin-login-page) main .page-title,
body:has(.himtech-admin-login-page) main .wp-block-post-title,
body:has(.himtech-admin-login-page) article > h1,
body:has(.himtech-admin-login-page) article .entry-title,
body:has(.himtech-admin-login-page) .entry-header > h1 {
    display: none !important;
}
