/* 租金扣繳及二代健保計算機 - 自訂樣式 */
/* Version: 1.1 */

.normal-font {
    font-weight: normal !important;
}

.result {
    color: blue;
}

#tax-insurance-fields .col-md-6 {
    float: left;
    width: 50%;
}

/* Additional CSS to ensure correct layout */
.row {
    display: flex;
    flex-wrap: wrap;
}

#rentAmount {
    background-color: #FFFACD; /* 鵝黃色 */
}

#landlordType, #taxIncluded {
    background-color: #E0F7FA; /* 淡藍色 */
}

#calculator-form .form-control,
#calculator-form .form-select {
    width: 100%;
    height: 38px; /* 統一高度 */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

#calculator-form .form-label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#rentAmount {
    background-color: #FFFACD; /* 鵝黃色 */
}

#landlordType, #taxIncluded {
    background-color: #E0F7FA; /* 淡藍色 */
}

/* 確保在小屏幕上也能維持一致性 */
@media (max-width: 768px) {
    #calculator-form .col-md-6 {
        margin-bottom: 1rem;
    }
}

.dark_blue_text {
    color: #2F7E9A;
}

.data-display {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2px;
}

.data-display .title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
}

.data-display .value {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    background-color: #f0f8f0;
    padding: 8px 12px;
    border-radius: 4px;
}

.blue-icon {
    color: #007bff;  /* Bootstrap 的主要藍色 */
    font-size: 1.5rem;  /* 根據需要調整大小 */
}

#resetButton {
    background: none;
    border: none;
    padding: 0;
}

#resetButton:hover .blue-icon {
    color: #0056b3;  /* 懸停時的深藍色 */
}

.gradient-text {
    background: linear-gradient(45deg, #4a90e2, #50e3c2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.version-badge {
    background-color: #50e3c2;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    vertical-align: super;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 更新按鈕樣式 */
.btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #50e3c2;
}

/* 更新輸入框背景色 */
#rentAmount {
    background-color: #FFFAE6;
}

#landlordType, #taxIncluded {
    background-color: #29D7D417;
}
