/* Tooltip GF Settings Style */
#gform_setting_alphagf_tooltip_icon .gform-settings-input__container {
    display: flex;
    gap: 12px;
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice {
    margin: 0;
    position: relative;
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice input[type=radio] {
    position: absolute;
    left: 0;
    z-index: -99;
    opacity: 0;
    visibility: hidden;
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice label {
    position: relative;
    z-index: 1;
    height: 46px;
    width: 46px;
    display: block;
    border: 1px dashed #bdbdbd;
    cursor: pointer;
    transition: 0.3s;
    box-sizing: border-box;
    user-select: none;
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice label:before {
    position: absolute;
    font-family: 'icomoon' !important;
    font-size: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 400;
    color: #000000;
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice label span {
    display: none;
}

#gform-settings-radio-choice-alphagf_tooltip_icon0 label::before {
    content: '\e956';
}

#gform-settings-radio-choice-alphagf_tooltip_icon1 label::before {
    content: '\e958';
}

#gform-settings-radio-choice-alphagf_tooltip_icon2 label::before {
    content: '\e95c';
}

#gform-settings-radio-choice-alphagf_tooltip_icon3 label::before {
    content: '\e957';
}

#gform-settings-radio-choice-alphagf_tooltip_icon4 label::before {
    content: '\e95d';
}

#gform-settings-radio-choice-alphagf_tooltip_icon5 label::before {
    content: '\e95f';
}

#gform-settings-radio-choice-alphagf_tooltip_icon6 label::before {
    content: '\e961';
}

#gform-settings-radio-choice-alphagf_tooltip_icon7 label::before {
    content: '\e977';
}

#gform-settings-radio-choice-alphagf_tooltip_icon8 label::before {
    content: '\e943';
}

#gform_setting_alphagf_tooltip_icon .gform-settings-choice input:checked+label {
    border-color: #3E7DA7;
    opacity: 1;
    background-color: rgba(62, 125, 167, .25);
}


/* Notification Attachment Style */
ul.alphagf_attachment_wrap {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: start;
    margin-bottom: 20px;
}

.alphagf_attachment_wrap li {
    width: 156px;
    display: flex;
    flex-direction: column;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.alphagf_attachment_wrap li img {
    border-radius: 7px;
    height: 156px;
    object-fit: cover;
}

.alphagf_attachment_wrap li .at_title {
    background: #DEE2E6;
    padding: 8px 16px;
    margin: 0;
    position: absolute;
    bottom: 0;
    display: flex;
    width: calc(100% - 32px);
    transition: 0.3s;
    height: 20px;
}

.alphagf_attachment_wrap li .at_title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alphagf_attachment_wrap li:hover .at_title {
    height: calc(100% - 46px);
    padding-top: 38px;
}

.alphagf_attachment_wrap li:hover .at_title span {
    white-space: normal;
    text-overflow: inherit;
    overflow: visible;
}

.alphagf_attachment_wrap li .alphagf_remove {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.alphagf_attachment_wrap li:hover .alphagf_remove {
    opacity: 1;
    visibility: visible;
}

.alphagf_ds_choice_template {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}

.alphagf_ds_choice_template .alphagf_ds_choice_template {
    grid-column: span 2;
    font-weight: 600;
}

.alphagf_ds_choice_template .field_setting {
    margin: 0 !important;
}

.alphagf_ds_result_wrap {
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
}

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

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

.alphagf_ds__spin {
    display: none;
    height: 12px;
    width: 12px;
    border: 2px solid rgba(15, 61, 108, .3);
    border-radius: 50%;
    border-bottom-color: #0F3D6C;
    transform: rotate(45deg);
    animation: alphagf_spin 1s ease infinite;
}

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

.alphagf_ds_results_count.hide {
    display: none;
}

.alphagf_setting_btn {
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #2271b1;
    padding: 10px 25px;
    display: inline-block;
    border-radius: 3px;
    transition: 0.3s;
    outline: none;
    user-select: none;
}

#gform_setting_authorize_btn {
    margin: 0;
}

.alphagf_setting_btn:hover {
    background: rgba(34, 113, 177, .1);
}

.alphagf_setting_btn:focus {
    box-shadow: none;
}

.alphagf_margin_bottom_0 {
    margin-bottom: 0 !important;
}

#gform_setting_sheet_name {
    display: grid;
    grid-template-columns: auto 150px;
    column-gap: 12px;
}

#gform_setting_sheet_name .gform-settings-field__header {
    grid-column: span 2;
}

.gform-settings__wrapper .alphagf_setting_btn.button {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 61, 108, .1);
    transition: 0.3s;
}

.gform-settings__wrapper .alphagf_setting_btn.button:focus {
    box-shadow: none;
}

.gform-settings__wrapper .alphagf_setting_btn.button.alphagf_active {
    color: transparent;
}

.alphagf_setting_btn.button.alphagf_active .alphagf_spinner {
    display: inline-block;
}

.alphagf_setting_btn.button .alphagf_spinner {
    display: none;
    height: 12px;
    width: 12px;
    border: 2px solid rgba(15, 61, 108, .3);
    border-radius: 50%;
    border-bottom-color: #0F3D6C;
    transform: rotate(45deg);
    animation: alphagf_spin 1s ease infinite;
    position: absolute;
}

.gform-icon.alphagf_icon {
    font-family: icomoon !important;
    font-size: 18px !important;
}