/* CSS for Tabs and Content */
.ghl-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ghl-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 35px;
}

.main-con {
    margin: 0px 0px 0 -20px;
}

.ghl-tabs {
    width: 200px;
    /* Adjust the width as needed */
    padding: 15px;
    border-right: 1px solid #ddd;
}

.nav-tab-wrapper-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-tab-wrapper-vertical a {
    display: block;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s, border-left-color 0.3s;
    width: 150px;
}

.nav-tab-wrapper-vertical a:hover,
.nav-tab-wrapper-vertical a.nav-tab-active {
    background-color: #e9e9e9;
    border-left-color: #f6861e;
    /* Adjust the active tab color */
}

/* Content area styles */
.tab-content {
    /* flex-grow: 1;
    padding: 10px;
    margin-left: 8px; */
    flex-grow: 1;
    padding: 10px;
    margin-left: 5px;
    /* margin-bottom: 59px; */
    margin-top: -10px;
}


/* CSS for Header */
.ghl-header-jotform {
    background-color: #0073aa;
    padding: 3px 13px;
    text-align: center;
}

.ghl-header-jotform h1 {
    margin-bottom: 10px;
    font-size: 24px;
    color: white;
}



/* CSS for Logo */
.ghl-header-jotform {
    display: flex;
    align-items: center;
}

.logo {
    background-image: url('../images/jotform-logo.png');   
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 50px;
}

.logo img {
    max-width: 85px;
    height: auto;
}



#ib-ghlconnectpro .button {
    margin: 10px 0;
    display: inline-block;
}

.reload-btn {
    margin-left: 162px !important;
}

span.tag {
    display: inline-block;
    border: 1px solid #e1e1e1;
    padding: 5px 8px;
    margin-bottom: 3px;
    margin-right: 2px;
    background: #fafafa;
}




.button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* description-ghl Styles */
.description-ghl {
    margin-bottom: 10px;
    font-style: italic;
    color: #666;
}

/* Button Styles */

a.ghl_connect.button {
    /* width: 15%; */
    padding: 10px -1px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

.ghl_connect button:hover {
    background-color: transparent;
    color: #f6861e;
    border: 2px solid #f6861e;
}

button.ghl_connect.button {
    /* width: 15%; */
    padding: 10px -1px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

button.ghl_connectpro_sync.button {
    /* width: 100%;
    padding: 10px -1px; */
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

a.ghl_connect_reload.button {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
    margin-left: 163px;

}

input.ghl_connect.button {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

p.glob-desc {
    width: 184px;
    height: 102px;
}

.opp-pipe {
    margin-left: 15px;
}

input#license-key-input {
    width: 360px;
}

input#api-key-input {
    width: 360px;
}


/* form specific css */
.ghl-jotform input[type="text"],
.ghl-jotform textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.ghl-jotform select {
    padding: 5px 12px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 13px;
    margin-bottom: 16px;
    resize: vertical;
}

.ghl-jotform-data {
    display: none;
    width: 90%;
    background-color: #e1dfdf;
    padding: 15px;
}

.ghl-jotform .ghl-jotform-data label {
    display: block;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2d2d2d;
    margin-top: 10px;
    width: 60%;
    position: relative;
}

.ghl-jotform label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 55px 0 15px 0;
}

.ghl-jotform .ghl-jotform-data input#tags {
    width: 35%;
    padding: 9px 10px;
}

.ghl-jotform .ghl-jotform-data button {
    width: 15%;
    padding: 10px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

.ghl-jotform .ghl-jotform-data button:hover {
    background-color: transparent;
    color: #f6861e;
    border: 2px solid #f6861e;
}

.ghl-jotform-data input#apikey {
    margin: 0px;
    border: 1px solid #2d2d2d;
    padding: 4px 10px;
    width: 80%;
    border-radius: 2px;
}

.ghl_carls_frm p,
.ghl_frm_inp p {
    font-size: 14px;
    color: #2d2d2d;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 50px;
    width: 740px;
}

.ghl-jotform-data p a,
.ghl_carls_frm p a {
    color: #2d2d2d;
}

.ghl-jotform-data p:last-child {
    margin: 15px 0 0 0;
}



@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

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

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

.loading:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00000063;
    z-index: 1;
    cursor: no-drop;
}

