/* Stile principale del contenitore showcase */
.ale-metric-showcase {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: fadeIn 0.25s ease-in;
}

/* Sezione interna */
.ale-metric-section {
    margin-bottom: 12px;
    background: #e9ecef;
    border-radius: 4px;
    padding: 12px;
}

.ale-metric-section h4 {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

/* Campo singolo */
.ale-metric-field {
    margin-bottom: 8px;
    background: #e9ecef;
    border-radius: 4px;
    padding: 10px;
}

.ale-metric-field:last-child {
    margin-bottom: 0;
}

.ale-metric-field label {
    display: block;
    color: #495057;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 13px;
}

.ale-metric-field input[type="number"],
.ale-metric-field select {
    width: 300px;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 32px;
    margin-right: 8px;
}

.ale-metric-field input[type="number"]:disabled {
    background: #f1f3f5;
    cursor: not-allowed;
    color: #adb5bd;
}

.ale-metric-field input[type="number"]:focus,
.ale-metric-field select:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.ale-metric-field input[type="number"]:hover,
.ale-metric-field select:hover {
    border-color: #adb5bd;
}

.ale-metric-field span {
    color: #6c757d;
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
}

/* Sezione prezzo finale */
.ale-metric-price-section {
    background: #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin-top: 12px;
    text-align: left;
}

.ale-metric-price-section strong {
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
}

.ale-metric-price-section small {
    color: #6c757d;
    font-size: 11px;
    margin-left: 8px;
}

/* CTA */
.ale-metric-cta {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 4px;
}

.ale-cta-text {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.ale-cta-button {
    background: #0073aa;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

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

/* Responsive */
@media (max-width: 768px) {
    .ale-metric-showcase {
        padding: 12px;
        margin: 12px 0;
    }

    .ale-metric-field input[type="number"],
    .ale-metric-field select {
        width: 250px;
    }

    .ale-metric-section h4 {
        font-size: 13px;
    }
}