/* Calculator Styles - Original Theme */
.calculator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.calculator-container.original-theme {
    background: rgba(40, 170, 152, 0.05);
    border-radius: 24px;
    border: 2px solid rgba(40, 170, 152, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.calculator-container.original-theme h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Input Section */
.input-section {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.role-input {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(40, 170, 152, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.role-input h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.input-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.input-group input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #28aa98;
    box-shadow: 0 0 0 3px rgba(40, 170, 152, 0.1);
}

.input-group input::placeholder {
    color: #999;
}

/* Results Section */
.results-section {
    display: grid;
    gap: 1.5rem;
}

.cost-breakdown,
.our-solution,
.savings,
.savings-breakdown {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(40, 170, 152, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cost-breakdown h3,
.our-solution h3,
.savings h3,
.savings-breakdown h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid #28aa98;
    margin-top: 0.5rem;
    padding-top: 1rem;
    color: #1a1a1a;
}

.total-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.savings-amount {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #28aa98;
}

.savings-amount span:last-child {
    font-size: 1rem;
    color: #666;
    margin-left: 0.5rem;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.breakdown-item {
    text-align: center;
    padding: 1rem;
    background: rgba(40, 170, 152, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(40, 170, 152, 0.2);
}

.breakdown-item .label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-item .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #28aa98;
}

/* Responsive Design */
@media (min-width: 768px) {
    .calculator-container.original-theme {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .input-section {
        margin-bottom: 0;
    }

    .role-input {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        align-items: end;
    }

    .role-input h3 {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }

    .input-group {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .calculator-wrapper {
        padding: 1rem;
    }

    .calculator-container.original-theme {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .calculator-container.original-theme h2 {
        font-size: 1.5rem;
    }

    .role-input {
        padding: 1rem;
    }

    .cost-breakdown,
    .our-solution,
    .savings,
    .savings-breakdown {
        padding: 1rem;
    }

    .savings-amount {
        font-size: 1.5rem;
    }

    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Effects */
.calculator-container.original-theme {
    animation: slideInUp 0.6s ease-out;
}

.role-input,
.cost-breakdown,
.our-solution,
.savings,
.savings-breakdown {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-input:hover,
.cost-breakdown:hover,
.our-solution:hover,
.savings:hover,
.savings-breakdown:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.input-group input {
    transition: all 0.3s ease;
}

.input-group input:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.calculator-container.original-theme.loading {
    opacity: 0.7;
    pointer-events: none;
}

.calculator-container.original-theme.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(40, 170, 152, 0.3);
    border-top: 3px solid #28aa98;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error States */
.input-group input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.input-group input.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success States */
.input-group input.success {
    border-color: #28aa98;
    background: rgba(40, 170, 152, 0.05);
}

.input-group input.success:focus {
    border-color: #28aa98;
    box-shadow: 0 0 0 3px rgba(40, 170, 152, 0.1);
} 