.roas-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.calculator-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.calculator-header p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.calculator-form h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #4a5fc1;
}

.currency {
    position: absolute;
    right: 15px;
    color: #666;
    font-weight: 600;
    pointer-events: none;
}

.calculate-button {
    width: 100%;
    padding: 15px;
    background: #4a5fc1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.calculate-button:hover {
    background: #3d4ea3;
}

.results-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.result-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.result-value {
    font-size: 32px;
    font-weight: bold;
    color: #4a5fc1;
    margin-bottom: 5px;
}

.result-description {
    color: #666;
    margin: 0;
}

.interpretation {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4a5fc1;
}

.interpretation h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.interpretation-text {
    color: #555;
    line-height: 1.6;
}

.positive { color: #27ae60 !important; }
.negative { color: #e74c3c !important; }
.neutral { color: #f39c12 !important; }

/* Responsywność */
@media (max-width: 768px) {
    .roas-calculator {
        margin: 10px;
        padding: 20px;
    }
    
    .calculator-header h2 {
        font-size: 24px;
    }
    
    .result-value {
        font-size: 28px;
    }
}