* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    width: 100vw;
    height: 100vh;
    max-width: 100%; 
    overflow: hidden;
}

.image-section {
    flex: 7;
    background: url('../images/doctor-bg.jpg') no-repeat center center/cover;
    min-height: 300px;
    max-width: 100%;
}

.form-section {
    flex: 3;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Thêm khoảng cách bên trong để form không bị dính vào cạnh */
}

.form-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

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

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

.tabs span {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.tabs .active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.options .forgot-password {
    color: #007bff;
    text-decoration: none;
}

.login-button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.or-section {
    text-align: center;
    margin: 10px 0;
}

.google-button {
    padding: 10px;
    background-color: #db4437;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.register-link {
    font-size: 14px;
    color: #555;
    margin-top: 15px;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        max-height: 100vh;
    }

    .image-section {
        width: 100%;
        height: 200px;
    }

    .form-section {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .form-container {
        width: 100%;
        max-width: 350px;
    }

    .tabs span {
        font-size: 16px;
    }

    .login-button,
    .google-button {
        font-size: 14px;
        padding: 8px;
    }

    .options {
        font-size: 12px;
    }

    .register-link {
        font-size: 12px;
    }
}
