:root {
    --primary-blue: #073334;
    --care-green: #28a745;
}

body {
    font-family: 'Inter', sans-serif;
}

a{
    color: var(--care-green);
    transition: color 0.3s ease;
}

a:hover {
    color: #218838;
}
.mb-60{
    margin-bottom: 60px !important;
}
.color-primary-blue {
    color: var(--primary-blue) !important;
}
.color-secondary-green {
    color: var(--care-green) !important;
}
.btn-outline-secondery{
    border: var(--care-green) 1px solid !important;
}
/* Home page */

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.bg-care-green {
    background-color: var(--care-green) !important;
}

.bg-care-green:hover {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue);
}

.btn-primary-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #f8f9fa;
}

.btn-primary-blue:hover {
    background-color: #004494;
    border-color: #004494;
    color: #f8f9fa;
}

/* Shared components */
.service-icon-btn {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    background: white;
}

.service-icon-btn:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
}

.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-box {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.cta-box:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.1);
}

.safety-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Global nav/footer */
.navbar {
    background: white;
    border-bottom: 1px solid #dee2e6;
}

.navbar-brand {
    font-weight: 700;
    color: #073334;
}

.nav-link {
    color: #495057;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #073334;
}

.footer {
    background: #343a40;
    color: white;
    padding: 50px 0 30px;
}

/* --become caregiver page -- */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    padding: 120px 0 80px;
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    color: #073334;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #495057;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.why-caregiver {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    margin-bottom: 60px;
}

.benefit-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #073334, #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-title {
    color: #073334;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-description {
    color: #6c757d;
    line-height: 1.6;
}

.requirements-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 60px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.requirement-icon i {
    font-size: 1.2rem;
    color: white;
}

.requirement-content h5 {
    color: #073334;
    font-weight: 600;
    margin-bottom: 10px;
}

.requirement-content p {
    color: #6c757d;
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, #073334 0%, #28a745 100%);
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    text-align: center;
    margin-bottom: 80px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: #073334;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #073334;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 10px;
}

.btn-outline-white:hover {
    background: white;
    color: #073334;
    transform: translateY(-3px);
}

.steps-section {
    margin-bottom: 60px;
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #073334;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-title {
    color: #073334;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .why-caregiver,
    .requirements-section {
        padding: 40px 20px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .btn-white,
    .btn-outline-white {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

/* --about page -- */
.stat-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -30px;
    width: 2px;
    background: #e9ecef;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.timeline-item:last-child::before {
    display: none;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

/* --apply job page -- */
.apply-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    color: white;
}

.form-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicator {
    transition: all 0.3s ease;
}

.step-indicator.active {
    background-color: var(--primary-blue);
    color: white;
}

.step-indicator.completed {
    background-color: var(--care-green);
    color: white;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-blue);
    background-color: #f8f9fa;
}

.file-upload-area.dragover {
    border-color: var(--primary-blue);
    background-color: #e7f3ff;
}

/* --caregiver profile (view / after-login) -- */
.profile-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    color: white;
}

.profile-image {
    width: 180px;
    height: 180px;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.info-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.rating {
    color: #ffc107;
}

.availability-timeline {
    background: #f8f9fa;
    border-radius: 12px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--care-green);
}

.timeline-item.busy::before {
    background: #dc3545;
}

.timeline-item.available::before {
    background: var(--care-green);
}

