/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Author:       Daimo
 Version:      1.0.0
 Description:  Custom child theme for the Together Teaching website.
*/

/* Custom styles for the Together Teaching theme can be added here */

/* Styling for the custom salary field display */
.job-salary {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-left: 3px solid #007cba;
    border-radius: 3px;
}

.job-salary strong {
    color: #333;
    margin-right: 5px;
}

/* Job Cards Styling */
.jobs-cards-container {
    margin: 20px 0;
}

.jobs-grid-layout, .jobs-list-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.job-card, .searchable-job-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

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

.job-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.job-card-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    min-width: 200px;
    flex-shrink: 0;
}

.job-card-details {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.job-card-location, .job-card-type {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.job-card-location {
    color: #e74c3c;
}

.job-card-type {
    color: #27ae60;
}

.job-card-actions {
    flex-shrink: 0;
    margin-left: 20px;
}

.job-apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    min-width: 80px;
}

.job-apply-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,124,186,0.3);
    color: white;
    text-decoration: none;
}

.no-jobs-card, .no-jobs-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    color: #6c757d;
    font-style: italic;
    font-size: 1.1em;
}

/* Searchable Jobs Styling */
.searchable-jobs-container {
    margin: 20px 0;
}

.jobs-search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.jobs-search-bar {
    margin-bottom: 15px;
}

.jobs-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.jobs-search-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

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

.jobs-location-filter, .jobs-type-filter {
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95em;
    background: white;
    transition: border-color 0.3s ease;
}

.jobs-location-filter:focus, .jobs-type-filter:focus {
    outline: none;
    border-color: #007cba;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .job-card, .searchable-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .job-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }
    
    .job-card-title {
        min-width: auto;
        font-size: 1.1em;
    }
    
    .job-card-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .job-card-actions {
        margin-left: 0;
        width: 100%;
    }
    
    .job-apply-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .jobs-filters {
        grid-template-columns: 1fr;
    }
    
    .jobs-search-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .job-card-title {
        font-size: 1.1em;
    }
    
    .job-apply-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
