/* ==========================================================================
   Custom Style for Login Page & Login Box
   SIAKAD Frontend & Admin
   ========================================================================== */

html, body.login-page-custom {
    height: 100%;
}

.login-page-custom {
    background-color: #0f2043;
    background-image: linear-gradient(135deg, rgba(15, 32, 67, 0.90), rgba(30, 85, 140, 0.88)), url('../../images/gplaypattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.login-box-custom {
    width: 760px;
    max-width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-box-custom .card {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 0;
}

.login-box-custom .card-header {
    background: linear-gradient(135deg, #001f3f, #003366) !important;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-box-custom .card-header .h1 {
    font-size: 1.75rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

.login-box-custom .card-body {
    padding: 1.75rem;
    background-color: #ffffff;
}

.login-box-custom .info-pt-side {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.25rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.login-box-custom .info-pt-side img {
    max-height: 90px;
    max-width: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.login-footer-text {
    width: 100%;
    margin-top: 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.login-footer-text p {
    margin-bottom: 0;
}

/* Responsif untuk layar kecil / smartphone */
@media (max-width: 767.98px) {
    .login-box-custom {
        width: 100%;
        max-width: 440px;
    }
    .login-box-custom .card-body {
        padding: 1.25rem 1rem;
    }
}