/* 기본 스타일 */
body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f5;
}

/* 컨테이너 스타일 */
.container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff; /* 컨테이너 배경 색상 */
    border-radius: 12px; /* 부드러운 모서리 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 헤더 스타일 */
header {
    position: relative;
    height: 200px; /* 헤더의 높이 설정 */
    background-image: url('/static/log.jpg'); /* 트럭 사진의 경로 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

header h1 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* 폼 스타일 */
form {
    margin-bottom: 30px; /* 표와의 간격을 늘리기 위해 수정 */
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
}

input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

input#total-km {
    height: 44px; /* Same height as fuel amount input */
}

/* Submit 버튼 스타일 */
button {
    width: 100%;
    padding: 12px;
    background-color: #007aff; /* iOS blue color */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0051a8; /* Darker blue for hover effect */
}

/* 년/월 콤보 박스 스타일 */
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

/* 테이블 스타일 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px; /* 테이블 하단 여백 추가 */
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 12px;
}

th {
    background-color: #f9f9f9;
    color: #333333;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping */
}

tfoot {
    background-color: #f2f2f2;
}

/* 더보기 버튼 스타일 */
#show-more {
    width: 100%;
    padding: 12px;
    background-color: #007aff; /* iOS blue color */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

#show-more:hover {
    background-color: #0051a8; /* Darker blue for hover effect */
}

/* Footer 스타일 */
footer {
    text-align: center;
    padding: 12px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.fuel-price {
    font-size: 14px;
    color: #333;
}

