/* Custom styles for VetJobs Portal */

/* Root variables for consistent theming */
:root {
    --primary-gradient: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    --success-gradient: linear-gradient(135deg, var(--bs-success), var(--bs-teal));
    --hero-height: 60vh;
}

/* Hero section styling */
.min-vh-50 {
    min-height: 50vh;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Button enhancements */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Gradient backgrounds for feature cards */
.bg-gradient {
    background: linear-gradient(135deg, currentColor, rgba(255, 255, 255, 0.1));
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Dashboard card styling */
.dashboard-card {
    border-left: 4px solid var(--bs-primary);
}

.dashboard-card.success {
    border-left-color: var(--bs-success);
}

.dashboard-card.info {
    border-left-color: var(--bs-info);
}

.dashboard-card.warning {
    border-left-color: var(--bs-warning);
}

/* Progress bar styling */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Icon styling */
.icon-lg {
    font-size: 3rem;
}

.icon-md {
    font-size: 2rem;
}

/* Navbar enhancements */
.navbar-brand {
    font-size: 1.5rem;
}

/* Footer styling */
footer a:hover {
    color: var(--bs-primary) !important;
    transition: color 0.2s ease-in-out;
}

/* Form styling */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Alert styling */
.alert {
    border: none;
    border-radius: 8px;
}

/* Loading states */
.btn-loading {
    pointer-events: none;
    opacity: 0.65;
}

.btn-loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Dark mode specific enhancements */
[data-bs-theme="dark"] {
    --bs-body-bg: #0a0e1a;
    --bs-body-color: #e9ecef;
}

[data-bs-theme="dark"] .card {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

/* Utility classes */
.cursor-pointer {
    cursor: pointer;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--primary-gradient) 1;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Statistics section styling */
.stats-section .display-4 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Feature section enhancements */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Dashboard specific styles */
.dashboard-stat-card {
    background: linear-gradient(135deg, currentColor, rgba(255, 255, 255, 0.1));
    border: none;
    color: white;
}

.dashboard-quick-action {
    border: 2px dashed var(--bs-border-color);
    transition: all 0.3s ease;
}

.dashboard-quick-action:hover {
    border-style: solid;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/* Profile completion styling */
.profile-completion-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.profile-completion-item:last-child {
    border-bottom: none;
}

/* Status badges */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

/* Timeline styling for future use */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--bs-border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--bs-primary);
    border-radius: 50%;
    border: 2px solid var(--bs-body-bg);
}
