:root{
    --veryDarkGreen: #191e29;
    --deepOcean : #132d46;
    --turqoise: #01c38d;
    --lightTurqoise: #93fee0;
    --Gray: #696e79;
    --lightGray: #e6e6e6;
    --white: #fff;
    --red: #c30101;
    --lightRed: #ef5353;
    --blue: #0d6efd;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#login {
    padding: 80px 0;
    min-height: 100svh;
    position: relative;
    overflow: hidden; 
}

#login::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/background5.png") center/cover no-repeat;
    filter: blur(4px);
    transform: scale(1.1); /* supaya blur tidak kepotong */
    z-index: 0;
}

#login .container {
    position: relative;
    z-index: 1;
}

.form-login {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px black;
    overflow: hidden;
}


.form-logo {
    background-color: var(--veryDarkGreen); 
    color: white;
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.form-logo .logo-yayasan {
    width: 100px;
    margin-bottom: 25px;
}

.form-logo .logo-siadam {
    width: 300px;
    margin-bottom: 25px;
}

.form-logo h6 {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.form-content {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.form-content h2 {
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 24px;
    color: var(--deepOcean);
    text-align: center;
}

.form-field a.text-muted {
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    color: var(--Gray);
    text-decoration: none;
}

.form-field a.text-muted:hover {
    text-decoration: underline;
}

.form-button-group button.btn-primary {
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 16px;
    margin-top: 25px;
    cursor: pointer;
}

.form-button-group button.btn-primary:hover {
    background-color: var(--turqoise);
}

.password-container {
    position: relative;
}

.btn-toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--Gray);
    padding: 0;
    line-height: 1;
}

.btn-toggle-password:focus {
    outline: none;
    color: var(--blue);
}

.login-admin a.btn{
    background-color: var(--veryDarkGreen);
    border: none;
    position: absolute;
    top: 10px;
    right: 20px;
}

.footer-content{
    display: flex;
    flex-direction: row;
    min-height: 100px;
    background-color: var(--deepOcean);
    align-items: center;
}

.footer-content img{
    width: 100px;
    height: 50px;
    margin: 10px;
}

.footer-content p{
    margin: 10px;
    color: var(--white);
    width: 500px;
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 500px) {
    .form-login {
        flex-direction: column;
        max-width: 400px;
    }

    .form-logo, .form-content {
        padding: 30px 20px;
    }

    .form-logo {
        border-radius: 12px 12px 0 0;
    }

    .form-content {
        border-radius: 0 0 12px 12px;
    }
}

