.wpr-calculator-container {
    margin: 20px 0;
}

.panel-calculator {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.calc-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    text-align: center;
}

.calc-group {
    margin-bottom: 12px;
}

.calc-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
    display: block;
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: white;
}

.calc-select:focus,
.calc-input:focus {
    outline: none;
    border-color: #667eea;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calc-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.calc-button:hover {
    transform: translateY(-2px);
}

.calc-result {
    background: white;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.calc-result.show {
    display: block;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.result-row:last-child {
    border-bottom: none;
    margin-top: 5px;
    padding-top: 12px;
    border-top: 2px solid #667eea;
}

.result-label {
    font-size: 13px;
    color: #4a5568;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.result-row:last-child .result-label {
    font-weight: 600;
    color: #1a202c;
}

.result-row:last-child .result-value {
    font-size: 24px;
    color: #f39c12;
}

.calc-note {
    background: #fffbeb;
    border-left: 4px solid #f39c12;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

.calc-note p {
    margin: 0;
}

.calc-note p + p {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .panel-calculator {
        padding: 15px;
    }
    
    .calc-title {
        font-size: 16px;
    }
    
    .calc-row {
        grid-template-columns: 1fr;
    }
}