.loading:after {
    content: '';
    border-radius: 50%;
    width: 35px;
    height: 35px;
    /* border: 0.25rem solid;
  /* border-top-color: linear-gradient(90deg,#db2436 26%,#065092 100%); */
    /* border-image: linear-gradient(90deg,#db2436 26%,#065092 100%) 1; */
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;

    background: linear-gradient(yellow, #e93333);
    /* Show only 10px from the border */
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 5px), #fff 0);
    mask: radial-gradient(farthest-side, #0000 calc(100% - 5px), #fff 0);
}



/* cwghl css */
a.button.button-connect.connect-btn {
    background: #f6861e;
    border: 2px solid transparent;
    border-radius: 3px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 11px;
    transition: all 0.3s ease-in-out;
}

a.button.button-connect.connect-btn:hover {
    border: 2px solid #f6861e;
    color: #fff;
    background: transparent;
    color: #f6861e;
}



div#ib-ghljotformpro {
    margin-top: 50px;
}

button.button.button-primary.del {
    background: #f6861e;
    border: 2px solid transparent;
    border-radius: 3px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 11px;
    transition: all 0.3s ease-in-out;
}

button.button.button-primary.del:hover {
    border: 2px solid #f6861e;
    color: #fff;
    background: transparent;
    color: #f6861e;
}

.connectedghl-message .cnt-img {
    line-height: 0;
}

.connectedghl-message .cnt-img img {
    width: 16px;
}

.connectedghl-message .cnt-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.cont-main-div .cnt-img {
    line-height: 0;
    display: flex;
    column-gap: 10px;
    align-items: center;
}

.cont-main-div .cnt-img img {
    width: 18px;
    margin-top: 12px;
}

p.cnttext {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* global settings css */
.ghl-jotform button {
    width: 15%;
    padding: 10px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}

/* hover */
.ghl-jotform button:hover {
    border: 2px solid #f6861e;
    color: #fff;
    background: transparent;
    color: #f6861e;
}

.jotform-glob-set {
    width: 100%;
    margin-top: 50px;
}

.ghl_plugin_frm label,
.ghl_carls_frm label {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 20px 0;
    display: block;
    color: #2d2d2d;
}

.ghl_plugin_frm .inp_text {
    padding: 9px 10px;
    width: 43%;
    display: inline-block;
}

.ghl_plugin_frm button {
    width: 15%;
    padding: 10px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}


.ghl_plugin_frm button:hover,
.ghl_carls_frm button:hover {
    background-color: transparent;
    color: #f6861e;
    border: 2px solid #f6861e;
}

.ghl_plugin_frm .tooltip {
    position: relative;
    display: inline-block;
}

.ghl_plugin_frm .tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 80%;
    left: 50%;
    transform: translateX(10%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ghl_plugin_frm .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.ghl_plugin_frm .tooltip::after {
    content: "?";
    position: absolute;
    top: 19px;
    right: -28px;
    font-size: 18px;
    color: #fff;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ghl_plugin_frm .tooltip:hover::after {
    color: #fff;
}

/* Container for the field rows */
.form-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Each row: GHL Fields, Form Fields, and Buttons */
.form-field-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* GHL Fields Dropdown and Form Fields Textbox */
.form-field-row select.ghl-fields,
.form-field-row input.form-fields {
    flex: 1;
    min-width: 200px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Buttons container */
.form-field-row button {
    background-color: #ff7b00;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.form-field-row button:hover {
    background-color: #e66b00;
}

/* Adjust buttons alignment */
.form-field-row button.add-field,
.form-field-row button.remove-field {
    flex: 0 0 auto;
    width: 54px;
    text-align: center;
}

.ghljotformpro_logs {
    overflow: auto;
    background: #111111;
    color: chartreuse;
    padding: 5px 10px;
    height: 500px;
    width: 850px;
}

button.ghl_jotformpro {
    padding: 9px 5px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    border: 2px solid #f6861e;
    color: #fff;
    background-color: #f6861e;
}


/* hide opp part */

.hide_opp_jotform {
    display: flex;
    align-items: center;
}

.hide_opp_text_jot_form {
    margin: 0;
    padding-right: 10px;
    margin-bottom: 7px;
    font-size: 18px;
}

p.con-loc {
    margin-bottom: 0;
}


label.spam-email {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 20px 0;
    display: block;
    color: #2d2d2d;
}

label.spam-keyword {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 20px 0;
    display: block;
    color: #2d2d2d;
}