/* Job Page Specific Styles */

/* Digital Marketing Banner */
.digital-marketing-banner {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d1515 100%);
    padding: 1.5rem 0;
    color: white;
    margin-bottom: 2rem;
}

.banner-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.banner-list {
    list-style: disc;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.banner-list li {
    margin-bottom: 0.25rem;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: white;
    background-color: #8B0000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD700;
    display: block;
}

.btn-warning {
    background-color: #FFD700;
    border: none;
    color: #000;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
}

/* Job Page Layout */
.job-page {
    padding: 2rem 0;
}

.job-header {
    margin-bottom: 2rem;
}

.job-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.count-number {
    color: #f84525;
    font-weight: 700;
}

/* Job Card Styles */
.job-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.job-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.job-location {
    font-size: 0.9rem;
    color: #929292;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.85rem;
    color: #6c757d;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-tag {
    background-color: #f8f4f3;
    color: #212529;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-apply {
    flex: 1;
    background-color: #f84525;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-apply:hover {
    background-color: #a21900;
}

.btn-more-detail {
    flex: 1;
    background-color: transparent;
    color: #f84525;
    border: 2px solid #f84525;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-more-detail:hover {
    background-color: #f84525;
    color: white;
}

/* Sidebar Styles */
.job-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-search .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.sidebar-search .form-control:focus {
    border-color: #f84525;
    box-shadow: 0 0 0 0.2rem rgba(248, 69, 37, 0.25);
}

.btn-search {
    background-color: #f84525;
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
}

.btn-search:hover {
    background-color: #a21900;
}

.sidebar-filter .form-select {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.sidebar-filter .form-select:focus {
    border-color: #f84525;
    box-shadow: 0 0 0 0.2rem rgba(248, 69, 37, 0.25);
}

/* Sidebar Ad Banner */
.sidebar-ad-banner {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d1515 100%);
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    color: white;
    text-align: center;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ad-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    display: block;
}

.ad-features {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.375rem;
}

.ad-feature {
    font-size: 0.85rem;
    color: #212529;
    font-weight: 600;
}

.ad-price-label {
    display: block;
    font-size: 0.75rem;
    color: white;
    background-color: #8B0000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.ad-price-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 1rem;
}

/* View More Button */
.btn-view-more {
    background-color: #f84525;
    color: white;
    border: none;
    padding: 0.75rem 3rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-view-more:hover {
    background-color: #a21900;
}

/* Responsive Design */
@media (max-width: 991px) {
    .job-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .banner-title {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .digital-marketing-banner .col-lg-6 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .digital-marketing-banner .text-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .job-card {
        padding: 1rem;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
}
