/* CareerJet Job Form Styles */
.careerjet-job-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.careerjet-job-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.careerjet-job-form h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ecf0f1;
}

.form-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control[required] {
    border-left: 3px solid #e74c3c;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.careerjet-submit-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.careerjet-submit-button:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.careerjet-submit-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-spinner {
    display: inline-block;
    margin-left: 10px;
}

/* Login Required Styles */
.careerjet-login-required {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.login-message {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.login-message h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.login-message p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

.login-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.careerjet-button {
    display: inline-block;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.careerjet-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.careerjet-button.secondary {
    background: #95a5a6;
}

.careerjet-button.secondary:hover {
    background: #7f8c8d;
}

/* Search Form Styles */
.careerjet-search-wrapper {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.careerjet-search-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    margin-bottom: 20px;
}

.search-field-group {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.careerjet-search-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.careerjet-search-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.careerjet-search-results {
    margin-top: 30px;
}

.careerjet-search-results-list h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.careerjet-no-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.careerjet-no-results h3 {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Apply Now Button Styles */
.apply-now-button {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-now-button:hover {
    background: linear-gradient(135deg, #229954, #1e8449);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    color: white;
}

/* Job Archive Styles */
.careerjet-job-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.careerjet-job-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.careerjet-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #007cba;
}

.careerjet-job-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #00a0d2);
}

.job-card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 15px;
}

.job-title {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1.3;
}

.job-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: #007cba;
}

.company-name {
    font-size: 1em;
    color: #666;
    font-weight: 500;
}

.job-source {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.source-careerjet {
    background: #e7f3ff;
    color: #0066cc;
}

.source-jooble {
    background: #fff3cd;
    color: #856404;
}

.source-user_submitted {
    background: #d1ecf1;
    color: #0c5460;
}

.job-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.detail-icon {
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

.detail-text {
    color: #555;
    font-weight: 500;
}

.job-detail.location .detail-text {
    color: #007cba;
    font-weight: 600;
}

.job-detail.salary .detail-text {
    color: #00a32a;
    font-weight: 600;
}

.job-card-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.view-details-btn,
.apply-now-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.view-details-btn {
    background: #f8f9fa;
    color: #495057;
    border-color: #e9ecef;
}

.view-details-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.apply-now-btn {
    background: linear-gradient(135deg, #007cba, #00a0d2);
    color: white;
    border: none;
}

.apply-now-btn:hover {
    background: linear-gradient(135deg, #005a87, #007cba);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.careerjet-no-jobs {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.careerjet-no-jobs h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.careerjet-no-jobs p {
    color: #6c757d;
    font-size: 1.1em;
}

/* Ad Styles */
.careerjet-ad {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.careerjet-ad .ad-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.careerjet-ad .ad-content h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 1.3em;
}

.careerjet-ad .ad-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1em;
}

.ad-cta-button {
    background: linear-gradient(135deg, #007cba, #00a0d2);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.ad-cta-button:hover {
    background: linear-gradient(135deg, #005a87, #007cba);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.3);
    color: white;
}

.careerjet-listing-ad {
    grid-column: 1 / -1;
}

/* Pagination Styles */
.careerjet-pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination-list {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination-list li {
    margin: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: block;
    padding: 12px 18px;
    background: white;
    color: #495057;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-right: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-list li:first-child a,
.pagination-list li:first-child span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pagination-list li:last-child a,
.pagination-list li:last-child span {
    border-right: 1px solid #dee2e6;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-list li a:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.pagination-list li span.current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.pagination-list li a.prev,
.pagination-list li a.next {
    background: #f8f9fa;
    font-weight: 600;
}

.pagination-list li a.prev:hover,
.pagination-list li a.next:hover {
    background: #007cba;
    color: white;
}

/* Form Messages */
#careerjet-form-messages {
    margin-bottom: 20px;
}

.form-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* States Navigation Styles */
.careerjet-states-navigation {
    margin: 30px 0;
}

.states-grid {
    display: grid;
    gap: 15px;
}

.states-columns-1 {
    grid-template-columns: 1fr;
}

.states-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.states-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.states-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.states-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.state-item {
    margin: 0;
}

.state-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
}

.state-link:hover {
    background: #007cba;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
    border-color: #007cba;
}

.state-name {
    font-weight: 600;
}

.job-count {
    background: #dee2e6;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.state-link:hover .job-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* State Page Specific Styles */
.careerjet-state-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.careerjet-state-header {
    background: linear-gradient(135deg, #007cba 0%, #00a0d2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.state-title {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.state-description {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 25px;
}

.state-stats {
    margin: 25px 0;
}

.stat-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.state-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.back-to-all-jobs {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-to-all-jobs:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.states-quick-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.states-quick-nav span {
    opacity: 0.8;
    font-size: 0.9em;
}

.states-quick-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.states-quick-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.state-cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-tag {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #495057;
    border: 1px solid #e9ecef;
}

/* New Ad Position Styles */
.careerjet-archive-header-ad {
    margin-bottom: 30px;
    text-align: center;
}

.careerjet-archive-top-ad {
    margin-bottom: 30px;
}

.careerjet-archive-bottom-ad {
    margin-top: 30px;
}

.careerjet-pagination-ad {
    margin: 20px 0;
}

.careerjet-ad-in-content {
    margin: 25px 0;
    text-align: center;
}

.careerjet-ad-after-first-paragraph {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #2196f3;
}

.careerjet-ad-beginning {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-left: 4px solid #9c27b0;
}

.careerjet-ad-end {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-left: 4px solid #4caf50;
}

/* Manual ad placement */
.careerjet-ad-manual {
    margin: 20px 0;
}

/* Responsive ads */
@media (max-width: 768px) {
    .careerjet-ad .ad-content h4 {
        font-size: 1.1em;
    }
    
    .careerjet-ad .ad-content p {
        font-size: 0.9em;
    }
    
    .ad-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Responsive States */
@media (max-width: 768px) {
    .states-columns-4,
    .states-columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .state-link {
        padding: 12px 15px;
    }
    
    .careerjet-state-header {
        padding: 25px;
    }
    
    .state-title {
        font-size: 2em;
    }
    
    .state-navigation {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .states-columns-2,
    .states-columns-3,
    .states-columns-4,
    .states-columns-5 {
        grid-template-columns: 1fr;
    }
    
    .careerjet-job-archive {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .careerjet-job-card {
        padding: 20px;
    }
    
    .job-card-actions {
        flex-direction: column;
    }
    
    .view-details-btn,
    .apply-now-btn {
        flex: none;
    }
    
    .job-title {
        font-size: 1.2em;
    }
    
    .careerjet-ad {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .careerjet-ad .ad-content h4 {
        font-size: 1.2em;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-list li {
        margin: 2px;
    }
    
    .pagination-list li a,
    .pagination-list li span {
        padding: 10px 14px;
        font-size: 0.9em;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .login-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .careerjet-job-card {
        padding: 15px;
    }
    
    .job-card-details {
        gap: 8px;
    }
    
    .job-detail {
        font-size: 0.85em;
    }
    
    .pagination-list li a,
    .pagination-list li span {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .careerjet-job-form {
        padding: 20px 15px;
    }
}

/* Search Form Styles */
.careerjet-search-wrapper {
    margin: 20px 0;
}

.careerjet-search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.search-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-field-group {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.careerjet-search-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

.careerjet-search-button:hover {
    background: #005a87;
}

.search-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.filter-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

/* Search Results */
.careerjet-search-results {
    margin-top: 20px;
}

.careerjet-search-results-list h3 {
    margin-bottom: 15px;
    color: #333;
}

.careerjet-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.search-suggestions {
    margin-top: 20px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h4 {
    margin-bottom: 10px;
    color: #666;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    margin-bottom: 8px;
}

.suggestion-link {
    color: #007cba;
    text-decoration: none;
}

.suggestion-link:hover {
    text-decoration: underline;
}

.careerjet-search-pagination {
    text-align: center;
    margin-top: 20px;
}

.load-more-jobs {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.load-more-jobs:hover {
    background: #218838;
}

.load-more-jobs:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .search-fields {
        flex-direction: column;
    }
    
    .search-field-group {
        min-width: 100%;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
}

/* Search Loading and Error States */
.search-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.search-error {
    text-align: center;
    padding: 40px;
    color: #dc3232;
    background: #ffeaea;
    border-radius: 8px;
    border: 1px solid #dc3232;
}

.careerjet-search-results {
    margin-top: 30px;
}

.careerjet-search-results-list {
    display: grid;
    gap: 20px;
}

/* Job Card Styles for Search Results */
.careerjet-job-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.job-title {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.job-title a {
    color: #2c3e50;
    text-decoration: none;
}

.job-title a:hover {
    color: #007cba;
}

.company-name {
    color: #666;
    font-size: 14px;
}

.job-card-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.detail-icon {
    font-size: 16px;
}

.job-card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.job-card-actions {
    display: flex;
    gap: 10px;
}

.view-details-btn,
.apply-now-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-details-btn {
    background: #007cba;
    color: white;
    border: 1px solid #007cba;
}

.view-details-btn:hover {
    background: #005a87;
    color: white;
}

.apply-now-btn {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.apply-now-btn:hover {
    background: #218838;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .job-card-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-card-actions {
        flex-direction: column;
    }
    
    .view-details-btn,
    .apply-now-btn {
        text-align: center;
    }
}

/* Single Job Page Styles */
.careerjet-single-job-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.careerjet-single-job-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.careerjet-single-job {
    padding: 30px;
}

/* Breadcrumb */
.job-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.job-breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.job-breadcrumb a:hover {
    text-decoration: underline;
}

/* Job Header */
.job-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.job-title {
    font-size: 28px;
    margin: 0 0 20px 0;
    color: #2c3e50;
    line-height: 1.3;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.meta-icon {
    font-size: 16px;
}

.meta-text {
    font-weight: 500;
    color: #333;
}

/* Job Content */
.job-content {
    line-height: 1.6;
    margin-bottom: 30px;
}

.job-content h2 {
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-size: 22px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 5px;
}

.job-content h3 {
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.job-content p {
    margin-bottom: 15px;
}

.job-content ul, .job-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

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

/* Job Actions */
.job-actions {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.apply-section {
    margin-bottom: 25px;
}

.apply-section h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.apply-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.apply-button.primary {
    background: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.apply-button.primary:hover {
    background: #218838;
    border-color: #218838;
}

.apply-button.secondary {
    background: #007cba;
    color: white;
    border: 2px solid #007cba;
}

.apply-button.secondary:hover {
    background: #005a87;
    border-color: #005a87;
}

.email-apply {
    margin-top: 15px;
}

.email-apply p {
    margin: 0 0 8px 0;
    color: #666;
}

/* Share Buttons */
.job-share h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-button {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    color: white;
}

.share-button.facebook {
    background: #3b5998;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.linkedin {
    background: #0077b5;
}

.share-button:hover {
    opacity: 0.9;
}

/* Related Jobs */
.careerjet-related-jobs {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.careerjet-related-jobs h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 22px;
}

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

.related-job-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.related-job-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.related-job-card h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-job-card h4 a:hover {
    color: #007cba;
}

.related-job-meta {
    margin-bottom: 15px;
    font-size: 14px;
}

.related-job-meta .company {
    font-weight: 500;
    color: #333;
}

.related-job-meta .location {
    color: #666;
    margin-left: 10px;
}

.view-job-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.view-job-btn:hover {
    background: #005a87;
}

/* Ad Spaces */
.careerjet-ad {
    margin: 25px 0;
    text-align: center;
}

.careerjet-single-header-ad,
.careerjet-single-after-header-ad,
.careerjet-single-middle-ad,
.careerjet-single-before-apply-ad,
.careerjet-single-after-content-ad {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .careerjet-single-job-wrapper {
        padding: 10px;
    }
    
    .careerjet-single-job {
        padding: 20px;
    }
    
    .job-title {
        font-size: 24px;
    }
    
    .job-meta {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .related-jobs-list {
        grid-template-columns: 1fr;
    }
    
    .apply-button {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Job Alert Subscription Styles */
.careerjet-job-alert-wrapper {
    margin: 30px 0;
}

.careerjet-job-alert-form {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.careerjet-job-alert-form h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 24px;
}

.alert-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.alert-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: #007cba;
    outline: none;
}

/* Delivery Methods */
.alert-delivery-methods {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.alert-delivery-methods h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.delivery-option {
    display: block;
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
}

.delivery-option input:checked + .option-content {
    border-color: #007cba;
    background: #f0f8ff;
}

.option-icon {
    font-size: 24px;
}

.option-text {
    flex: 1;
}

.option-text strong {
    display: block;
    margin-bottom: 2px;
    color: #2c3e50;
}

.option-text small {
    color: #666;
    font-size: 12px;
}

/* Delivery Fields */
.delivery-fields {
    position: relative;
}

.delivery-field {
    display: none;
}

.delivery-field.active {
    display: block;
}

.whatsapp-input-wrapper {
    display: flex;
    align-items: center;
}

.country-code {
    background: #f8f9fa;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #666;
    font-weight: 500;
}

.whatsapp-input-wrapper .form-input {
    border-radius: 0 6px 6px 0;
    flex: 1;
}

.whatsapp-note {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Form Actions */
.form-actions {
    margin-top: 25px;
}

.subscribe-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.subscribe-button:hover:not(:disabled) {
    background: #218838;
}

.subscribe-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Form Messages */
.form-messages {
    margin-top: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .careerjet-job-alert-form {
        padding: 20px;
    }
    
    .alert-form-fields {
        grid-template-columns: 1fr;
    }
    
    .delivery-options {
        grid-template-columns: 1fr;
    }
    
    .option-content {
        padding: 12px;
    }
}

/* WhatsApp Share Button Styles */
.share-button.whatsapp {
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
}

.share-button.whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}


/* Mobile-optimized WhatsApp button */
@media (max-width: 768px) {
    .share-button.whatsapp {
        background-color: #25D366;
        color: white;
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* Share buttons container adjustments */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

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

/* Individual platform colors */
.share-button.facebook {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-button.facebook:hover {
    background-color: #166FE5;
    border-color: #166FE5;
}

.share-button.twitter {
    background-color: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-button.twitter:hover {
    background-color: #1A91DA;
    border-color: #1A91DA;
}

.share-button.linkedin {
    background-color: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-button.linkedin:hover {
    background-color: #00669C;
    border-color: #00669C;
}

/* Similar Jobs Subscription Form */
.careerjet-job-subscription {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.subscription-header {
    text-align: center;
    margin-bottom: 20px;
}

.subscription-header h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.5em;
}

.subscription-header p {
    color: #6c757d;
    margin: 0;
}

/* Delivery Methods */
.delivery-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.delivery-option {
    display: block;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.delivery-option input[type="radio"]:checked + .option-content {
    border-color: #007cba;
    background: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2);
}

.option-icon {
    font-size: 24px;
    margin-right: 12px;
}

.option-text {
    text-align: left;
}

.option-text strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
}

.option-text small {
    color: #6c757d;
    font-size: 0.85em;
}

/* Delivery Fields */
.delivery-fields {
    margin-bottom: 20px;
}

.delivery-field {
    display: none;
}

.delivery-field.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.delivery-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.whatsapp-input-wrapper {
    display: flex;
    align-items: center;
}

.country-code {
    background: #e9ecef;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #495057;
    font-weight: 500;
}

.whatsapp-input-wrapper .form-input {
    border-radius: 0 4px 4px 0;
    flex: 1;
}

.whatsapp-note {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.85em;
}

/* Subscription Options */
.subscription-options {
    margin-bottom: 20px;
}

.subscription-options .form-group {
    margin-bottom: 0;
}

.subscription-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

/* Form Actions */
.similar-jobs-form .form-actions {
    text-align: center;
}

.subscribe-button {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.subscribe-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #007cba 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.subscribe-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Messages */
.form-messages {
    margin-top: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careerjet-job-subscription {
        padding: 20px;
        margin: 20px 0;
    }
    
    .delivery-methods {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .option-content {
        padding: 12px;
    }
    
    .subscription-header h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .careerjet-job-subscription {
        padding: 15px;
    }
    
    .option-content {
        flex-direction: column;
        text-align: center;
    }
    
    .option-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}


.careerjet-paid-ad {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.careerjet-paid-ad .ad-content {
    padding: 15px;
}

.careerjet-paid-ad .ad-media {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.careerjet-paid-ad .ad-text {
    text-align: center;
}

.careerjet-paid-ad .ad-title {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
}

.careerjet-paid-ad .ad-description {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.careerjet-paid-ad .ad-cta-button {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.careerjet-paid-ad .ad-cta-button:hover {
    background: #005a87;
}

.careerjet-paid-ad .ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .careerjet-paid-ad .ad-content {
        padding: 10px;
    }
    
    .careerjet-paid-ad .ad-title {
        font-size: 1em;
    }
    
    .careerjet-paid-ad .ad-description {
        font-size: 0.8em;
    }
}