/* 
 * Premium Aesthetic Layer for WeHired Modules
 */

/* 1. Urgency Box Enhancement */
.job-urgency-box {
    background: linear-gradient(135deg, #fffdf0 0%, #fff9c4 100%) !important;
    border: 1px dashed #fbc02d !important;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.12);
    border-radius: 12px !important;
    padding: 20px !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.job-urgency-box:hover {
    transform: scale(1.02);
}

/* 2. Job Alerts (Vibrant Blue) */
.alert-form-premium {
    background: linear-gradient(135deg, #0d6efd 0%, #004dc7 100%) !important;
    border-radius: 15px !important;
    padding: 30px !important;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
    color: white !important;
    margin-bottom: 30px !important;
}

.alert-form-premium h3,
.alert-form-premium p {
    color: white !important;
}

.alert-form-premium .btn {
    background: white !important;
    color: #0d6efd !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 3. Activity Timeline (Glassmorphism) */
.timeline-premium {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
    border: 1px solid #f0f0f0 !important;
    border-left: 5px solid #0d6efd !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
}

.timeline-premium h5 {
    color: #0d6efd !important;
    font-weight: 700 !important;
}

/* 4. Related Jobs (Modern Cards) */
.related-job-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.related-job-item:hover {
    border-color: #0d6efd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.related-job-item h4 a {
    color: #2b3445;
    text-decoration: none;
    transition: color 0.2s;
}

.related-job-item:hover h4 a {
    color: #0d6efd;
}

/* 5. Testimonials (Premium Look) */
.testimonial-premium {
    background: #ffffff !important;
    border: 1px solid #f5f5f5 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important;
    border-radius: 20px !important;
    padding: 35px !important;
}

.testimonial-premium:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07) !important;
}

/* 1. Floating Apply Button (Mobile UX) */
.floating-apply-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.floating-apply-btn a {
    display: block;
    background: linear-gradient(135deg, #00c853 0%, #64dd17 100%);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
    animation: pulseApply 2s infinite;
}

@keyframes pulseApply {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .floating-apply-btn {
        display: block;
    }
}

/* 2. Salary Insights Module */
.job-header-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.premium-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.highlight-icon {
    font-size: 24px;
    min-width: 40px;
}

.highlight-info {
    font-size: 0.95rem;
    line-height: 1.4;
}

.salary-label {
    display: block;
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salary-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .job-header-highlights {
        grid-template-columns: 1fr;
    }
}

/* 3. Trust Badges */
.form-trust-badges {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #95a5a6;
}

.badge-icon {
    font-size: 18px;
}

/* 4. Related Keywords Cloud */
.related-seo-cloud h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.cloud-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cloud-tag {
    background: #f1f4f6;
    color: #34495e;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cloud-tag:hover {
    background: #fff;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

/* 5. Application Roadmap (Stepper) */
.application-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.application-stepper::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e0e6ed;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 25%;
}

.step-dot {
    width: 26px;
    height: 26px;
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.step.active .step-dot {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.step-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #95a5a6;
    text-transform: uppercase;
}

.step.active .step-label {
    color: #2c3e50;
}

/* 6. Premium Dark Mode */
body.wehired-dark-mode {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

.wehired-dark-mode .container,
.wehired-dark-mode #main,
.wehired-dark-mode section,
.wehired-dark-mode article {
    background-color: #0f172a !important;
}

.wehired-dark-mode h1,
.wehired-dark-mode h2,
.wehired-dark-mode h3,
.wehired-dark-mode h4,
.wehired-dark-mode .job-title a,
.wehired-dark-mode .salary-value {
    color: #ffffff !important;
}

.wehired-dark-mode .job-card,
.wehired-dark-mode .job-filters,
.wehired-dark-mode .premium-card,
.wehired-dark-mode .job-content-card,
.wehired-dark-mode #ai-generator-container {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

.wehired-dark-mode .job-excerpt,
.wehired-dark-mode .section-desc,
.wehired-dark-mode p {
    color: #94a3b8 !important;
}

.wehired-dark-mode input,
.wehired-dark-mode select,
.wehired-dark-mode textarea {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

.wehired-dark-mode .btn-secondary {
    background: #334155 !important;
    color: #fff !important;
}

.wehired-dark-mode .job-urgency-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #fbbf24 !important;
}

.wehired-dark-mode .cloud-tag {
    background: #334155 !important;
    color: #e2e8f0 !important;
}