/* IT LION kalkulator sajta — popup (2026-07-11) */

.itl-calc-open {
    display: block;
    margin: 24px auto;
    padding: 16px 34px;
    background: darkorange;
    color: #fff;
    border: 0;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.itl-calc-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 140, 0, 0.45);
}

.itl-calc-overlay[hidden] {
    display: none;
}

.itl-calc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 30, 0.75);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.itl-calc-modal,
.itl-calc-modal button,
.itl-calc-modal input {
    font-family: inherit;
}

.itl-calc-modal {
    position: relative;
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 34px 30px 26px;
    text-align: center;
}

.itl-calc-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 30px;
    line-height: 1;
    color: #99939e;
    cursor: pointer;
}

.itl-calc-bar {
    height: 6px;
    background: #f0eef4;
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.itl-calc-bar span {
    display: block;
    height: 100%;
    width: 20%;
    background: darkorange;
    border-radius: 3px;
    transition: width 0.25s ease;
}

.itl-calc-step h3 {
    font-size: 21px;
    color: #3c3950;
    margin: 0 0 18px;
    text-transform: none;
    letter-spacing: 0;
}

.itl-calc-step {
    border: 0;
    padding: 0;
    margin: 0;
}

.itl-calc-opts {
    display: grid;
    gap: 12px;
}

.itl-calc-opt {
    display: block;
    width: 100%;
    padding: 16px;
    background: #faf9fc;
    border: 2px solid #eceaf1;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    color: #3c3950;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.itl-calc-ico {
    display: block;
    margin: 0 auto 6px;
}

.itl-calc-ico svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: darkorange;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.itl-calc-opt b {
    display: block;
    margin-top: 4px;
}

.itl-calc-opt small {
    display: block;
    color: #99939e;
    margin-top: 2px;
}

.itl-calc-opt:hover,
.itl-calc-opt.selected {
    border-color: darkorange;
    background: #fff7ec;
}

.itl-calc-final input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 2px solid #eceaf1;
    border-radius: 8px;
    font-size: 15px;
}

.itl-calc-final input:focus {
    border-color: darkorange;
    outline: none;
}

.itl-calc-note {
    color: #99939e;
    font-size: 14px;
    margin: -6px 0 16px;
}

.itl-calc-submit {
    width: 100%;
    padding: 15px;
    background: darkorange;
    color: #fff;
    border: 0;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.itl-calc-submit:hover {
    background: #e07b00;
}

.itl-calc-back {
    margin-top: 18px;
    background: none;
    border: 0;
    color: #99939e;
    font-size: 14px;
    cursor: pointer;
}

.itl-calc-back:hover {
    color: #3c3950;
}
