/* Basic Reset & Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #2d2d2d;
    color: #f0f0f0;
    height: 100vh;
    overflow: hidden;
}

/* Main Container Layout */
.login-container {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1.5rem 0 1.5rem 2rem;
}

/* Left Panel (Background Image) */
.left-panel {
    width: 70%;
    background-image: url("../img/img-login.svg");
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Right Panel (Form) */
.right-panel {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10rem;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    display: block;
    max-width: 150px;
    margin-bottom: 2.5rem;
}

.header-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.header-text p {
    font-size: 0.9rem;
    color: #adb5bd;
}

.header-text .login-subtext {
    margin-bottom: 3rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 0.9rem 1.2rem 3.5rem;
    background-color: #1b1b1b;
    border: 1px solid #1b1b1b;
    border-radius: 8px;
    color: #f8f9fa;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #4570a9;
    box-shadow: 0 0 0 3px rgba(76, 107, 255, 0.2);
}

.input-group .input-icon {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    width: 20px;
}

/* Styling untuk icon eye pass */
.input-group #togglePassword {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #adb5bd;
}

.forgot-password p {
    font-size: 12px;
    color: #bebebe;
    margin: -1rem 0 3rem 0;
    text-align: left;
    font-style: italic;
}

.footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #6c757d;
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 70px;
    background: #4570a9;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 107, 255, 0.3);
}

/* Alert/Error Messages */
.alert {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #4d1a21;
    color: #f8d7da;
    border: 1px solid #da3649;
}
.alert-danger ul {
    padding-left: 1.2rem;
}

/* Responsive for smaller screens */
@media (max-width: 992px) {
    .left-panel {
        display: none;
    }
    .right-panel {
        flex-basis: 100%;
    }
}
