

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url("../img/background-img.png");
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    width: 600px;
    height: auto;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.20);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .logo img {
        width: 130px;
        max-width: 100%;
        display: block;
        border-radius: 8px;
    }

.login-container h2 {
    margin-bottom: 5px;
    font-size: 26px;
    font-weight: bold;
    color: #1E2A38;
}

.subtitle {
    font-size: 14px;
    color: #1E2A38;
    margin-bottom: 15px;
}

.input-group {
    width: 100%;
    margin-bottom: 8px;
}

    .input-group label {
        font-size: 14px;
        color: #1E2A38;
        font-weight: 500;
    }

.star {
    color: red;
}

.input-group input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    background-color: #F8FAFC;
}

.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #ec952a;
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
}

.forgot {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    text-align: center;
}

.bottom-text {
    padding-top: 30px;
    color: white;
}

.input-icon {
    position: relative;
}

    .input-icon .icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #888;
        cursor: pointer;
    }

    .input-icon input {
        padding-right: 45px;
    }

@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding: 20px;
    }

    .login-container {
        width: 100%;
        padding: 25px;
        min-height: auto;
        margin-top: 40px;
    }

    .logo img {
        width: 90px;
        margin-bottom: 20px;
    }

    .btn {
        font-size: 15px;
        padding: 12px;
    }

    .input-icon input {
        padding-right: 35px;
    }

    .input-icon .icon {
        font-size: 18px;
    }
}
