/* Existing styles */

.jobs-content {
    margin: 0 auto;
    padding: 0 20px;
}

.jobs-section {
    padding-bottom: 40px;
    padding-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

/* Map container styles */
#state-map {
    height: 500px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* Location card styles */
.location-details-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 90%;
}

.location-details-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.location-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.location-details-name {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.location-details-job-count {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.location-details-jobs {
    margin-bottom: 15px;
    color: #666;
}

.location-details-companies {
    font-size: 0.9rem;
    color: #666;
}

/* Search container styles */
.location-details-search-container {
    margin-bottom: 30px;
}

.location-details-search-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.location-details-search-icon {
    background: transparent;
    border: none;
    border-right: none;
    color: #666;
}

.location-details-search-input {
    border: none;
    padding: 12px;
}

.location-details-search-input:focus {
    box-shadow: none;
}

/* Leaflet Popup Styles */
.location-popup {
    min-width: 200px;
    background: #ffffff;
}

.location-popup h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333;
}

.location-popup p {
    margin: 4px 0;
    color: #666;
    font-size: 14px;
}

.location-popup .btn-primary {
    margin-top: 8px;
    background: #0066FF;
    color: #fff;
    border: none;
    padding: 6px 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

/* Leaflet popup container styles */
.leaflet-popup-content-wrapper {
    border-radius: 0;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 0;
    padding: 10px;
}

/* Custom close button style */
.location-popup-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center !important;
    color: #757575 !important;
    text-decoration: none !important;
    background: white !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Navigation styles */
.location-details-back-link {
    color: #3172ae;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    font-size: .9rem;
}

/* Market Data Section Styles */
.market-data-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 0 1.5rem 2rem;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
    height: 100%;
}

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

.stat-title {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #3172ae;
    font-size: 1.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 1rem;
}

/* Salary Range Card Styles */
.salary-range-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    margin-bottom: 1rem;
    height: 100%;
}

.salary-range-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.range-title {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.range-value {
    color: #28a745;
    font-size: 1.25rem;
    font-weight: 600;
}
