:root {
    --formico-color-primary: rgba(92, 49, 254, 1);
    --formico-color-background: rgba(92, 49, 254, .06);
    --formico-color-text: #232323;
}

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,100&display=swap'); */

.toplevel_page_integrate-google-calendar #wpcontent {
    padding-left: 0;
    background-color: rgba(0, 119, 255, .04);
}

.ingc_dashboard_wrap {
    /* font-family: "Poppins", sans-serif; */
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #232323;
    min-height: 100vh;
}

.ingc_header_wrap {
    background-color: #F2F7FF;
    padding: 20px 0;
}

.ingc_container {
    width: 1100px;
    margin: 0 auto;
}

.ingc_setting,
.ingc_integration {
    background-color: #fff;
    padding: 18px;
    border-radius: 8px;
}

.ingc_setting h3,
.ingc_integration h3 {
    margin: 0 0 15px;
    font-size: 18px;
}

.auth_integration_form .ingc_form_group label {
    font-size: 14px;
    display: block;
    color: #1d2327;
}

.ingc_form_group p {
    margin: 0 0 8px;
    font-weight: 400;
    color: #444444;
}

form.auth_integration_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-weight: 500;
}

.auth_integration_form .ingc_form_group input[type=text] {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 15px;
    line-height: 20px;
    border: 1px solid #9192B4;
}

.auth_integration_form .ingc_form_group input[type=text]:focus {
    outline: none;
    box-shadow: none;
}

.ingc_token_wrap {
    display: grid;
    grid-template-columns: auto 220px;
    gap: 20px;
    align-items: end;
}

.ingc_auth_btn {
    display: flex;
    height: 40px;
    border: 1px solid #0077FF;
    background-color: #0077FF;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
    line-height: 15px;
    user-select: none;
    text-decoration: none;
    gap: 10px;
}

.ingc_form_group button:hover,
.ingc_auth_btn:hover {
    background-color: rgb(0 97 208);
    border-color: rgb(0 97 208);
    color: #fff;
}

.auth_integration_form .ingc_form_group input[type=text]:read-only {
    background: #F2F7FF;
}

.ingc_form_group.form_btn {
    margin-top: 12px;
}

.ingc_form_group button {
    font-size: 15px;
    background: rgba(0, 119, 255, 1);
    border: none;
    color: #fff;
    transition: 0.3s;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ingc_auth_btn.not_auth {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

p.ingc_token_validation {
    margin: 0;
    position: relative;
}

.ingc_token_validation.token_verified span {
    position: absolute;
    bottom: 1px;
    right: 0;
    height: 40px;
    width: 100px;
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
    padding-left: 300px;
    font-size: 16px;
    background-image: linear-gradient(to right, transparent 0%, white 40%);
}

.ingc_token_validation.token_verified span:before {
    position: absolute;
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="green"><path fill-rule="evenodd" d="M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z" clip-rule="evenodd" /></svg>');
    height: 26px;
    width: 26px;
    left: 270px;
}

.ingc_integration {
    margin: 30px 0;
}

.ingc_integration_wrap {
    display: inline-grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 16px;
    margin-bottom: 30px;
}

.ingc__addon_box {
    border: 1px solid rgba(0, 119, 255, .1);
    background: rgba(0, 119, 255, .05);
    padding: 14px 14px 12px 14px;
    transition: 0.3s;
    border-radius: 8px;
}

.ingc__addon_head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ingc_addon_name {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
}

.ingc__input_switch input[type=checkbox] {
    display: none;
}

.ingc__input_switch label {
    height: 20px;
    width: 40px;
    background: #dedede;
    display: block;
    border-radius: 30px;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
}

.ingc__input_switch label:before {
    position: absolute;
    content: '';
    height: 14px;
    width: 14px;
    background: #fff;
    border-radius: 50%;
    -webkit-transition: ease-in-out .35s;
    transition: ease-in-out .35s;
    transform: translate(3px, 3px);
}

.ingc__input_switch input:checked+label:before {
    transform: translate(23px, 3px);
}

.ingc__addon_footer {
    display: flex;
    justify-content: space-between;
}

.ingc__input_switch input:checked+label {
    background-color: rgba(0, 119, 255, 1);
}

.addon_info {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.addon_info .single_info {
    display: flex;
}

.ingc__addon_footer .addon_status {
    text-transform: uppercase;
    font-size: 12px;
    padding: 4px 6px;
    line-height: 12px;
    border-radius: 3px;
    color: #fff;
}

.ingc__addon_footer .addon_status.new {
    background: #11B76A;
}

.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader.active {
    display: inline-block;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ingc_position {
    margin: 46px 50px 0 0;
}

.ingc_setting_wrap {
    position: relative;
}

.ingc_notification {
    top: 60px;
    position: fixed;
    right: 20px;
    width: 500px;
    max-width: max-content;
    transition: 0.3s;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background: #fff;
    font-size: 15px;
    padding: 16px 16px 18px 44px;
    line-height: 20px;
    border-left: 3px solid transparent;
    opacity: 0;
    visibility: hidden;
    z-index: -99;
}


.ingc_notification.success {
    border-left-color: #11B76A;
    transition: 0.3s;
}

.ingc_notification.fail {
    border-left-color: #d63638;
    transition: 0.3s;
}


.ingc_notification.success:before {
    position: absolute;
    content: '';
    height: 28px;
    width: 28px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(17, 183, 106, 1)" class="size-6"><path fill-rule="evenodd" d="M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z" clip-rule="evenodd" /></svg>');
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}

.ingc_notification.fail:before {
    position: absolute;
    content: '';
    height: 28px;
    width: 28px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(214, 54, 56, 1)" class="size-6"><path fill-rule="evenodd" d="M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z" clip-rule="evenodd" /></svg>');
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}

.ingc_notification.success:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 100%;
    background-image: linear-gradient(0.25turn, rgba(255, 255, 255, 1), rgba(17, 183, 106, 1), rgba(56, 2, 155, 0));
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.ingc_notification.fail:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 100%;
    background-image: linear-gradient(0.25turn, rgba(255, 255, 255, 1), rgba(214, 54, 56, 1), rgba(56, 2, 155, 0));
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.ingc_notification.fail,
.ingc_notification.success {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}