.cyc-calculator-wrapper {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    max-width: 800px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #212529;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cyc-calculator-wrapper * {
    box-sizing: border-box;
}

.cyc-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.cyc-row.three-cols {
    flex-wrap: wrap;
}

.cyc-field-group {
    flex: 1;
    min-width: 150px;
}

.cyc-field-group.full-width {
    width: 100%;
}

.cyc-calculator-wrapper label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
}

.cyc-calculator-wrapper input[type="number"],
.cyc-calculator-wrapper select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out;
}

.cyc-calculator-wrapper input[type="number"]:focus,
.cyc-calculator-wrapper select:focus {
    border-color: #86b7fe;
    outline: 0;
}

.cyc-input-with-unit {
    display: flex;
}

.cyc-input-with-unit input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    flex: 1;
}

.cyc-input-with-unit select {
    width: 70px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #f8f9fa;
}

.cyc-input-type-toggle {
    display: flex;
    background: #e9ecef;
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cyc-radio-label {
    flex: 1;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    transition: all 0.2s;
}

.cyc-radio-label:has(input:checked) {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #000;
}

.cyc-radio-label input {
    display: none;
}

.cyc-group {
    display: none;
    animation: fadeIn 0.3s ease;
}

.cyc-group.active {
    display: block;
}

#cyc-volume-group {
    display: none;
}

/* Result Section */
.cyc-result-section {
    margin-top: 24px;
    padding: 24px;
    background: #343a40;
    color: #fff;
    border-radius: 6px;
    text-align: center;
}

.cyc-result-section h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    color: #fff;
}

.cyc-result-display {
    margin-bottom: 20px;
}

#cyc-result-tons {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #ffc107; /* Warning yellow/orange */
}

.cyc-unit {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 4px;
}

.cyc-sub-results {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.cyc-sub-item {
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 4px;
    text-align: left;
}

.cyc-sub-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 2px;
}

.cyc-sub-item .value {
    font-family: monospace;
    font-size: 1.1rem;
}

.cyc-sub-item .value.cost {
    color: #51cf66;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .cyc-row {
        flex-direction: column;
        gap: 12px;
    }
    .cyc-sub-results {
        flex-direction: column;
        gap: 10px;
    }
}
