.cic-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}
.cic-container {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eaeaea;
}
.cic-form-section {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: #f9fafb;
    border-right: 1px solid #eaeaea;
}
.cic-form-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #111;
}
.cic-field {
    margin-bottom: 16px;
}
.cic-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}
.cic-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.cic-field input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
/* Ẩn mũi tên tăng giảm mặc định của input number cho gọn gàng */
.cic-field input::-webkit-outer-spin-button,
.cic-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cic-field input[type=number] {
    -moz-appearance: textfield;
}

/* Dòng hiển thị định dạng số tiền bên dưới */
.cic-helper-text {
    font-size: 13px;
    color: #2563eb;
    margin-top: 5px;
    font-weight: 500;
}

#cic-calculate-btn {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}
#cic-calculate-btn:hover {
    background: #1d4ed8;
}
.cic-result-section {
    flex: 1.2;
    min-width: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cic-summary-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.cic-sum-item {
    background: #f3f4f6;
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 4px solid #9ca3af;
}
.cic-sum-item span {
    font-size: 13px;
    color: #6b7280;
    display: block;
}
.cic-sum-item h4 {
    margin: 4px 0 0 0;
    font-size: 18px;
    color: #1f2937;
}
.cic-sum-item.cic-highlight {
    background: #eff6ff;
    border-left-color: #2563eb;
}
.cic-sum-item.cic-highlight h4 {
    color: #1d4ed8;
    font-size: 22px;
}
.cic-text-success {
    color: #059669 !important;
}
.cic-chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}
@media (max-width: 768px) {
    .cic-container {
        flex-direction: column;
    }
    .cic-form-section {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}