.mccallum-calculator-container {
    background-color: #FFFFFF;
    border-radius: 6px;
    margin: 20px 0;
}

.mccallum-calculator-title {
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.mccallum-calculator-subtitle {
    font-size: 14px;
    color: #777777;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

.mccallum-input-section {
    background-color: #F8F8F8;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
}

.mccallum-input-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.mccallum-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mccallum-input-with-controls {
    display: flex;
    align-items: center;
    border: 2px solid #000000;
    border-radius: 4px;
    background-color: #FFFFFF;
}

.mccallum-input-btn {
    width: 40px;
    height: 40px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.mccallum-input-btn:hover {
    background-color: #fff;
    color:#000;
    transition: background-color .4s, color .4s ease-in-out;
}

.mccallum-input-btn:first-child {
    border-radius: 2px 0 0 2px;
}

.mccallum-input-btn:last-child {
    border-radius: 0 2px 2px 0;
}

.mccallum-input {
    width: 80px;
    padding: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.mccallum-input:focus {
    outline: none;
    background-color: #F8F8F8;
}

.mccallum-unit {
    font-size: 14px;
    color: #777777;
    margin-left: 8px;
}

.mccallum-help-text {
    font-size: 12px;
    color: #777777;
    font-style: italic;
    margin-top: 8px;
}

.mccallum-results-container {
    margin-top: 25px;
}

.mccallum-results-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.mccallum-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.mccallum-result-card {
    background-color: #F8F8F8;
    padding: 15px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 0 6px 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mccallum-result-label {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.mccallum-result-value {
    font-size: 16px;
    color: #000000;
    font-weight: 700;
}

.mccallum-result-formula {
    font-size: 11px;
    color: #777777;
    margin-top: 2px;
    font-style: italic;
}

.mccallum-base-card {
    border-left-color: #000000;
    background-color: #E3F2FD;
}

.mccallum-warning {
    background-color: #FFF3F3;
    padding: 15px;
    margin-top: 25px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.mccallum-warning strong {
    color: #721C24;
}

@media (max-width: 768px) {
    .mccallum-calculator-container {
        padding: 20px 15px;
    }
    
    .mccallum-results-grid {
        grid-template-columns: 1fr;
    }
    
    .mccallum-input-group {
        flex-direction: column;
        gap: 15px;
    }
}
