/**
 * Careerjet Search Styles
 */

.careerjet-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 검색 폼 스타일 */
.cj-search-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.cj-search-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.search-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.input-field {
    flex: 1;
}

.input-field.full-width {
    flex: 1;
    width: 100%;
}

.input-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.input-field input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.input-field input[type="text"]:focus {
    outline: none;
    border-color: #0073aa;
}

.section-label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    color: #333;
}

.search-button {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #005a87;
}

/* 채용 리스트 스타일 */
.cj-search-results {
    min-height: 200px;
}

.job-list-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.job-list-header {
    background: #f7f7f7;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.job-list-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.job-items {
    padding: 20px;
}

.job-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.job-item:last-child {
    border-bottom: none;
}

.job-item:hover {
    background-color: #f9f9f9;
}

.job-title {
    margin-bottom: 10px;
}

.job-title .job-link {
    font-size: 18px;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
}

.job-title .job-link:hover {
    text-decoration: underline;
}

.job-company {
    margin-bottom: 10px;
}

.job-company .company-link {
    font-size: 16px;
    color: #555;
    text-decoration: none;
}

.job-company .company-link:hover {
    color: #0073aa;
    text-decoration: underline;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.job-meta span {
    display: flex;
    align-items: center;
}

.job-meta .icon-location,
.job-meta .icon-salary {
    margin-right: 5px;
}

.job-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.job-date {
    font-size: 12px;
    color: #999;
}

/* 상세 페이지 스타일 */
.job-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-detail-header {
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    padding: 8px 15px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background: #e0e0e0;
}

.job-detail-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.job-detail-company {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.job-detail-company .company-link {
    color: #0073aa;
    text-decoration: none;
}

.job-detail-company .company-link:hover {
    text-decoration: underline;
}

.job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item strong {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.meta-item span {
    color: #333;
    font-size: 14px;
}

.job-detail-description,
.job-detail-requirements,
.job-detail-benefits {
    margin-bottom: 30px;
}

.job-detail-description h2,
.job-detail-requirements h2,
.job-detail-benefits h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.description-content,
.requirements-content,
.benefits-content {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.job-detail-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.job-date {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.apply-section {
    text-align: center;
}

.apply-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #005a87;
}

/* 기업 정보 페이지 스타일 */
.company-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-detail-name {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.company-logo {
    margin-bottom: 20px;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

.company-detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.info-item span,
.info-item a {
    color: #333;
    font-size: 14px;
}

.info-item a {
    color: #0073aa;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.company-description {
    margin-bottom: 30px;
}

.company-description h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.company-jobs-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.company-jobs-section h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

/* 위치 제안 스타일 */
.location-suggestions {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.location-suggestions p {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.location-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-suggestions li {
    margin-bottom: 10px;
}

.location-suggestions li a {
    display: inline-block;
    padding: 10px 15px;
    background: #f7f7f7;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.location-suggestions li a:hover {
    background: #e0e0e0;
}

/* 유틸리티 클래스 */
.loading-message,
.no-results,
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.error-message {
    color: #dc3232;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .job-detail-meta,
    .company-detail-info {
        grid-template-columns: 1fr;
    }
    
    .careerjet-search-container,
    .job-detail-container,
    .company-detail-container {
        padding: 15px;
    }
}

