/* =================================================================== */
/* 페이지 특정 레이아웃 CSS (단위 변환기용)                             */
/* =================================================================== */
.app-header { 
    text-align: center; 
    margin-bottom: var(--rg-spacing-large); 
}
.converter-wrapper { 
    display: flex; 
    align-items: flex-end; 
    gap: var(--rg-spacing); 
}
.converter-unit { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}
#swap-btn {
    flex-shrink: 0; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    border: none;
    background-color: var(--rg-color-secondary); 
    color: var(--rg-color-text); 
    cursor: pointer;
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.2s ease; 
    margin-bottom: 2px; /* input 높이와 맞추기 위함 */
}
#swap-btn:hover { 
    background-color: var(--rg-color-secondary-dark); 
    transform: rotate(180deg); 
}
#from-value.base-input { 
    text-transform: uppercase; /* 진법 변환용 */
}


/*
===================================================================
3. 카드 내 단위 설명 박스 스타일
===================================================================
*/
.unit-description-box {
    margin-top: var(--rg-spacing-large);
    padding-top: var(--rg-spacing);
    border-top: 1px solid var(--rg-color-border);
    font-size: 0.9rem;
    color: var(--rg-color-text-secondary);
    line-height: 1.6;
    transition: opacity 0.3s ease-in-out;
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    .converter-wrapper { 
        flex-direction: column; 
        align-items: stretch; 
    }
    #swap-btn { 
        width: 100%; 
        border-radius: var(--rg-border-radius); 
        margin: 0; 
    }
}

