@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kantumruy Pro", sans-serif;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(90.5deg, rgba(112,181,176,1) 1.9%, rgba(220,244,241,1) 87.7%);
    padding: 20px;
}

section {
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #FFF;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    margin-bottom: 30px;
}

.title h2 {
    font-size: 32px;
    color: #1e3c72;
}

.icon, .form_login {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.icon {
    border-right: 2px solid #8080809b;
}

.icon img {
    max-width: 100%;
    height: auto;
}

.form_login form {
    width: 100%;
}

.gr_input {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.gr_input label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.gr_input label p {
    font-size: 16px;
    margin-left: 8px;
    font-weight: 500;
    color: #333;
}

.gr_input label i {
    font-size: 16px;
    color: #1e3c72;
}

.gr_input input {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.gr_input input:focus {
    border-color: #1e3c72;
}

.btn-login {
    width: 100%;
    margin-top: 10px;
}

.btn-login button {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    border: 0;
    border-radius: 5px;
    background-image: linear-gradient(to right, #1e3c72 0%, #2a5298 51%, #1e3c72 100%);
    cursor: pointer;
}

.btn-login button:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.message {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.error-message {
    color: #d72727;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        flex-direction: column;
        padding: 30px 20px;
    }

    .icon {
        border-right: none;
        border-bottom: 2px solid #8080809b;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .icon, .form_login {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .title h2 {
        font-size: 24px;
    }

    .gr_input input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-login button {
        padding: 10px 0;
        font-size: 14px;
    }
}