.skill-badge {
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn {
    position: sticky;
    top: 100px;
}

.review-card {
    border-left: 3px solid var(--primary-blue);
}

.profile-sidebar {
    position: sticky;
    top: 100px;
}

.verified-badge {
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.book-now-btn {
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.bio-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.nid-verified {
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.nid-verified i {
    font-size: 1.5rem;
    margin-right: 15px;
}

@media (max-width:768px) {
    .profile-sidebar {
        position: relative;
        top: 0;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* --contact page -- */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    color: white;
}

.contact-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-answer {
    display: none;
    padding-top: 10px;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --find caregiver -- */
.search-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.caregiver-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.caregiver-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.filter-section {
    background: #f8f9fa;
    border-radius: 12px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.range-slider {
    accent-color: var(--primary-blue);
}

/* --invite family caregiver -- */
.btn-apon {
    background-color: #073334;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-apon:hover {
    background-color: #004085;
    transform: translateY(-2px);
    color: white;
}

.relationship-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.relationship-option:hover {
    border-color: #28a745;
    transform: translateY(-2px);
}

.relationship-option.selected {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

/* --auth (sign-in / sign-up) shared and sign-up specifics -- */
.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
}

.auth-left {
    background: linear-gradient(135deg, #28a745 0%, #073334 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right {
    padding: 60px 40px;
}

.user-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.user-type-card {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-type-card:hover {
    border-color: #073334;
    transform: translateY(-2px);
}

.user-type-card.selected {
    border-color: #073334;
    background: rgba(0, 86, 179, 0.1);
}

.user-type-card i {
    font-size: 2.5rem;
    color: #073334;
    margin-bottom: 10px;
}

@media (max-width:991px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 30px;
    }
}

@media (max-width:576px) {
    .auth-section {
        padding: 80px 0;
    }

    .auth-right {
        padding: 30px 20px;
    }

    .user-type-selector {
        flex-direction: column;
    }
}

/* --service pages shared styles-- */
.hero-section {
    background: linear-gradient(135deg, #073334 0%, #28a745 100%);
    color: white;
    padding: 60px 0;
}

.service-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.caregiver-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.caregiver-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.caregiver-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.age-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --page specific hero colors-- */
.hero-section-pink {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}
.hero-section-blue {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}
.hero-section-purple {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
.hero-section-violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.hero-section-red {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
}

.emergency-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.emergency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.emergency-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
}

.hotline-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.hospital-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.hospital-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 2px;
}

.area-emergency {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.quick-call-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* ambulance page styles */
.ambulance-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.ambulance-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
Y(-5px    transform: translate);
}

.ambulance-image {
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ambulance-image i {
    font-size: 4rem;
    color: #6c757d;
}

.availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.ambulance-details {
    padding: 20px;
}

.ambulance-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.ambulance-type-badge.ac {
    background: #dbeafe;
    color: #1e40af;
}

.ambulance-type-badge.non-ac {
    background: #f3f4f6;
    color: #4b5563;
}

.ambulance-type-badge.icu {
    background: #fee2e2;
    color: #dc2626;
}

.ambulance-type-badge.oxygen {
    background: #d1fae5;
    color: #059669;
}

.feature-list: none;
    padding: 0;
    margin: {
    list-style 15px 0;
}

.feature-list li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.feature-list li i {
    color: var(--care-green);
    width: 20px;
}

.price-tag {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--care-green) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.area-filter-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.area-btn {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 16px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.area-btn:hover, .area-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stats-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* feature card styles */
.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* app preview styles */
.app-preview {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 30px;
    padding: 20px;
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.app-screen {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
}

.store-badge {
    background: #000;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* tip card styles */
.tip-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tip-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* small utilities */
.ambulance-icon-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}
.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6c757d;
}

/* dashboard and caregiver page styles */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.nav-pills .nav-link {
    color: #495057;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background: rgba(0, 51, 52, 0.1);
    color: var(--primary-blue);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-blue);
    color: white;
}

.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.job-opportunity-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.job-opportunity-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 12px rgba(0, 75, 136, 0.15);
}

.invitation-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.invitation-card:hover {
    border-color: var(--care-green);
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.15);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quick-action-btn {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-action-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 75, 136, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 75, 136, 0.15);
}

.quick-action-btn i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 75, 136, 0.1);
}

.urgency-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.earning-chart {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

/* tracking page styles */
.tracking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.map-container {
    height: 400px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #6c757d;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.driver-marker {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--care-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(40, 167, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.status-timeline {
    position: relative;
    padding-left: 30px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.status-item {
    position: relative;
    padding-bottom: 20px;
}

.status-item:last-child {
    padding-bottom: 0;
}

.status-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid white;
}

.status-item.completed::before {
    background: var(--care-green);
}

.status-item.active::before {
    background: var(--primary-blue);
    animation: pulse 2s infinite;
}

.driver-info-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
}

.driver-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.eta-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.eta-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.booking-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* booking page styles */
.booking-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background: var(--care-green);
    color: white;
}

.step.completed .step-number {
    background: var(--primary-blue);
    color: white;
}

.step-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
}

.step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

.feature-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 2px;
}

.emergency-hotline {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

/* ========== CAREGIVER APPLICATIONS PAGE ========== */
.application-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.application-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.application-card.opacity-75 {
    opacity: 0.75;
}

.application-card.border-success {
    border-color: var(--care-green);
}

.filter-tabs {
    margin-bottom: 20px;
}

.filter-tab {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.filter-tab:hover {
    background: #f8f9fa;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.filter-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.search-filter {
    position: relative;
    margin-bottom: 20px;
}

.search-filter i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-filter .form-control {
    padding-left: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.search-filter .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(7, 51, 52, 0.1);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-match-score {
    display: inline-block;
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.application-stats,
.invitation-stats {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

/* ========== CAREGIVER INVITATIONS PAGE ========== */
.invitation-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.invitation-card.urgent {
    border-left: 4px solid #dc3545;
}

.invitation-card.new {
    border-left: 4px solid var(--care-green);
}

.family-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.invited-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #495057;
}

.job-detail-item i {
    color: var(--primary-blue);
    width: 16px;
}

/* ========== CAREGIVER JOB HISTORY PAGE ========== */
.job-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stats-card.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%) !important;
}

.stats-card.bg-success {
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%) !important;
}

.stats-card.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffcd39 100%) !important;
    color: #212529 !important;
}

.stats-card.bg-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #6edff6 100%) !important;
    color: #212529 !important;
}

