.elementor-4638 .elementor-element.elementor-element-19bbdc6{--display:flex;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-4638 .elementor-element.elementor-element-02f91dd{margin:100px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:center;}.elementor-4638 .elementor-element.elementor-element-00eb844.elementor-element{--align-self:center;}/* Start custom CSS for html, class: .elementor-element-00eb844 */.calculator {
        max-width: 600px;
        width: 100%;
        background-color: #fff;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid #e0e0e5;
        position: relative;
        overflow: hidden;
    }

    .calculator h3 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
        color: #2d3436;
        font-weight: 700;
    }

    .rate-source {
        margin-bottom: 25px;
        padding: 20px;
        background: #f8f9fe;
        border-radius: 10px;
    }

    .rate-source legend {
        font-size: 1.1rem;
        font-weight: 600;
        color: #4a4a4a;
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }

    .rate-source label {
        display: inline-flex;
        align-items: center;
        margin: 0 15px 0 0;
        padding: 8px 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .rate-source label.active {
        background: #e8e4fc; /* Колір фону активного елемента */
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2); /* Тінь активного елемента */
    }

    .rate-source input[type="radio"] {
        display: none;
    }

    .converter-fields {
        display: grid;
        gap: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        font-size: 0.95rem;
        font-weight: 500;
        margin-bottom: 8px;
        color: #6c757d;
    }

    select, input[type="number"] {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        border: 2px solid #e0e0e5;
        border-radius: 10px;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }

    select:focus, input[type="number"]:focus {
        border-color: #6c5ce7;
        box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
    }

    .converter-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 15px;
        align-items: end;
    }

    .swap-button {
        background: #6c5ce7;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
        margin: 0 0 8px;
    }

    .swap-button:hover {
        background: #5b4bc4;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(108, 92, 231, 0.25);
    }

    .swap-button svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .result {
        margin-top: 25px;
        padding: 20px;
        border: 2px solid #00b894;
        background: rgba(0, 184, 148, 0.05);
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .result.error-state {
        border-color: #d63031;
        background: rgba(214, 48, 49, 0.05);
    }

    .final-amount {
        font-size: 1.75rem;
        font-weight: 700;
        margin: 10px 0;
    }

    @media (max-width: 768px) {
        .rate-source {
            padding: 15px;
        }
        
        .rate-source label {
            margin: 0 8px 8px 0;
            width: 100%;
            display: flex;
        }
        
        .converter-row {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .swap-button {
            width: 100%;
            height: auto;
            padding: 12px;
            margin: 5px 0;
        }
    }

    @media (max-width: 480px) {
        .calculator {
            padding: 20px;
            border-radius: 10px;
        }
        
        .rate-source {
            overflow-x: auto;
            white-space: nowrap;
            padding: 12px;
        }
        
        .rate-source label {
            display: inline-flex;
            width: auto;
            margin: 0 8px 0 0;
        }
        
        select, input[type="number"] {
            font-size: 0.95rem;
        }
    }/* End custom CSS */