/* Modern Authentication Pages Styles */

/* Hero Section Animations */
.hero-content {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Authentication Card */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.auth-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: white;
}

.auth-subtitle {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.auth-card-body {
    padding: 2.5rem 2rem;
}

/* Form Styles */
.auth-card .form-group {
    margin-bottom: 1.5rem;
}

.auth-card .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-card .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-card .custom-select {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-position: right 1rem center;
}

.auth-card .custom-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-card .help-block {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* Button Styles */
.auth-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.auth-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.auth-card .btn-primary:active {
    transform: translateY(0);
}

/* Links */
.auth-card .text-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-card .text-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Alerts */
.auth-card .alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 1.5rem;
}

.auth-card .alert-danger {
    background: #fee;
    color: #c53030;
}

.auth-card .alert-primary {
    background: #ebf4ff;
    color: #2c5282;
}

.auth-card .invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    border-left: 4px solid #667eea;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-box i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
}

.info-box p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.alert-info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-info-box i {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-top: 0.25rem;
}

.alert-info-box p {
    margin: 0;
    color: #78350f;
    line-height: 1.6;
    font-weight: 500;
}

/* Password Requirements */
.password-requirements {
    background: #f7fafc;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.password-requirements h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: #4a5568;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements li i {
    color: #48bb78;
    font-size: 1rem;
}

/* Footer */
.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1.5rem;
}

/* Password Toggle */
.toggle-password {
    border-left: none;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

.toggle-password:hover {
    background: #f7fafc;
}

.input-group .form-control {
    border-radius: 10px 0 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .auth-card {
        border-radius: 15px;
    }

    .auth-card-header {
        padding: 2rem 1.5rem;
    }

    .auth-card-body {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .feature-item i {
        font-size: 1.25rem;
    }
}
