/**
 * @package LeadTools
 *
 * @author Gevorg Arshakyan <gevorg@armmage.com>
 *
 * @copyright Copyright (c) 2024 ArmMage (https://armmage.com)
 */

.lead-tools-calculator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-headline {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.calculator-header .description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.trust-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.calculator-form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group label .required {
    color: #e02b27;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-actions {
    margin-top: 20px;
}

.calculate-btn,
.submit-lead-btn {
    background: #1979c3;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.calculate-btn:hover,
.submit-lead-btn:hover {
    background: #006bb4;
}

.calculator-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1979c3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.calculator-results {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #1979c3;
    margin-top: 30px;
}

.results-content h2 {
    margin-bottom: 20px;
    color: #1979c3;
}

.metrics-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.metrics-list li {
    padding: 10px;
    background: #f9f9f9;
    margin-bottom: 10px;
    border-radius: 4px;
}

.metrics-list li strong {
    display: inline-block;
    min-width: 200px;
}

.summary-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 20px 0;
    padding: 15px;
    background: #e8f4f8;
    border-left: 4px solid #1979c3;
}

.recommendations-list {
    list-style: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.recommendations-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.lead-capture-gate {
    margin-top: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #1979c3;
}

.lead-capture-gate h3 {
    margin-bottom: 15px;
    color: #1979c3;
    font-size: 1.8em;
}

.report-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.report-benefits li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.report-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}

.success-message {
    text-align: center;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

.success-message h3 {
    margin-bottom: 10px;
}

