/* Auth Modal Styles */
.auth-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.auth-modal .modal-header {
    border-bottom: none;
    padding: 20px 32px 0;
}

.auth-modal .modal-body {
    padding: 24px 32px;
}

.auth-modal .modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.auth-modal .btn-close {
    background: none;
    border: none;
    padding: 0;
    font-size: 24px;
    color: #666;
}

.auth-form {
    margin-top: 16px;
}

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

.auth-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.auth-form .form-control {
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}

.auth-form .form-control:focus {
    border-color: #55BEBE;
    box-shadow: 0 0 0 3px rgba(85, 190, 190, 0.1);
}

.auth-form .password-field {
    position: relative;
}

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

.auth-form .btn-auth {
    width: 100%;
    height: 48px;
    background: #55BEBE;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.auth-form .btn-auth:hover {
    background: #489898;
}

.auth-form .forgot-password {
    color: #55BEBE;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 16px;
}

.auth-form .forgot-password:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social-auth {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-auth-btn {
    flex: 1;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.social-auth-btn:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
}

.social-auth-btn i {
    font-size: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #55BEBE;
    text-decoration: none;
    font-weight: 500;
}

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

/* Form validation styles */
.auth-form .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 12px;
    color: #dc3545;
}

.was-validated .form-control:invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-feedback {
    display: block;
}

/* Animation */
.auth-modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.15s ease-out;
}

.auth-modal.show .modal-dialog {
    transform: scale(1);
}