:root {
    --font-arial: Arial, sans-serif;
    --font-size-base: 1rem;
    --color-black: #36342E;
    --color-yellow: #FFB800;
    --color-yellow-light: #FFE49E;
    --color-yellow-dark: #DD9F00;
}

body {
    margin: 0;
    line-height: 1.6;
    font-family: var(--font-arial);
    overflow-x: hidden;
    color: var(--color-black);
}

main {
    display: flex;
    min-height: 100vh;
}

.login {
    width: 50%;
    padding: 0 6.13rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.login h5 {
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: block;
}

.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 97%;
    height: 2.8rem;
    border-radius: 0.9375rem;
    background: #FDFDFD;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    border: none;
    padding: 0 0.5rem;
    font-size: 1rem;
}

.input-group:last-of-type {
    display: flex;
    justify-content: space-between;
}

.box-ingat {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.box-ingat input[type="checkbox"] {
    margin-bottom: 0.5rem;
}

.lupa-password a {
    text-decoration: none;
    color: var(--color-black);
    font-style: italic;
}

.lupa-password a:hover {
    text-decoration: underline;
}

.login-form button {
    width: 100%;
    height: 3.2rem;
    border-radius: 0.9375rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    font-family: var(--font-arial);
    font-style: normal;
    line-height: normal;
}

.submit-button {
    background: var(--color-yellow);
    color: var(--color-black);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background: var(--color-yellow-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.submit-button:active {
    background: var(--color-yellow-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

.daftar-button {
    background: var(--color-black);
    color: var(--color-yellow);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.daftar-button:hover {
    background: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.daftar-button:active {
    background: #111;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

.gambar {
    width: 50%;
    overflow: hidden;
}

.gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .login {
        width: 100%;
        padding: 2rem 3.3rem;
    }

    .login-form {
        max-width: 100%;
    }

    .login-form input[type="email"],
    .login-form input[type="password"] {
        width: 98%;
    }

}

@media (max-width: 768px) {
    .login {
        width: 100%;
        padding: 2rem 1rem;
    }

    .gambar {
        display: none;
    }
}

@media (max-width: 480px) {
    .login h1 {
        font-size: 2rem;
    }

    .login-form button {
        font-size: 1.1rem;
    }

    .input-group:nth-child(3) {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.swal2-confirm-button-custom {
    background-color:  var(--color-yellow) !important;
    color: var(--color-black) !important;
}