* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background: #f4f7fb;
}

.login-page {
    min-height: 100vh;

    display: flex;
}

.welcome-section {
    width: 50%;

    min-height: 100vh;

    padding: 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        145deg,
        #e8f0ff,
        #f5f8ff
    );
}

.school-logo {
    width: auto;
    height: 180px; /* dari 130px → 180px */
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.school-logo img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.school-logo img:first-child {
    width: 180px;
    height: 180px;
}

.welcome-section h1 {
    font-size: 32px;

    color: #1f2937;

    margin-bottom: 15px;
}

.welcome-section p {
    font-size: 21px;

    line-height: 1.5;

    color: #4f46e5;

    font-weight: 600;

    margin-bottom: 20px;
}

.welcome-section span {
    max-width: 430px;

    color: #6b7280;

    font-size: 15px;

    line-height: 1.7;
}

.login-section {
    width: 50%;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;

    background: white;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-box h2 {
    font-size: 30px;

    color: #1f2937;

    margin-bottom: 8px;
}

.login-description {
    color: #6b7280;

    font-size: 14px;

    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    font-size: 14px;

    font-weight: 600;

    color: #374151;
}

.form-group input {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #d8dee9;

    border-radius: 10px;

    background: #f9fafc;

    outline: none;

    font-size: 14px;

    transition: 0.2s;
}

.form-group input:focus {
    border-color: #6366f1;

    background: white;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: #a0a6b1;
}

button {
    width: 100%;

    padding: 15px;

    margin-top: 5px;

    border: none;

    border-radius: 10px;

    background: #4f46e5;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #4338ca;

    transform: translateY(-1px);
}

.error {
    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 9px;

    background: #fff1f2;

    color: #be123c;

    font-size: 14px;
}

.footer {
    margin-top: 30px;

    text-align: center;

    color: #9ca3af;

    font-size: 12px;
}

@media (max-width: 768px) {

    .login-page {
        flex-direction: column;
    }

    .welcome-section {
        width: 100%;

        min-height: auto;

        padding: 40px 25px;

        align-items: center;

        text-align: center;
    }

    .school-logo {
        width: 100px;
        height: 100px;

        margin-bottom: 20px;
    }

    .welcome-section h1 {
        font-size: 24px;
    }

    .welcome-section p {
        font-size: 17px;
    }

    .welcome-section span {
        display: none;
    }

    .login-section {
        width: 100%;

        min-height: auto;

        padding: 40px 25px;
    }

    .login-box h2 {
        font-size: 25px;
    }
}

.password-wrapper .toggle-password {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    background: transparent !important;
    color: #777 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;

    width: 20px !important;
    height: 20px !important;

    transition: none !important;
    animation: none !important;
}

.password-wrapper .toggle-password:hover,
.password-wrapper .toggle-password:focus,
.password-wrapper .toggle-password:active {
    background: transparent !important;
    color: #777 !important;
    transform: translateY(-50%) !important;
    transition: none !important;
    animation: none !important;
}

.password-wrapper {
    position: relative !important;
    width: 100% !important;
}

@media (max-width: 576px) {
    .school-logo {
        height: 110px;
        gap: 10px;
        margin-bottom: 20px;
    }

    .school-logo img {
        width: 100px;
        height: 100px;
    }

    .school-logo img:first-child {
        width: 150px;
        height: 150px;
    }
}
