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

.iafwzc-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;
}

.iafwzc-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 */
}

.iafwzc-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%;
}




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

/* Styling for the tab content */
.iafwzc-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) {
    .iafwzc-tab {
        padding: 10px 15px;
        font-size: 14px;
    }

    .iafwzc-tab-content {
        padding: 20px;
    }
}

.iafwzc-plugin-header {
    float: right;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 2px 0;
}

.iafwzc-logo-container {
    background-image: url('../img/zoho-logo-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 68px;
    height: 20px;
}

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

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

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

/* ── Help dropdown ── */
.iafwzc-help-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.iafwzc-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;
}

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

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

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

.iafwzc-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;
}

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

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

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

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

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

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

.iafwzc-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;
}

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

.iafwzc-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;
}

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

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

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

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

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

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

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