/* fare_calculator_page_style.css */

.loading-container {
    display: none;
    flex-direction: column;
    justify-content: center; /* 세로 중앙 정렬 */
    align-items: center; /* 가로 중앙 정렬 */
    height: 198px; /* 기존 높이 유지 */
}


.calculator-card {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.calcultor-image {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    /* 최대 너비를 700px로 제한 */
    height: auto;
    /* 이미지 비율 유지 */
    margin-bottom: 10px;
}

.calculator-height {
    height: 640px !important;
}

.innovation-cotainer {
    display: flex; /* Flexbox로 설정 */
    flex-direction: column; /* 세로 방향 정렬 */
    height: 310px; /* 부모 높이 100% */
}

.cal-right-bottom-text {
    margin-top: auto;
    margin-bottom: 0px;
}

.service-description {
    margin-top: auto;
    font-size: 14px;
}

.accordion-button:not(.collapsed) {
    color: white;
    /* 텍스트 색상 */
    background-color: coral;
    /* 배경색 */
    border-color: coral !important;
    /* 테두리 색상 */
    box-shadow: none;
    /* 그림자 제거 */
}

.accordion-button:focus {
    z-index: 1;
    border-color: coral !important;
    /* 테두리 색상 */
    box-shadow: none;
    /* 그림자 제거 */
}

/* 열리는 답변의 배경을 노란색으로 설정 */
.accordion-collapse.show .accordion-body {
    background-color: floralwhite;
    /* 연한 노란색 */
}

/* 달구만의 혁신 시스템 GIF */

/* 제목용 반응형 폰트 설정 */
.gif-width {
    max-width: 220px;
}

.gif-title-font {
    font-size: 18px;
    font-weight: bold;
}

/* 내용용 반응형 폰트 설정 */
.gif-content-font {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0px;
}

.service-container {
    display: flex; /* Flexbox로 설정 */
    flex-direction: column; /* 세로 방향 정렬 */
}

.card {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    justify-content: start; /* 제목은 위에 고정 */
}

.accordion {
    flex-grow: 1; /* 여유 공간을 차지하도록 설정 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 콘텐츠를 수직 중앙 정렬 */
}

.modal-header {    
    padding-left: 44px;
}

/* 결과를 보여주는 스타일 */
#fare-result {
    display: none; /* 기본적으로 숨김 */
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333; /* 텍스트 색상 */
    background: #f8f9fa; /* 연한 배경색 */
    border: 1px solid #ddd; /* 경계선 */
    border-radius: 10px; /* 둥근 모서리 */
    padding: 20px; /* 내부 여백 */    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 효과 */
    animation: fadeIn 0.5s ease-in-out; /* 페이드인 애니메이션 */
}

#fare-result p {
    margin-bottom: 4px;
}

.form-check-input {
    margin-top: 6px;
}

.form-check {    
    padding-left: none;
}

.form-check .form-check-input {
    float: none;
    margin-left: -1.5em;
}

.form-check-label {
    font-size: 16px;
    color: blue;
    text-decoration: underline;
}

/* 페이드인 효과 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
