
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding-left: 20vh;
    background-image: url("/image/bgr.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.login-container {
    /* background-color: rgba(255, 255, 255, 0);  */
    /* background-color: rgba(0, 0, 0, 0.55);  */
    padding: 20px;
    border-radius: 15px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    width: 400px;
    height: 310px;
    text-align: center;
    border: 2px solid #4CAF50;
}

h2 {
    margin-bottom: 20px;
    color: rgb(30, 117, 49); /* Đổi màu chữ thành trắng */
    font-weight: bold;
    font-size: 20px;
}



input {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    margin-bottom: 5px;
    border: none;
    border-radius: 12px; /* Làm tròn input */
    outline: none;
    transition: 0.3s;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2); /* Làm mờ ô nhập */
    color: black;
    text-align: left;
    border: 2px solid #4CAF50;

}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* input:focus {
    border: 2px solid #4CAF50;
    background: rgba(255, 255, 255, 0.3);
} */

button {
    width: 40%;
    padding: 12px;
    margin-top: 15px;
    background: #00704a; /* Hiệu ứng gradient */
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Thêm bóng nhẹ */
}

button:hover {
    background: #005f3f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Bóng mạnh hơn khi hover */
}

button:active {
    transform: scale(0.95); /* Hiệu ứng nhấn nhẹ */
}



.input-container {
    position: relative;
    width: 100%;
    margin-top: 15px;
    text-align: left;
}
.input-container label{
    color: #005f3f;
    font-weight: bold;
   
}



input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

input:focus::placeholder {
    color: transparent;
}



.error {
    color: red;
    font-weight: bold;
    /* background-color: #f8d7da; */
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
}


.alert {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}



.password-container i {
    position: absolute;
    right: 12px;
    top: 65%;
    /* top: 53%; */
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    font-size: 18px;
    transition: color 0.3s;
}

.password-container i:hover {
    color: #546e8a; 
}