/*
 * Plik: electra-calc-style.css
 * Opis: IZOLOWANE style dla kalkulatora Electra TCO Builder (v5.8 - Final Design)
 */

/* =============================================================== */
/* 1. KALKULATOR TCO (FORMULARZ) */
/* =============================================================== */

.el-calc-wrapper {
    /* Główny kontener kalkulatora */
    background: #fff;
    border: 1px solid #eee;
    border-top: 5px solid #d32f2f; /* Kolor marki */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px; /* Optymalna szerokość */
    margin: 20px auto;
    font-family: Arial, sans-serif;
    line-height: 1.3;
    box-sizing: border-box; 
}
.el-calc-title {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
}
.el-calc-subtitle, .el-calc-disclaimer {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
.el-input-group {
    display: flex;
    gap: 20px; 
    margin-bottom: 20px;
}
.el-input-box {
    flex-grow: 1; 
    box-sizing: border-box;
    min-width: 48%; 
}
.el-input-box label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}
.el-input-box input, .el-input-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; 
}
.el-calc-btn {
    width: 100%;
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    box-sizing: border-box;
}
.el-calc-btn.status-green {
    background-color: #2e7d32;
}
.el-calc-btn:hover {
    background-color: #1a1a1a;
}

/* WYNIKI I STATUSY */
#el-calc-result {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f0f0f0;
    border-left: 5px solid #2e7d32;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}
.el-res-status {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}
.el-final-price {
    font-size: 40px;
    color: #d32f2f;
    font-weight: 800;
    margin: 10px 0;
    display: block;
}
.el-message-box {
    color:#d32f2f; 
    font-weight:bold; 
    margin-top:10px;
}
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
}

/* ------------------------------------------- */
/* SEKCJA PORÓWNANIA (WIZUALNA) */
/* ------------------------------------------- */

.el-comparison-wrapper {
    max-width: 950px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    background: #f7f7f7;
    text-align: center;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}
.el-comp-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.el-comp-savings-display {
    padding: 20px;
    margin: 20px auto 30px;
    background: #fff;
    border: 2px solid #2e7d32;
    border-radius: 6px;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.el-savings-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}
.el-comp-total-savings {
    font-size: 44px;
    font-weight: 900;
    color: #2e7d32; 
    display: block;
}

.el-comp-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px; 
    margin-top: 30px;
}
.el-comp-column {
    flex: 1;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: left;
    min-width: 40%;
    max-width: 450px; 
    display: flex;
    flex-direction: column;
}
.el-comp-header {
    font-weight: bold;
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}
.el-comp-broker .el-comp-header {
    background: #d32f2f;
}
.el-comp-electra .el-comp-header {
    background: #2e7d32;
}

.el-comp-list {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex-grow: 1;
}
.el-comp-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    .el-input-group {
        flex-direction: column;
        gap: 0;
    }
    .el-input-box {
        min-width: 100%;
        margin-bottom: 15px;
    }
    /* Sekcja Porównania */
    .el-comp-grid {
        flex-direction: column;
        gap: 15px;
    }
    .el-comp-column {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
    .el-comp-vs {
        display: none;
    }
}