/* SarkariResultSeva.com - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Mobile container fixes */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
        box-shadow: none;
    }
    
    /* Fix header margins on mobile */
    .header {
        margin: 0 -10px;
    }
    
    /* Fix navbar margins on mobile */
    .navbar {
        margin: 0 -10px;
    }
    
    /* Ensure proper mobile navigation */
    .navbar-collapse {
        background-color: #1e3a8a;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 12px 15px;
    }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 25px 0;
    text-align: center;
    margin: 0 -15px;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.header .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation Styles */
.navbar {
    background-color: #1e3a8a;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0 -15px;
}

.navbar-nav {
    width: 100%;
    justify-content: center;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: #fff !important;
    padding: 15px 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: #fff !important;
}

.dropdown-menu {
    background-color: #1e3a8a;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* Live Badge */
.live-badge {
    background-color: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 10px 0;
    display: inline-block;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
    text-decoration: none;
}

/* Tools Section */
.tools-section {
    background-color: #f8f9fa;
    padding: 1px;
    margin: 5px 0;
    border-radius: 8px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 15px;
}

.tool-card {
    color: white;
    padding: 8px 6px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    /* Equal height cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.tool-card:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.tool-card h4 {
    font-size: 0.8rem;
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.2;
    /* Allow controlled text wrapping for better readability */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 2.4em; /* Fixed height for 2 lines */
}

.tool-card p {
    font-size: 0.7rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.1;
    /* Ensure paragraph text doesn't overflow */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments for mobile so cards align uniformly */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 10px 0;
    }
    .tool-card {
        min-height: 60px;
        padding: 8px;
    }
    .tool-card h4 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    .tool-card p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .tools-section {
        margin: 10px 0;
        padding: 10px;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .tool-card {
        min-height: 55px;
        padding: 6px;
    }
    .tool-card h4 {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
    .tool-card p {
        font-size: 0.65rem;
    }
}

/* Tool Card Colors - Match Original Website */
.tool-red {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.tool-orange {
    background: linear-gradient(135deg, #fd7e14, #e8590c);
}

.tool-purple {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.tool-green {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.tool-yellow {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.tool-blue {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.tool-dark-red {
    background: linear-gradient(135deg, #721c24, #5a171c);
}

.tool-teal {
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

/* Content Sections */
.content-section {
    margin: 4px 0;
    border-radius: 0 !important;
}

.section-header {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    border-radius: 0 !important;
    text-align: center;
    border: none;
    min-height: 32px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.job-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.job-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #dc3545;
}

.job-card h3 a {
    color: #dc3545;
    text-decoration: none;
}

.job-card h3 a:hover {
    color: #c82333;
}

.job-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.job-description {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

/* Job List Styles */
.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.job-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.job-list a:hover {
    color: #007bff;
    text-decoration: underline;
}

.job-date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Original Style Job Lists - Match SarkariResult.com */
.job-list.original-style {
    background: white;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 0;
}

.job-list.original-style li {
    padding: 5px 15px;
    border-bottom: none;
    position: relative;
}

.job-list.original-style li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.job-list.original-style li:last-child {
    border-bottom: none;
}

.job-list.original-style a {
    color: #0066cc;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    display: block;
    padding-left: 10px;
    font-weight: bold;
}

.job-list.original-style a strong {
    font-weight: bold;
}

.job-list.original-style a:hover {
    color: #004499;
    text-decoration: underline;
}

.job-count {
    color: #666;
    font-size: 12px;
    font-weight: normal;
}

/* View More Section */
.view-more-section {
    text-align: center;
    padding: 15px;
    margin: 0;
    background: white;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Main Content Row */
.main-content-row {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .header .tagline {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    .tools-section {
        padding: 5px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    .tools-grid .tool-card:nth-child(n+7) {
        display: none !important;
    }
    
    .tool-card {
        padding: 5px;
        font-size: 0.95rem;
    }
    
    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .job-card {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    /* Reorder sections on mobile - Latest Jobs first */
    .main-content-row {
        display: flex;
        flex-direction: column;
    }
    
    .main-content-row .col-md-4:nth-child(1) { /* Results */
        order: 3;
    }
    
    .main-content-row .col-md-4:nth-child(2) { /* Admit Cards */
        order: 2;
    }
    
    .main-content-row .col-md-4:nth-child(3) { /* Latest Jobs */
        order: 1;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .header .tagline {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    
    /* Main content sections */
    .main-content-row {
        margin: 0;
    }
    
    .main-content-row .col-md-4 {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .content-section {
        margin: 10px 0;
    }
    
    .section-header {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .job-list.original-style li {
        padding: 8px 12px;
    }
    
    .job-list.original-style a {
        font-size: 13px;
        line-height: 1.3;
        padding-left: 8px;
    }
    
    .view-more-section {
        padding: 10px;
    }
    
    .view-more-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    /* WhatsApp and Telegram buttons */
    .whatsapp-btn, .telegram-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin: 5px 3px;
    }
}

/* State Cards */
.state-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.state-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #dc3545;
}

.state-card-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 15px 20px;
}

.state-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.state-card-header h3 a {
    color: white;
    text-decoration: none;
}

.state-card-header h3 a:hover {
    color: #fbbf24;
}

.state-card-body {
    padding: 20px;
}

.job-count {
    text-align: center;
    margin-bottom: 15px;
}

.count-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #dc3545;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.state-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.state-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.info-section h2 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

.feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.feature-list li i {
    margin-right: 10px;
    width: 16px;
}

/* Enhanced Job Detail Page Styles */
.job-detail-enhanced {
    background: white;
    padding: 0;
    margin-top: 20px;
}

.job-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 30px;
    margin: 0 -15px 20px -15px;
    border-radius: 0;
}

.job-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.job-overview {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.job-overview p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Content Sections */
.content-section {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.section-header-blue {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

.section-header-red {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

/* Tables Styling */
.dates-table, .fee-table, .vacancy-table {
    padding: 20px;
}

.dates-table table,
.fee-table table,
.vacancy-table table {
    margin: 0;
}

.dates-table th,
.fee-table th,
.vacancy-table th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}

.dates-table td,
.fee-table td,
.vacancy-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

.table-danger td {
    background-color: #f8d7da;
    font-weight: bold;
}

.table-success {
    background-color: #d1e7dd;
    font-weight: bold;
}

/* Payment Methods */
.payment-info {
    padding: 0 20px 20px 20px;
}

.payment-methods {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods li {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.payment-methods li i {
    color: #1e3a8a;
    margin-right: 5px;
}

/* Content Areas */
.eligibility-content,
.vacancy-content,
.application-content,
.documents-content,
.selection-content,
.faq-content,
.additional-content {
    padding: 20px;
}

.eligibility-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.eligibility-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.eligibility-item h5 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.eligibility-item h5 i {
    margin-right: 8px;
    color: #dc3545;
}

.content-text {
    line-height: 1.6;
    color: #333;
}

.content-text ul,
.content-text ol {
    margin-left: 20px;
}

.content-text li {
    margin-bottom: 5px;
}

/* Important Links Table */
.important-links {
    padding: 20px;
}

.links-table {
    margin: 0;
}

.links-table td {
    padding: 15px;
    vertical-align: middle;
}

.link-title {
    font-weight: 600;
    color: #333;
    width: 60%;
}

.link-action {
    text-align: center;
    width: 40%;
}

.link-note {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 5px;
    font-weight: bold;
}

/* Quick Actions */
.quick-actions {
    text-align: center;
    padding: 30px 0;
    background: #f8f9fa;
    margin: 30px -15px 0 -15px;
    border-top: 3px solid #1e3a8a;
}

.quick-actions .btn {
    margin: 0 10px 10px 0;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ Styling */
.faq-content {
    padding: 20px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #1e3a8a;
    border-radius: 0 8px 8px 0;
}

.faq-question {
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.faq-answer {
    color: #333;
    line-height: 1.5;
}

/* Responsive Design for Job Detail */
@media (max-width: 768px) {
    .job-header {
        padding: 20px 15px;
        margin: 0 -10px 20px -10px;
    }
    
    .job-title {
        font-size: 1.4rem;
    }
    
    .section-header-blue,
    .section-header-red {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .dates-table,
    .fee-table,
    .vacancy-table,
    .important-links {
        padding: 15px;
    }
    
    .vacancy-table table {
        font-size: 0.8rem;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-actions {
        margin: 30px -10px 0 -10px;
    }
    
    .quick-actions .btn {
        display: block;
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 576px) {
    .link-title,
    .link-action {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .links-table td {
        padding: 10px;
    }
    
    .vacancy-table table,
    .dates-table table,
    .fee-table table {
        font-size: 0.75rem;
    }
}

/* SEO Content Sections */
.seo-content-wrapper {
    margin: 30px 0;
}

.intro-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
    color: #333;
}

.top-pages-section {
    margin: 20px 0;
    text-align: center;
}

.stars-text {
    font-size: 14px;
    color: #28a745;
    font-weight: bold;
    margin: 15px 0;
}

.stars-text .highlight {
    color: #dc3545;
    text-decoration: underline;
}

.top-pages-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 2px solid #333;
}

.top-pages-table td {
    border: 1px solid #333;
    padding: 8px 12px;
    text-align: center;
    font-size: 13px;
}

.top-pages-table a {
    color: #0066cc;
    text-decoration: none;
}

.top-pages-table a:hover {
    text-decoration: underline;
}

.red-header {
    background-color: #dc3545 !important;
    color: white !important;
    padding: 12px 20px;
    margin: 20px 0 0 0;
    font-weight: 600;
    font-size: 16px;
    border-radius: 0;
    text-align: center;
    border: none;
}

.content-text {
    background: white;
    padding: 15px 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
    text-align: justify;
}

.content-text p {
    margin-bottom: 10px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 30px;
}

.faq-title {
    color: #2c5aa0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
}

.faq-item {
    margin-bottom: 25px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-item h3 {
    background: #f8f9fa;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
    color: #555;
}

/* Responsive Design for SEO Content */
@media (max-width: 768px) {
    .top-pages-table {
        font-size: 11px;
    }
    
    .top-pages-table td {
        padding: 6px 8px;
    }
    
    .content-text {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .red-header {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .faq-title {
        font-size: 20px;
    }
    
    .faq-item h3 {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .faq-item p {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Footer Styles */
.footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    margin-left: -15px;
    margin-right: -15px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.breadcrumb-item a {
    color: #dc3545;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #c82333;
}

/* Pagination Styles */
.pagination {
    justify-content: center;
    margin: 30px 0;
}

.page-link {
    color: #dc3545;
    border-color: #dc3545;
}

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

.page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Job Detail Styles */
.job-detail {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.job-detail h1 {
    color: #dc3545;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.job-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.job-info-table th,
.job-info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.job-info-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 200px;
}

.apply-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

/* Search Styles */
.search-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.search-form button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #c82333;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    margin: 15px 0;
    padding: 0;
}

.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb-item {
    display: inline;
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
    margin: 0 8px;
    font-weight: normal;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* Lazy Loading Image Styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* WebP Image Support */
.webp-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Image optimization for job featured images */
.job-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 15px 0;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 6px;
    }
}
