#cc-calculator {
    max-width: 800px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    color: #1f2937;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.cc-progress {
    display: flex;
    margin-bottom: 28px;
    gap: 6px;
}
.cc-progress-step {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    transition: all 0.2s;
}
.cc-progress-step.active {
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.cc-step {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cc-step h3 {
    margin-top: 0;
    font-weight: 600;
    color: #111827;
}
.cc-step label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 500;
    color: #374151;
}
.cc-step input, .cc-step select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111827;
    font-size: 1rem;
    transition: 0.2s;
}
.cc-step input:focus, .cc-step select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.cc-step input[type="radio"], .cc-step input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}
.cc-radio-group, .cc-checkbox-group {
    margin: 12px 0;
}
.cc-radio-group label, .cc-checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    font-weight: normal;
}
.cc-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: #f3f4f6;
    border-radius: 8px;
}

.cc-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
}
.cc-btn {
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.cc-btn-primary {
    background: #10b981;
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.cc-btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
}
.cc-btn-secondary {
    background: #f3f4f6;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}
.cc-btn-secondary:hover {
    background: #e5e7eb;
}

.cc-result-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px 20px;
    margin: 24px 0 16px;
}
.cc-result-box h4 {
    margin: 0 0 12px;
    color: #111827;
}
#cc-success, #cc-error {
    margin-top: 24px;
    padding: 12px;
    border-radius: 16px;
    text-align: center;
    display: none;
}
#cc-success {
    background: #d1fae5;
    color: #065f46;
}
#cc-error {
    background: #fee2e2;
    color: #991b1b;
}
@media (max-width: 640px) {
    #cc-calculator {
        margin: 12px;
        padding: 18px;
    }
    .cc-btn {
        padding: 8px 18px;
    }
}
@media (max-width: 480px) {
    .cc-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .cc-buttons .cc-btn {
        width: 100%;
        text-align: center;
    }
}