/* static/css/bonds.css */

/* 전체 컨테이너 설정 */
.bond-container {
    max-width: 900px;
    font-family: 'Gowun Dodum', sans-serif;
}

/* 제목 및 텍스트 색상 */
.text-navy {
    color: #1d3557;
}

.text-blue-gray {
    color: #457b9d;
}

/* 상단 구분선 */
.title-divider {
    width: 60px;
    height: 4px;
    background-color: #457b9d;
    margin: 20px auto;
}

/* 버튼 커스텀 */
.btn-navy {
    background-color: #1d3557;
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #2a4a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 결과 섹션 스타일 */
.result-box {
    background-color: #f8f9fa; /* bg-light 대체 */
    border-radius: 8px;
    padding: 1.5rem;
}

.table-result td {
    vertical-align: middle;
}

/* 테이블 내 강조 텍스트 크기 */
.val-highlight {
    font-size: 1.1rem;
}

.explanation-box {
    background-color: #f1f3f5;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* [추가] 검색 버튼 커스텀 스타일 */
.btn-search-custom {
    background-color: #5189bc;
    border-color: #5189bc;
    transition: all 0.2s ease-in-out; /* 부드러운 전환 효과 */
}

/* 마우스 올렸을 때 (Hover): 살짝 어둡게 */
.btn-search-custom:hover {
    background-color: #4275a3; /* 기존 색보다 약간 진한 톤 */
    border-color: #4275a3;
    color: #ffffff;
}

/* 클릭했을 때 (Active): 더 어둡게 + 눌리는 느낌 */
.btn-search-custom:active {
    background-color: #355f85 !important;
    border-color: #355f85 !important;
    transform: translateY(2px); /* 살짝 아래로 눌리는 효과 */
}