body { background-color: #f5f5f5; }
.container { max-width: 1200px; margin-top: 20px; }
.row { margin-bottom: 10px; }
.card { padding: 20px; }

/* nav 영역 */
nav {
    background: linear-gradient(to right, #1a237e, #0D47A1);
}

footer {
    background: linear-gradient(to right, #303f9f, #1976D2);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    position: relative !important;
    display: flex;
    align-items: center;
}

.brand-logo h1 {
    font-size: 24px !important;
    margin: 0;
    padding: 0 20px;
}

/* 스위치 영역 */
.switch-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}
.switch-label {
    color: #0d47a1;
    font-weight: 500;
}
.custom-switch {
    display: flex;
    gap: 5px;
}
.custom-switch button {
    padding: 5px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 50px;
}
.custom-switch button.active {
    background-color: #0d47a1;
    color: white;
}
.custom-switch button:not(.active) {
    background-color: #e0e0e0;
    color: #616161;
}

/* 입력 필드 */
#carNumber {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    height: 3rem;
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
#carNumber:disabled {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}
/* placeholder 스타일 */
#carNumber::placeholder {
    color: rgba(158, 158, 158, 0.87);
    transition: color 0.3s ease;
}
#carNumber.active::placeholder {
    color: black;
}

/* 버튼 스타일 */
.btn-group .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}
.btn-group .btn.active {
    background-color: #0d47a1 !important;
    color: white !important;
}
.btn-group .btn:not(.active) {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd;
}

/* 비활성화 스타일 */
.disabled-content {
    opacity: 0.4;
    pointer-events: none;
}
.disabled-content input,
.disabled-content select,
.disabled-content button:not(#calculateBtn) {
    pointer-events: none !important;
}
select:disabled {
    opacity: 0.4;
}

.hidden { display: none !important; }


/* 결과 스타일 */
.tax-result {
    background: linear-gradient(to right, #1a237e, #0D47A1);
    padding: 10px;
    margin: 0px;
    border-radius: 4px;
}
.tax-amount-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tax-amount {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
}

.tax-description {
    padding: 5px 0;
}

.tax-detail {
    margin: 8px 0;
}

.detail-amount {
    font-weight: 500;
}

.compact p {
    margin: 0;
}

.row.tax-detail {
    margin-bottom: 0;
}

.row.compact {
    margin-bottom: 8px;
}

.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 10;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
}
   
.snackbar.show {
    visibility: visible;
    animation: snackbar-fadein 0.5s;
}
   
@keyframes snackbar-fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}