/* Auth Pages Specific Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 0;
}

.auth-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray);
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    height: 60px;
    width: auto;
}

.auth-animation {
    text-align: center;
    margin-bottom: 20px;
}

.auth-animation img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    width: auto;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.divider span {
    padding: 0 15px;
    color: var(--gray);
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    background: #f5f5f5;
}

.social-btn i {
    font-size: 18px;
}

.password-toggle {
    position: relative;
}

.password-toggle .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

/* Responsive adjustments for auth pages */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
}

/* Service Pages */
.service-page {
    min-height: 100vh;
}

.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-content {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Resources Pages */
.resources-page {
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.blog-content {
    padding: 25px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Company Pages */
.company-page {
    min-height: 100vh;
}

.careers-content {
    padding: 60px 0;
}

.jobs-list {
    margin-top: 40px;
}

.job-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

/* Validation Styles */
.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-text {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Group Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 2;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.password-toggle .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    z-index: 2;
    padding: 5px;
    border-radius: 4px;
}

.toggle-password:hover {
    background-color: #f3f4f6;
}

/* Client-specific auth styles */
.auth-side-panel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits-list {
    margin-top: 30px;
}

.benefits-list h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--light); /* A lighter shade for icons */
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.benefit-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.testimonial {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    text-align: center;
}

.testimonial-content i {
    font-size: 2.5rem;
    color: #bbdefb;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.security-notice {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    backdrop-filter: blur(10px);
}

.security-notice i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #bbdefb;
}

.security-notice h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.security-notice p {
    margin: 0 0 10px 0;
    opacity: 0.9;
}