/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 540px;
}

/* Title */
.auth-title {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}

/* Form */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 400;
}

.required {
    color: #ff0000;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #333;
}

.eye-icon {
    display: block;
}

/* Notice */
.form-notice {
    margin-bottom: 20px;
}

.form-notice p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Checkbox */
.form-checkbox {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.5;
}

/* Links */
.link {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.link:hover {
    opacity: 0.7;
}

.link-bold {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.link-bold:hover {
    opacity: 0.7;
}

.forgot-link {
    display: inline-block;
    font-size: 14px;
    text-align: center;
}

/* Buttons */
.btn-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.btn-submit:hover {
    background-color: #333;
}

.btn-google {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}

/* Divider */
.form-divider {
    text-align: center;
    margin: 20px 0;
}

.redirect-text {
    font-size: 14px;
    color: #666;
}

/* Responsive - 576px */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .password-wrapper .form-input {
        padding-right: 40px;
    }

    .btn-submit {
        padding: 12px 18px;
        font-size: 15px;
    }

    .btn-google {
        padding: 10px 18px;
        font-size: 13px;
    }

    .form-notice p,
    .form-checkbox label,
    .redirect-text {
        font-size: 12px;
    }
}

/* Responsive - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .auth-card {
        max-width: 500px;
        padding: 38px;
    }

    .auth-title {
        font-size: 30px;
    }
}

/* Responsive - 1200px and up */
@media (min-width: 1200px) {
    .auth-card {
        max-width: 540px;
        padding: 40px;
    }

    .auth-title {
        font-size: 32px;
    }
}