﻿.plan {
    background-image: url(/assets/images/plan-bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 1221px;
    padding: 100px 0;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .toggle-container span:first-child {
        font-size: 24px;
        font-weight: 800;
        line-height: 125%;
        letter-spacing: 0.24px;
    }

    .toggle-container span:last-child {
        font-size: 24px;
        line-height: 125%;
        letter-spacing: 0.24px;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider-two {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

    .slider-two:before {
        position: absolute;
        content: "";
        height: 24px;
        width: 24px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

input:checked + .slider-two {
    background-color: #2196f3;
}

    input:checked + .slider-two:before {
        transform: translateX(30px);
    }

.plan-card {
    position: relative;
    background: #0d2f96;
    border-radius: 20px;
    padding: 30px;
    min-height: 855px;
}

.plan .row .col:nth-child(2) .plan-card {
    background-image: url(/assets/images/price-middle.png) !important;
    background-color: transparent !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.card-badge {
    padding: 0 16px !important;
    height: 34px;
    border-radius: 20px;
    background-color: #0f42b2;
    border: 1px solid rgba(49, 106, 255, 0.3);
}

.card-badge-right {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0 16px !important;
    height: 34px;
    border-radius: 8px;
    background-color: #ffffff;
}

.card-badge p {
    font-size: 18px !important;
    line-height: 188.889%;
}

.card-badge-right p {
    font-size: 16px !important;
    line-height: 1em;
    color: #113fbf !important;
}

span.price-period {
    color: #d7dbea;
    font-size: 22px;
    line-height: 34px;
}

span.price-amount {
    font-size: 50px !important;
    font-weight: 800;
    line-height: 68%;
}

.price-paragraph {
    color: #d7dbea;
    padding-bottom: 24px;
    margin-bottom: 0px;
    border-bottom: 1px solid #4d77c2;
}

.plan-card h3 {
    padding-top: 24px;
    font-size: 22px;
    font-weight: 800;
    line-height: 154.545%;
}

.plan-card ul li {
    color: #d7dbea;
    font-size: 18px;
    line-height: 155.556%;
    padding-left: 34px;
    background-image: url("/assets/images/list-icon.svg");
    background-repeat: no-repeat;
    background-position: left center;
}

.plan-card .btn {
    background-color: #1665f5 !important;
    padding: 12px 40px !important;
}

.compare {
    padding: 110px 0 100px 0;
}

th.text-center:first-child {
    border-top-left-radius: 20px;
}

th.text-center:last-child {
    border-top-right-radius: 20px;
}

.p-40 {
    padding-left: 40px !important;
    color: #001d48;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}

table thead tr {
    border: none !important;
}

.text-center {
    text-align: center !important;
    vertical-align: middle !important;
}

.compare .table .bg-primary {
    background-color: #e7eaf6 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

td.bg-primary.text-center {
    color: #001d48;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

tr th {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

th.text-center {
    background-color: #102aaa !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
}

.compare .table .btn {
    background-color: #1665f5 !important;
    padding: 8px 62px !important;
    border-radius: 40px !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 154%;
}

tr.diffrent-color th,
tr.diffrent-color td {
    background: #f5f7fe !important;
}

tbody tr:last-child th {
    color: #1147c7;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    text-transform: capitalize;
}

tbody tr:last-child th,
tbody tr:last-child td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

@media (min-width: 1199px) {
    .list-unstyled {
        min-height: 500px;
    }

    .minus-margin {
        margin-top: -33px;
    }
}

@media (max-width: 1199px) {
    .plan {
        background-size: 100% 100%;
        padding: 80px 0;
    }

    .plan-card {
        border-radius: 16px;
        padding: 20px;
    }

    span.price-amount {
        font-size: 34px !important;
    }

    .card-badge-right p,
    .card-badge p {
        font-size: 15px !important;
    }

    .plan-card h3 {
        font-size: 18px;
    }

    .compare {
        padding: 80px 0 80px 0;
    }

    .p-40,
    td.bg-primary.text-center,
    th.text-center {
        font-size: 16px;
    }

    ul.list-unstyled {
        padding-bottom: 30px !important;
    }

    .minus-margin {
        margin-top: unset !important;
    }
}

@media (max-width: 991px) {
    .plan {
        padding: 60px 0;
    }

    .plan-card {
        min-height: auto !important;
    }
}

@media (max-width: 991px) {
    .compare .table .btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .compare,
    .plan {
        padding: 45px 0;
    }

    .p-40 {
        padding-left: 20px !important;
        font-size: 16px !important;
    }

    .toggle-container span:first-child,
    .toggle-container span:last-child {
        font-size: 20px;
    }
}
