.ift-tool {
    max-width: 980px;
    margin: 30px auto;
    padding: 28px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.ift-tool h2,
.ift-tool h3 {
    margin-top: 0;
}

.ift-intro {
    color: #555;
    margin-bottom: 22px;
}

.ift-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ift-tool label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.ift-tool input,
.ift-tool select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 15px;
}

#ift-calculate {
    margin-top: 22px;
    padding: 13px 22px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#ift-calculate:hover {
    opacity: 0.9;
}

.ift-error {
    margin-top: 15px;
    color: #b00020;
    font-weight: 700;
}

.ift-results {
    margin-top: 28px;
}

.ift-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 18px 0 25px;
}

.ift-card {
    padding: 18px;
    border-radius: 12px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    text-align: center;
}

.ift-card.featured {
    background: #f0f6ff;
    border-color: #b7d4ff;
}

.ift-card span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.ift-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.ift-card small {
    color: #555;
}

.ift-status-box {
    padding: 18px;
    border-radius: 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
}

.ift-progress-wrap {
    width: 100%;
    height: 18px;
    background: #e8e8e8;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0;
}

.ift-progress-bar {
    height: 100%;
    width: 0;
    background: #222;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.ift-note {
    margin-top: 14px;
    padding: 14px;
    background: #f0f6ff;
    border-left: 4px solid #3273dc;
    color: #333;
}

.ift-disclaimer {
    margin-top: 16px;
    padding: 14px;
    background: #fff8e5;
    border-left: 4px solid #e0a800;
    color: #444;
}

@media (max-width: 800px) {
    .ift-grid,
    .ift-card-grid {
        grid-template-columns: 1fr;
    }
}