/**
 * Version: 1.3
 */
.forge12-plugin {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    padding-top: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.forge12-plugin .options {
    float: right;
    margin-top: -40px;
}

.forge12-plugin h1 {
    padding-bottom: 5px;
}

.forge12-plugin-header {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 20px;
    min-height: 110px;
    border-radius: 5px 5px 0 0;
    background: #111;
}

.forge12-plugin-header .forge12-plugin-header-inner {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.forge12-plugin-header .forge12-plugin-header-inner .title h1 {
    margin-bottom: 0;
}

.forge12-plugin-header .forge12-plugin-header-inner .title p {
    margin-top: 0;
}

.forge12-plugin-header .forge12-plugin-header-inner .title h1,
.forge12-plugin-header .forge12-plugin-header-inner .title p {
    color: #fff;
}

.forge12-plugin-header .forge12-plugin-header-inner .title {
    margin-left: 20px;
}

.forge12-plugin-menu .navbar ul.navbar-nav {
    display: flex;
    flex-flow: row nowrap;
    margin-top: 0;
    margin-bottom: 0;
}

.forge12-plugin-menu .navbar ul.navbar-nav li {
    margin-bottom: 0;
}

.forge12-plugin-menu {
    display: flex;
    flex-flow: row nowrap;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.05);
    padding: 10px;
    background-color: #f8f9fa !important;
}

.forge12-plugin-menu .forge12-plugin-menu-item {
    display: flex;
}

.forge12-plugin-menu .forge12-plugin-menu-item a {
    padding: 10px;
    text-decoration: none;
}

.forge12-plugin-menu .forge12-plugin-menu-item a.active {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#258dc8+0,258dc8+100;Blue+Flat+%231 */
    background: #258dc8; /* Old browsers */
    background: -moz-linear-gradient(top, #258dc8 0%, #258dc8 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #258dc8 0%, #258dc8 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #258dc8 0%, #258dc8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#258dc8', endColorstr='#258dc8', GradientType=0); /* IE6-9 */

    border-radius: 5px;
    color: #fff;
}

.forge12-plugin-content {
    margin-top: 20px;
    display: flex;
    flex-flow: row nowrap;
}

.forge12-plugin-footer {
    margin-top: 50px;
}

.forge12-plugin-footer .forge12-plugin-footer-inner {
    text-align: center;
}

.forge12-plugin-content .box .section-wrapper {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.forge12-plugin-content .box .section-wrapper .section {
    flex: 0 0 70%;
    max-width: 70%;
    border-radius: 5px 0 0 5px;
}

.forge12-plugin-content .box .section-wrapper .section-sidebar {
    flex: 0 0 calc(30% - 40px);
    max-width: calc(30% - 40px);
    display: flex;
    justify-content: stretch;
}

.forge12-plugin-content .box .section-wrapper .section-sidebar .section .input {
    background-color: rgba(255, 255, 255, 0.1);
}

.forge12-plugin-content .box .section-wrapper .section-sidebar .section {
    max-width: 100%;
    background: linear-gradient(154deg, #3b00a3 0%, #d80065 100%);
    color: #fff;
    border-radius: 0 5px 5px 0;
    flex: auto !important;
}

.forge12-plugin-content .box .section-wrapper .section-sidebar .section h2,
.forge12-plugin-content .box .section-wrapper .section-sidebar .section h3,
.forge12-plugin-content .box .section-wrapper .section-sidebar .section h1 {
    color: #fff;
}

.forge12-plugin-content .box .section-wrapper .section-sidebar .section a {
    color: #fff;
    text-decoration: underline;
}


.forge12-plugin-content .box .section-wrapper .section-sidebar ul {
    list-style: disc;
    margin-left: 11px;
}

.forge12-plugin-content .box .section {
    background-color: #f8f9fa !important;
    border-radius: 5px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px
}

.forge12-plugin.captcha-for-contact-form-7 .forge12-plugin-content .forge12-plugin-content-main {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}

.forge12-plugin-content .forge12-plugin-content-main {
    flex: 1 1 65%;
    max-width: 65%;
    padding-right: 20px;
}

.forge12-plugin-content .forge12-plugin-content-sidebar {
    flex: 1 1 35%;
    max-width: 35%;
}

.forge12-plugin.captcha-for-contact-form-7 .forge12-plugin-header img {
    width: 95px;
}

.forge12-plugin-header img {
    width: 300px;
}

.forge12-plugin-content .tablenav-pages {
    margin-top: 20px;
}

/**
 * Popoup
 */
.forge12-plugin-popup {
    position: fixed;
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.05);
    width: 450px;
    left: calc(50% - 225px);
    top: 150px;
}

.forge12-plugin-popup .options {
    margin-bottom: 10px;
    margin-top: -10px;
    font-size: 12px;
}

.forge12-plugin-popup-content {
    max-height: 600px;
    overflow-y: scroll;
    padding: 20px;
}

.forge12-plugin-popup h2 {
    margin-top: 0;
}

.forge12-plugin-popup table {
    width: 100%;
    border-collapse: collapse;
}

.forge12-plugin-popup table tr:first-child {
    background-color: #333 !important;
    color: #fff;
}

.forge12-plugin-popup table tr td:first-child {
    min-width: 120px;
    width: 120px;
}

.forge12-plugin-popup table tr td:last-child {
    word-break: break-all;
}

.forge12-plugin-popup table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.forge12-plugin-popup table td {
    padding: 10px;
}

.forge12-plugin-popup .forge12-plugin-popup-close {
    position: absolute;
    right: -15px;
    top: -15px;
    padding: 8px 12px;
    cursor: pointer;
    color: #fff;
    border-radius: 3px;
    background: #333;
}

/**
 * Table design
 */
.forge12-plugin-content a {
    text-decoration: none;
}

.forge12-plugin-content table {
    border-collapse: collapse;
    width: 100%;
}

.forge12-plugin-content table td, .forge12-plugin-content table th {
    padding: 10px;
    text-align: left;
    word-break: break-all;
}

.forge12-plugin-content tr th:first-child,
.forge12-plugin-content tr td:first-child {
    text-align: center;
    cursor: pointer;
}

.forge12-plugin-content table tr:first-child th {
    background-color: #333 !important;
    color: #fff;
}

.forge12-plugin-content table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.forge12-license {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    max-width: 1600px;
}

.forge12-license h1 {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.forge12-license table {
    width: 100%;
}

.forge12-license table th {
    background-color: #f0f0f0;
    padding: 10px;
}

.forge12-license table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.forge12-license table td {
    padding: 10px;
}

.forge12-license form input[type=text] {
    width: 100%;
    border-radius: 0;
}

.forge12-license form table td:first-child {
    width: 150px;
    text-align: left;
}

.forge12-license form {
    width: 100%;
}

.alert {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    max-width: 1600px;
    background-color: #fff;
    border: 1px solid #edeaea;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #00ab6b;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    color: #fff;
}

.forge12-license #remove_license {
    margin-top: 15px;
}

/**
 * Option design
 */
.forge12-plugin-content .option {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 25px;
    justify-content: center;
}

.forge12-plugin-content .option .toggle-item-wrapper {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin-bottom: 10px;
}

.forge12-plugin-content .option .toggle-item-wrapper label {
    margin-left: 15px;
}

.forge12-plugin-content .option .label {
    flex: 0 0 250px;
    padding-top: 15px;
    padding-right: 15px;
}

.forge12-plugin-content .forge12-plugin-content-sidebar .option .label {
    flex: 0 0 125px;
}

.forge12-plugin-content .option .input {
    border: 1px solid #edeaea;
    padding: 15px;
    flex: 1 1 100%;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.forge12-plugin-content .option .input input[type=text],
.forge12-plugin-content .option .input textarea {
    width: 100%;
}

/**
 * Preview
 */
.forge12-plugin-content .preview {
    display: flex;
    flex-flow: row wrap;
}

.forge12-plugin-content .preview img {
    max-width: 230px;
}

.forge12-plugin-content .preview > div {
    padding: 10px 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.forge12-plugin-content .preview > div > div {
    border-width: 5px;
    border-color: rgba(255, 255, 255, 0.5);
    border-style: solid;
    display: flex;
    flex-flow: row wrap;
    border-radius: 10px;
    overflow: hidden;
}

.forge12-plugin-content .preview .active {
    border: 5px solid #2271b1;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.1);
}

/**
 * Pagination & Filter
 */
.ui-table-options,
.ui-table-filter {
    display: inline-block;
}

.ui-table-options li,
.ui-table-filter li {
    display: inline;
}

.ui-table-filter select {
    margin-top: -3px !important;
}

.forge12-plugin-content-main table.view-optin tr td {
    text-align: left;
}

.forge12-plugin-content-main table.view-optin tr td:first-child {
    width: 155px;
}

.forge12-plugin-content-main table.view-optin tr:first-child td {
    background-color: #333;
    color: #fff;
}

/**
 * Show Sublinks only on hover.
 */
.forge12-plugin-content-main table tr td {
    vertical-align: top;
}

.forge12-plugin-content-main table .on-hover {
    visibility: hidden;
}

.forge12-plugin-content-main table tr:hover .on-hover {
    visibility: visible;
}

.forge12-plugin-content-main .dashicons-no {
    color: #ff0000;
}

.forge12-plugin-content-main .dashicons-yes {
    color: #00bb00;
}

/**
 * Copy To Clipboard
 */

.forge12-plugin-content .copy-to-clipboard-wrapper {
    position: relative;
    flex: 1 1 auto;
}

.forge12-plugin-content .copy-to-clipboard-wrapper .copy-icon {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

/**
 * Highlight
 */

.forge12-plugin.f12-cf7-doubleoptin .forge12-plugin-content .input pre {
    display: flex;
    flex: 1 1 auto;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.forge12-plugin.f12-cf7-doubleoptin .forge12-plugin-content .input pre code {
    overflow: scroll;
    max-width: 740px !important;
    max-height: 740px;
    min-height: 300px;
    width: 100%;
}

/**
 * Toggle
 * requires toggle.js
 */
.f12-toggle .btn-toggle {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 24px;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: .4s;
    -webkit-transition: .4s;
    box-shadow: 2px 2px 3px 0px rgb(0 0 0 / 14%) inset;
    -moz-box-shadow: 2px 2px 3px 0px rgb(0 0 0 / 14%) inset;
}

.f12-toggle .btn-toggle.active {
    background-color: #007bff;
}

.f12-toggle .btn-toggle.active .handle {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}

.f12-toggle .btn-toggle .handle {
    position: absolute;
    cursor: pointer;
    width: 20px;
    height: 20px;
    top: 2px;
    left: 2px;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: #fff;
}

.f12-toggle .btn-toggle:not(.active):before {
    visibility: hidden;
    opacity: 0;
}

.f12-toggle .btn-toggle.active:after {
    visibility: hidden;
    opacity: 0;
}

.f12-toggle .btn-toggle:before,
.f12-toggle .btn-toggle:after {
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    transition: .4s;
    -webkit-transition: .4s;
    position: absolute;
    top: 5px;
}

.f12-toggle .btn-toggle:before {
    content: attr(data-before);
    left: 9px;
}

.f12-toggle .btn-toggle:after {
    content: attr(data-after);
    right: 9px;
}

.f12-toggle .btn-toggle .handle {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

/**
 * Toggle Button Checkbox
 */
/* Container for the entire toggle component */
.f12-checkbox-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.toggle-item-wrapper {
    position: relative;
    width: calc(100% - 20px);
    padding: 20px 5px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.toggle-item-wrapper .overlay {
    position: absolute;
    display: block;
    left: -10px;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #edeaea;
    border-radius: 3px;
    z-index: 10;
    cursor: pointer;
}

.toggle-item-wrapper .overlay:hover {
    border-color: #ccc;
}

/* Container for the toggle button */
.f12-checkbox-toggle .toggle-container {
    position: relative;
}

/* Hide the default checkbox */
.f12-checkbox-toggle .toggle-button {
    display: none;
}

/* Styling the toggle switch */
.f12-checkbox-toggle .toggle-label {
    display: block;
    width: 40px;
    height: 26px;
    background-color: #ccc;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Styling the toggle circle */
.f12-checkbox-toggle .toggle-label::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* When the checkbox is checked */
.f12-checkbox-toggle input:checked + .toggle-label {
    background-color: #2196f3;
}

/* Move the toggle circle to the right when checked */
.f12-checkbox-toggle input:checked + .toggle-label::after {
    transform: translateX(13px);
}

#toplevel_page_f12-cf7-captcha div.wp-menu-image {
    margin-top: -2px;
}

/**
 * Forms page: Integration cards
 */
.f12-forms-integration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #edeaea;
}

.f12-forms-integration-row:last-child {
    border-bottom: none;
}

.f12-forms-integration-row.f12-forms-unavailable {
    opacity: 0.5;
}

/**
 * Forms page: Status badges
 */
.f12-forms-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.f12-forms-badge--active {
    background: #dcfce7;
    color: #166534;
}

.f12-forms-badge--global {
    background: #f1f5f9;
    color: #475569;
}

.f12-forms-badge--unavailable {
    background: #fee2e2;
    color: #991b1b;
}

/**
 * Forms page: Source indicator in form detail
 */
.f12-forms-source {
    font-size: 12px;
    font-weight: 500;
}

.f12-forms-source--global {
    color: #64748b;
}

.f12-forms-source--integration {
    color: #1e40af;
}

.f12-forms-source--form {
    color: #166534;
}

/**
 * Slide-In Panel: Backdrop
 */
.f12-slide-in-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99999;
    display: none;
}

.f12-slide-in-backdrop.f12-slide-in-visible {
    display: block;
}

/**
 * Slide-In Panel: Container
 */
.f12-slide-in {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background: #f8f9fa;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.f12-slide-in.f12-slide-in-visible {
    right: 0;
}

/**
 * Slide-In Panel: Header
 */
.f12-slide-in-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111;
    color: #fff;
    flex-shrink: 0;
}

.f12-slide-in-header h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.f12-slide-in-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
}

/**
 * Slide-In Panel: Body (scrollable)
 */
.f12-slide-in-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.f12-slide-in-body h4 {
    margin: 20px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #edeaea;
    font-size: 14px;
}

.f12-slide-in-body h4:first-child {
    margin-top: 0;
}

/**
 * Slide-In Panel: Footer
 */
.f12-slide-in-footer {
    padding: 15px 20px;
    border-top: 1px solid #edeaea;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/**
 * Slide-In Panel: Override field rows
 */
.f12-override-toggle-row {
    padding: 10px 0 15px;
    border-bottom: 1px solid #edeaea;
    margin-bottom: 10px;
}

.f12-override-toggle-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.f12-override-field-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.f12-override-field-label {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.f12-override-field-label strong {
    font-size: 13px;
}

.f12-override-field-input select,
.f12-override-field-input input {
    width: 100%;
}

.f12-override-field-input .wp-picker-clear {
    width: 90px;
}

/**
 * Slide-In Panel: Configure Button (Extended Page)
 */
.f12-configure-btn {
    position: relative;
    z-index: 11;
    font-size: 12px;
    color: #258dc8;
    text-decoration: none;
    padding: 2px 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.f12-configure-btn:hover {
    text-decoration: underline;
}

/**
 * Slide-In Panel: Notification Toast
 */
.f12-slide-in-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100001;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

.f12-slide-in-toast.f12-toast-success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

.f12-slide-in-toast.f12-toast-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/**
 * Forms page: Breadcrumb
 */
.f12-forms-breadcrumb {
    margin-bottom: 15px;
    font-size: 13px;
    color: #64748b;
}

.f12-forms-breadcrumb a {
    color: #258dc8;
    text-decoration: none;
}

.f12-forms-breadcrumb a:hover {
    text-decoration: underline;
}

.f12-forms-breadcrumb .separator {
    margin: 0 5px;
}