
.container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 200px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.login-link {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-link a {
    color: #0066cc;
    text-decoration: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.password-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px; /* Đảm bảo các ô input có khoảng cách đều nhau */
}

#password, #confirm-password {
    width: 100%;
    padding-right: 40px; /* Dành không gian cho biểu tượng con mắt */
    padding-left: 10px;  /* Đảm bảo có khoảng cách cho văn bản bên trong */
    box-sizing: border-box; /* Đảm bảo không gian tính đúng */
    height: 40px; /* Đảm bảo chiều cao của input cố định */
    margin-bottom: 10px; /* Khoảng cách giữa các trường */
}

#toggle-password, #toggle-confirm-password {
    position: absolute;
    right: 10px; /* Đưa biểu tượng con mắt vào vị trí bên phải */
    top: 50%;
    transform: translateY(-50%); /* Căn giữa biểu tượng theo chiều dọc */
    cursor: pointer;
    font-size: 18px; /* Kích thước biểu tượng con mắt */
}


.error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-register:hover {
    background-color: #555;
}

.social-login {
    margin-top: 20px;
    text-align: center;
}

.social-text {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-google {
    background-color: #dd4b39;
}

.password-strength {
    height: 5px;
    margin-top: 8px;
    border-radius: 2px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    font-weight: bold;
}

.terms-group {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
}

.terms-group input {
    margin-top: 3px;
    margin-right: 8px;
}

.terms-group label {
    font-size: 13px;
    color: #555;
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}