.status-badge.status-completed {
    background: var(--care-green);
    color: white;
}

.status-badge.status-cancelled {
    background: #dc3545;
    color: white;
}

.rating-display {
    color: #ffc107;
}

.rating-display i {
    margin-right: 2px;
}

.earnings-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--care-green);
}

/* ========== CAREGIVER PROFILE EDIT PAGE ========== */
.form-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar-upload-btn:hover {
    background: #052a2b;
    transform: scale(1.1);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 4px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-blue);
    color: white;
}

.skill-tag i {
    cursor: pointer;
    font-size: 0.75rem;
}

.skill-tag i:hover {
    color: #dc3545;
}

.add-skill-btn {
    background: transparent;
    border: 1px dashed #ced4da;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-skill-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.availability-day {
    text-align: center;
    padding: 12px 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.availability-day:hover {
    border-color: var(--primary-blue);
}

.availability-day.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.payment-method-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: var(--primary-blue);
}

.payment-method-card.selected {
    border-color: var(--care-green);
    background: rgba(40, 167, 69, 0.05);
}

.document-upload {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.document-upload:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.uploaded-document {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 10px;
}

.uploaded-document i {
    font-size: 1.5rem;
    color: #dc3545;
}

.save-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--care-green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== FOOTER STYLES ========== */
footer a.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a.text-white-50:hover {
    color: white !important;
}

/* ========== CAREGIVER DASHBOARD ========== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%);
}

.stat-icon.bg-primary-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%);
}

/* ========== CAREGIVER SETTINGS PAGE ========== */
.settings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.settings-tab {
    background: transparent;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.settings-tab:hover {
    background: #f8f9fa;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.settings-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.settings-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.setting-info h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.setting-info p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.security-info h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.security-info p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ========== CAREGIVER MESSAGES PAGE ========== */
.message-stats {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.search-messages {
    position: relative;
    margin-bottom: 20px;
}

.search-messages i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-messages .form-control {
    padding-left: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.search-messages .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(7, 51, 52, 0.1);
}

.conversation-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.conversation-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.conversation-item:hover {
    background: #f8f9fa;
}

.conversation-item.active {
    background: rgba(7, 51, 52, 0.1);
    border-left: 3px solid var(--primary-blue);
}

.conversation-item.unread {
    background: #f0f7ff;
}

.conversation-item.unread h6 {
    font-weight: 700;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 0 6px;
}

.message-area {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    max-width: 75%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 16px;
    position: relative;
}

.message p {
    margin-bottom: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: right;
    margin-top: 4px;
}

.message.received {
    background: white;
    color: #212529;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message.sent {
    background: var(--primary-blue);
    color: white;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.message.sent .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-compose {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.message-input {
    border-radius: 24px !important;
    padding: 12px 20px;
    resize: none;
    border: 1px solid #e9ecef;
}

.message-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(7, 51, 52, 0.1);
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-btn:hover {
    background: #052a2b;
    transform: scale(1.05);
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #6c757d;
    font-size: 0.85rem;
}

.typing-indicator:not(.show) {
    display: none;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #6c757d;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ========== CARETAKER PAGES ========== */
.job-stats {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

/* ========== CARETAKER JOBS PAGE ========== */
.job-posting-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.job-posting-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.job-posting-card.active {
    border-left: 4px solid var(--care-green);
}

.job-posting-card.paused {
    border-left: 4px solid #ffc107;
    opacity: 0.8;
}

.job-posting-card.closed {
    border-left: 4px solid #dc3545;
    opacity: 0.6;
}

/* ========== CARETAKER APPLICATIONS PAGE ========== */
.application-review-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.application-review-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.caregiver-mini-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.caregiver-mini-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.caregiver-match-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========== CARETAKER MESSAGES PAGE ========== */
.family-msg-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* ========== CARETAKER PROFILE EDIT PAGE ========== */
.family-info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ========== CARE APPLICATION DETAILS PAGE ========== */
.caregiver-detail-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.caregiver-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.caregiver-detail-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ========== RESPONSIVE TWEAK FOR MESSAGE AREA ========== */
@media (max-width: 768px) {
    .message-area {
        height: 300px;
    }
    
    .message {
        max-width: 90%;
    }
    
    .settings-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .settings-tab {
        white-space: nowrap;
    }
}

/* end of file */

/* ========== CARETAKER APPLICATIONS PAGE ========== */
.applicant-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.skill-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e9ecef;
    color: #495057;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 4px;
}

/* ========== JOB DETAILS PAGE ========== */
.job-detail-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.job-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%);
    color: white;
    padding: 30px;
}

.apply-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.info-box h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.info-box p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-list li:last-child {
    border-bottom: none;
}

.requirement-list li i {
    color: var(--care-green);
}

.about-family {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.rating-stars {
    color: #ffc107;
}

.benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--care-green);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.benefit-tag i {
    font-size: 0.75rem;
}

.similar-job {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-job:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ========== JOB LISTING PAGE ========== */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.clear-filters {
    color: var(--care-green);
    font-size: 0.85rem;
    text-decoration: none;
}

.clear-filters:hover {
    text-decoration: underline;
}

.location-search {
    position: relative;
}

.location-search input {
    padding-left: 35px;
}

.location-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.job-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-badge.badge-child {
    background: #e3f2fd;
    color: #1565c0;
}

.service-badge.badge-elderly {
    background: #fce4ec;
    color: #c2185b;
}

.service-badge.badge-pet {
    background: #e8f5e9;
    color: #2e7d32;
}

.service-badge.badge-special {
    background: #fff3e0;
    color: #ef6c00;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.availability-dot.available {
    background: var(--care-green);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.availability-dot.busy {
    background: #dc3545;
}

.rate-tag {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a5052 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-toggle .btn {
    border: 1px solid #e9ecef;
    padding: 8px 12px;
}

.view-toggle .btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.filter-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 6px;
    margin-bottom: 6px;
}

.experience-select {
    border-radius: 8px;
}

.day-checkbox {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
}

.job-card.list-view {
    margin-bottom: 15px;
}

/* ========== INVITE FAMILY CAREGIVER PAGE ========== */
.invite-form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.relationship-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.relationship-card:hover {
    border-color: var(--primary-blue);
}

.relationship-card.selected {
    border-color: var(--care-green);
    background: rgba(40, 167, 69, 0.05);
}

/* ========== VERIFICATION CENTER PAGE ========== */
.verification-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.verification-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.verification-step:last-child {
    border-bottom: none;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.step-icon.completed {
    background: var(--care-green);
    color: white;
}

.step-icon.active {
    background: var(--primary-blue);
    color: white;
    animation: pulse 2s infinite;
}

.verification-doc {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-doc:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

/* ========== VERIFICATION CENTER PAGE ========== */
.verify-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.verify-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.verify-icon.bg-success {
    background: linear-gradient(135deg, var(--care-green) 0%, #34ce57 100%);
}

.verify-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffcd39 100%);
}

.verify-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e4606d 100%);
}

/* ========== INVITE FAMILY CAREGIVER PAGE ========== */
.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

/* ========== CAREGIVER MESSAGES ADDITIONAL STYLES ========== */
.message-area::-webkit-scrollbar {
    width: 6px;
}

.message-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.message-area::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.message-area::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ========== PAGINATION STYLES ========== */
.pagination .page-link {
    color: var(--primary-blue);
    border-color: #e9ecef;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
}

/* ========== BACKGROUND CHECK & STATUS ========== */
.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.5);
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

/* end of file */