/* =================================================================
   컨설팅 페이지 전용 스타일시트 (consulting_general.css)
   - 최종 개선안
   ================================================================= */

/* --- 1. 공통 스타일 --- */
.title {
    font-size: 2rem;
    color: #0A192F;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-weight: 600;
}

.description {
    text-align: center; 
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #555;
}


/* --- 2. 입시 요강 리스트 (admissions_guide.php) --- */
.admission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.admission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease-in-out;
}
.admission-item:last-child {
    border-bottom: none;
}
.admission-item:hover {
    background-color: #f8f9fa;
}
.admission-item-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
}
.admission-item-buttons {
    display: flex;
    gap: 12px;
}
.list-action-btn {
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.list-action-btn.view {
    background-color: #0A192F;
    color: #fff;
    border-color: #0A192F;
}
.list-action-btn.view:hover {
    background-color: #112240;
    transform: translateY(-2px);
}
.list-action-btn.download {
    color: #333;
    background-color: #fff;
}
.list-action-btn.download:hover {
    background-color: #f2f2f2;
    border-color: #ccc;
}


/* --- 3. 자기소개서 계산기 (prepare_jasoseo.php) --- */
.level-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.level-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
    color: #555;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.level-btn:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}
.level-btn.active {
    background-color: #0A192F;
    color: #fff;
    border-color: #0A192F;
}

.selector-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.selector-group > div {
    flex: 1;
    min-width: 250px;
}
.selector-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: #1b64da;
    box-shadow: 0 0 0 3px rgba(27, 100, 218, 0.15);
}

#promptsContainer .prompt-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#promptsContainer h4 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 600;
}
#promptsContainer .limit-info {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}
#promptsContainer textarea {
    width: 100%;
    height: 280px;
    padding: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.7;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 15px;
}
#promptsContainer textarea:focus {
    outline: none;
    border-color: #1b64da;
    box-shadow: 0 0 0 3px rgba(27, 100, 218, 0.15);
}

.output-group {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 5px solid #1b64da;
    padding: 15px 25px;
    margin-top: 20px;
    border-radius: 8px;
}
.output {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.output strong {
    color: #000;
    font-weight: 500;
    margin-right: 15px;
}
.byte-count.exceeded {
    color: #d93025;
    font-weight: bold;
}