@charset "UTF-8";

/* 기본 초기화 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 헤더 스타일 */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
    text-align: center;
}

.site-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3; /* 메인 테마 포인트 컬러 */
}

/* 메인 레이아웃 컨테이너 */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 검색 상자 스타일 */
.search-box {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.search-box h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #222222;
    text-align: center;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #555555;
}

.form-group select,
.form-group input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #ffffff;
}

.btn-submit {
    background-color: #0056b3;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #004085;
}

/* 결과 테이블 스타일 */
.result-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222222;
    border-left: 4px solid #0056b3;
    padding-left: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    text-align: center;
}

.result-table th,
.result-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eeeeee;
}

.result-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #495057;
    font-size: 14px;
}

.result-table td {
    font-size: 15px;
}

.train-name {
    font-weight: bold;
    color: #0056b3;
}

.time {
    display: block;
    font-size: 16px;
    font-weight: bold;
}

.station {
    display: block;
    font-size: 12px;
    color: #777777;
}

.price {
    font-weight: bold;
    color: #e44d26;
}

.no-result {
    text-align: center;
    padding: 40px;
    color: #777777;
    border: 1px dashed #cccccc;
    border-radius: 6px;
}

/* 푸터 디자인 정돈 */
footer {
    padding: 30px 0;
    background-color: #ffffff;
    color: #777777;
    font-size: 13px;
}

