/* Auth Pages Styles - Login & Register */

/* Auth Container - Centering */
.auth-container {
    min-height: calc(100vh - var(--header-height, 56px) - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-box {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.auth-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 1.5rem;
}

/* Fix link underline on hover for buttons */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* Remove Bootstrap default link styles */
a.btn,
a .btn {
    color: inherit;
}

a.btn:hover,
a .btn:hover {
    text-decoration: none !important;
}

/* Override Bootstrap primary button - use site accent color */
.btn-primary {
    background-color: #ff0050 !important;
    border-color: #ff0050 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 0, 80, 0.2);
}

.btn-primary:hover {
    background-color: #e6004a !important;
    border-color: #e6004a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 80, 0.3);
    text-decoration: none !important;
}

.btn-primary:focus,
.btn-primary:active {
    background-color: #cc003d !important;
    border-color: #cc003d !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.15);
}

/* Override Bootstrap secondary button - neutral gray */
.btn-secondary {
    background-color: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #0f0f0f !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #0f0f0f !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
}

.btn-secondary:focus,
.btn-secondary:active {
    background-color: #d1d5db !important;
    border-color: #9ca3af !important;
}

/* Style for auth cards */
.card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 1.125rem;
    color: #0f0f0f;
    border-radius: 12px 12px 0 0 !important;
}

.card-body {
    padding: 2rem;
}

/* Form inputs styling */
.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #ff0050;
    box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.1);
    outline: none;
}

.form-label,
label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Alert styling */
.alert-danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
    border-radius: 8px;
}

.alert-danger ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* hCaptcha container */
.h-captcha {
    margin: 0 auto;
}

/* Remove any blue color from links */
a:not(.btn) {
    color: #ff0050;
    transition: color 0.2s ease;
}

a:not(.btn):hover {
    color: #e6004a;
    text-decoration: none !important;
}

/* Specific fix for button inside link */
a > .btn {
    display: block;
    width: 100%;
}

/* Remove Bootstrap default focus outline, use custom */
.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.15) !important;
}

/* Full width buttons */
.btn.w-100 {
    width: 100%;
}

/* Spacing adjustments */
.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Auth page text styling */
.text-center {
    text-align: center !important;
}

.text-center.mb-2 {
    margin-bottom: 0.5rem !important;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem 1rem;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem 0.75rem;
    }
    
    .auth-box {
        padding: 1.5rem 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .auth-title {
        font-size: 1.35rem;
    }
}

