body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.header {
    width: 100%;
    background-color: #f4f4f4;
}

.header img {
    width: 100%;
    display: block;
}

.language-switch {
    margin-top: 15px;
    text-align: center;
}

.language-switch img {
    width: 28px;
    height: 28px;
    margin-left: 10px;
    cursor: pointer;
}

.login-container {
    text-align: center;
    width: 400px;
    background-color: #ffffff;
    margin-top: 20px;
}

.login-box {
    border: 1px solid #d3d3d3;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    margin-bottom: 18px; /* Decrease bottom margin */
    margin-top: 0px; /* Add negative top margin */
    color: #007bff;
    background-color: #d3e0ff;
    padding: 8px;
    border-radius: 3px;
}

.textbox {
    margin-bottom: 15px;
    text-align: left;
}

.textbox label {
    display: block;
    margin-bottom: 5px;
}

.textbox input {
    width: calc(100% - 16px);
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.textbox input:focus,
.input-container input:focus {
    border-color: black;
    outline: none;
}

.input-container:focus-within {
    border-color: black;
}

.input-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
}

.input-container i {
    margin-right: 10px;
}

.input-container input {
    border: none;
    outline: none;
    flex: 1;
}

.password-container {
    position: relative;
    width: auto;
    display: flex;
    align-items: center;
}

.password-container input {
    flex: 1;
    border: none;
    outline: none;
}

.password-container .fa-lock,
.password-container .fa-eye {
    margin-right: 10px;
}

.password-container .fa-eye {
    cursor: pointer;
    position: absolute;
    right: 10px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2px;
}

button:hover {
    background-color: #0056b3;
}

.ip-address {
    margin-top: 10px;
    text-align: center;
}

.ip-label {
    color: black;
}

.ip-value {
    color: red;
}

#send-otp-button {
    background-color: #f0f8ff; /* Light blue background */
    color: #007bff; /* Blue text color */
    border: 1px solid #007bff; /* Blue border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    display: block;
    text-align: center;
    margin: 10px auto;
    transition: background-color 0.3s, color 0.3s;
}

#send-otp-button:hover {
    background-color: #007bff; /* Blue background on hover */
    color: #f0f8ff; /* Light blue text color on hover */
}

.otp-notification {
    margin-top: 10px;
    text-align: center;
    color: red;
    font-size: 13px;
    line-height: 1.5; /* Adjust the line height for spacing */
    display: none; /* Ẩn phần tử này mặc định */
}

.microsoft-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2F2F2F; /* Dark gray background */
    color: #FFFFFF; /* White text */
    border: none;
    padding: 12px 12px;
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 0; /* No rounded corners */
    width: 250px; /* Specific width */
    height: 41px; /* Specific height */
    transition: background-color 0.2s, color 0.2s, border 0.2s; /* Smooth transition for hover effects */
    margin-top: 0px; /* Added top margin */
    margin-bottom: 16px; /* Added bottom margin */
}

.microsoft-login-button:hover {
    background-color: #FFFFFF; /* White background on hover */
    color: #5E5E5E; /* Dark gray text on hover */
    border: 1px solid #ccc; /* Light gray border on hover */
}
