/* Basic styles for the tab navigation */
#integrazo-wz-plugin-tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    background-color: #c6c6c600; /* Subtle background color */
    /* margin-bottom: 15px;  */
    /* align-items: center; */
    flex-wrap: wrap;
}

.integrazo-wz-tab {
    padding: 9px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    text-decoration: none;
    background-color: #0073aad4;
    color: white;
    min-width: 42px;
    text-align: center;
}

.integrazo-wz-tab-active {
    font-weight: bold; /* Makes the text bold */
    border: none; /* Removes any previous borders */
    /* background-color: #005785;  */
    color: #ffffff; /* Text color to match the background */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover or state changes */
    padding-left: 15px; /* Adds space between the text and the left border */
    position: relative; /* Ensures the pseudo-element positions relative to this tab */
}

.integrazo-wz-tab-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #dfdfdf transparent;
    z-index: 1;
    bottom: -1%;
}




.integrazo-wz-tab:hover {
    background-color: #d1e8ff;
    color: #005b8a;
    border-color: #005b8a;
}

.integrazo-wz-trial-btn {
    background: #ffffff;
    border: 2px solid #2271b1;
    color: #2271b1;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-right: 12px;
    white-space: nowrap;
}

.integrazo-wz-trial-btn:hover {
    background: #2271b1;
    color: #ffffff;
}

/* Styling for the tab content */
.integrazo-wz-tab-content {
    padding: 25px;
    border-left: 1px solid #ccc;
    border-top: none; /* Aligns border with tabs */
    background-color: #c6c6c600; /* Transparent background for tab content */
    /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); */
    /* min-height: 500px;   */
    height: auto;  /* Height auto to adjust if content exceeds 500px */
    box-sizing: border-box;
    /* border-radius: 0 0 10px 10px;  */
}

/* Adjustments for better responsiveness */
@media (max-width: 768px) {
    .integrazo-wz-tab {
        padding: 10px 15px;
        font-size: 14px;
    }

    .integrazo-wz-tab-content {
        padding: 20px;
    }
}

.integrazo-wz-plugin-header {
    /* background-color: #005a8c; */
    /* color: #ffffff; */
    /* padding: 5px 6px; */
    float: right;
    font-size: 14px;
    text-align: left;
    border-radius: 8px;
    /* margin: 11px 0; */
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
    display: flex;
    align-items: center;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.integrazo-wz-logo-container {
    background-image: url('../img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 31px;
    height: 23px;
}

.integrazo-wz-plugin-logo {
    height: 24px; /* Adjust logo size */
    width: auto; /* Keep aspect ratio */
}

.integrazo-wz-plugin-header .integrazo-wz-main-message {
    font-weight: bold;
    font-size: 15px;
}

.integrazo-wz-plugin-header p {
    margin: 0;
}
.integrazo-wz-span-header
{
    font-size: 20px;
    font-weight: 500;
}

/* ── Help dropdown ── */
.integrazo-wz-plugin-header {
    gap: 10px;
}

.integrazo-wz-help-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.integrazo-wz-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 10px 0 8px;
    border-radius: 20px;
    background: #2271b1;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 26px;
    box-sizing: border-box;
    transition: background 0.2s;
}

.integrazo-wz-help-btn:hover,
.integrazo-wz-help-btn[aria-expanded="true"] {
    background: #135e96;
}

.integrazo-wz-help-btn-icon {
    display: block;
    flex-shrink: 0;
    color: #fff;
}

.integrazo-wz-help-btn-label {
    color: #fff;
    white-space: nowrap;
    line-height: 1;
}

.integrazo-wz-help-copy-btn {
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    color: #a7aaad;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.integrazo-wz-help-copy-btn:hover {
    color: #2271b1;
    border-color: #2271b1;
    background: #f0f6fc;
}

.integrazo-wz-help-copy-btn.integrazo-wz-copied {
    color: #00a32a;
    border-color: #00a32a;
    background: #f0faf0;
}

.integrazo-wz-help-copy-btn svg {
    display: block;
    flex-shrink: 0;
}

.integrazo-wz-help-copy-btn .integrazo-wz-check-icon {
    display: none;
}

.integrazo-wz-help-copy-btn.integrazo-wz-copied .integrazo-wz-copy-icon {
    display: none;
}

.integrazo-wz-help-copy-btn.integrazo-wz-copied .integrazo-wz-check-icon {
    display: block;
}

.integrazo-wz-help-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 99999;
}

.integrazo-wz-help-dropdown[hidden] {
    display: none;
}

.integrazo-wz-help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #1d2327;
    border-bottom: 1px solid #f0f0f1;
    transition: background 0.15s;
}

.integrazo-wz-help-item:last-of-type {
    border-bottom: none;
}

.integrazo-wz-help-item:hover {
    background: #f6f7f7;
    color: #1d2327;
    text-decoration: none;
}

.integrazo-wz-help-item-icon {
    color: #2271b1;
    flex-shrink: 0;
}

.integrazo-wz-help-item-text {
    display: flex;
    flex-direction: column;
}

.integrazo-wz-help-item-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.integrazo-wz-help-item-sub {
    font-size: 11px;
    color: #787c82;
    line-height: 1.3;
    margin-top: 1px;
}

.integrazo-wz-help-version {
    text-align: center;
    font-size: 11px;
    color: #a7aaad;
    padding: 6px 14px;
    border-top: 1px solid #f0f0f1;
}