:root {
    --mailtribe-main-color: #14457E;
    --mailtribe-accent-color: #08CEC4;
    --mailtribe-button-color: #E8A541;
}

.pricetable-wrapper {
    font-family: Lato, sans-serif;
    float: left;
    width: 33.3%;
    padding: 8px;
}

.pricetable {
    background-color: #F9FAFA;
    background-color: #F9FAFA;
    list-style-type: none;
    margin: 0;
    padding: 0 0 10px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.pricetable-switch-wrapper {
    display: flex;
}
.pricetable-switch-wrapper > span:first-child {
    width: 40%;
    text-align: right;
}

.pricetable.highlighted {
    border: 4px solid var(--mailtribe-accent-color);
}

.pricetable .header {
    background-color: var(--mailtribe-main-color);
    color: white;
}

.pricetable .header.highlighted {
    background-color: var(--mailtribe-accent-color);
}

.pricetable .header h2 {
    font-size: 24px;
}

.pricetable .header p {
    font-size: 13px;
}

.pricetable li {
    padding: 20px;
    text-align: center;
}

.pricetable li.usp {
    font-size: 14px;
    margin: 0 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.pricetable li.usp i {
    color: var(--mailtribe-accent-color);
    margin-right: 5px;
}

.pricetable .price-note {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
}

.pricetable .price {
    font-size: 30px;
    font-weight: bold;
}

.pricetable .trial {
    font-size: 16px;
    font-weight: bold;
}

.button {
    display: block;
    /*margin: 16px;*/
    border-radius: 15px;
    background-color: #E8A541;
    border: none;
    color: white;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
}

.button:hover {
    background-color: black;
}

/** New input wrapper */
.input-container {
    font-family: Lato, sans-serif;
    display: flex;
    flex-wrap: wrap;
    margin: 32px 0;
}

.input-container.domaincheck {
    flex-direction: column;
}

.input-column {
    position: relative;
    flex: 1;
    width: 50%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .input-container {
        font-family: Lato, sans-serif;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 24px;
    }

    .pricetable-wrapper {
        width: 100%;
    }

    .input-column {
        text-align: center;
        flex: none;
        width: 100%;
    }

    .input-container label {
        margin-bottom: 12px;
    }
}

.input-container .discount {
    font-size: 14px;
    font-weight: 600;
}
.input-container .discount .discount-fee {
    color: var(--mailtribe-button-color);
}

.input-container label {
    font-size: 18px;
    font-weight: bold;
}

/** || Input range element **/
#pricetable-slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    border-radius: 12px;
    width: 25px;
    height: 25px;
    background: var(--mailtribe-button-color);
    cursor: pointer;
}

#pricetable-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 12px;
    background: var(--mailtribe-button-color);
    cursor: pointer;
}

#pricetable-slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    border-radius: 12px;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 0 8px;
}

#pricetable-slider-value {
    font-weight: bold;
}

#pricetable-slider:hover {
    opacity: 1;
}
/** || Input range element **/

/* The switch - the box around the slider */
.switch {
    margin: 0 12px;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--mailtribe-button-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--mailtribe-button-color);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-icon {
    display: none;
    margin: 75px auto;
    border: 4px solid rgba(22, 69, 126, 0.2);
    border-top: 4px solid #16457E;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    animation: spin 1s linear infinite;
}

/* Styling for the tooltip container */
.tooltip {
    font-size: 14px;
    margin-left: 8px;
    color: white;
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: var(--mailtribe-button-color);
    font-weight: bold;
    border-radius: 25px;
    padding: 0 12px;
}

/* Styling for the tooltip content */
.tooltip .tooltiptext {
    font-weight: normal;
    visibility: hidden;
    width: 400px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Show the tooltip content on hover */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .tooltip {
        font-size: 12px; /* Adjust font size for mobile */
    }

    .tooltip .tooltiptext {
        width: 250px; /* Adjust width for mobile */
        font-size: 12px; /* Adjust font size for mobile */
        left: auto;
        right: 0px;
        transform: translateX(0);
    }
}

.dns-validator {

    & .input-container {
        gap: 0.5em;

        & label {
            width: 50%;
        }

        & input {
            flex: 1;
            background-color: white;
            border: 1px solid black;
            border-radius: 6px;
            padding: 0 0.75em;
        }

        & button {
            padding-left: 6em;
            padding-right: 6em;
            background-color: var(--e-global-color-primary);
            border: none;
            border-radius: 6px;

            &:hover {
                background-color: #272727;
            }
        }
    }

    & .dns-status {
        display: flex;
        align-items: center;
        padding: 20px;
        gap: 1.5em;
        margin-bottom: 1em;

        &.success {
            border: 1px solid var(--e-global-color-primary);
            background-color: #F0FFFE;

            & .icon {
                color: var(--e-global-color-primary);
            }
        }

        &.warning {
            border: 1px solid #E13503;
            background-color: #FFF7F4;

            & .icon {
                color: #E13503;
            }
        }

        & .icon {
            font-size: 50px;
        }


        & .text {
            flex: 1;

            & p {
                margin-bottom: 0;
            }
        }
    }

    & h3 {
        color: black;
    }
}