/**
 * Authentication styles for Vietnamese Hangman
 */

.auth-container {
    max-width: 500px;
    margin: 40px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background-color: #f9f9f9;
    border-bottom: 2px solid #4CAF50;
}

.auth-form-container {
    padding: 25px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-title {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.auth-subtitle {
    margin-bottom: 20px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.auth-form .btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-links a:hover {
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me input {
    margin-right: 8px;
}

.password-input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.toggle-password:hover {
    color: #333;
}

.form-feedback {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-feedback.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.form-feedback.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
}

.social-auth {
    margin-top: 20px;
    text-align: center;
}

.social-auth-title {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.social-auth-title:before,
.social-auth-title:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #ddd;
}

.social-auth-title:before {
    left: 0;
}

.social-auth-title:after {
    right: 0;
}

.social-auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-auth-button:hover {
    transform: translateY(-2px);
}

.social-auth-button.facebook {
    background-color: #3b5999;
    color: white;
}

.social-auth-button.google {
    background-color: #dd4b39;
    color: white;
}

.social-auth-button.twitter {
    background-color: #55acee;
    color: white;
}

.auth-note {
    margin-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

/* Responsive styles */
@media (max-width: 576px) {
    .auth-container {
        margin: 20px;
    }
    
    .auth-form-container {
        padding: 20px 15px;
    }
}