/* Base rule: Hide all tabs by default */
.cf7-authyo-tab {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Show active tabs - highest specificity */
.cf7-authyo-tab.active,
div.cf7-authyo-tab.active,
#forms.cf7-authyo-tab.active,
#howto.cf7-authyo-tab.active,
#general.cf7-authyo-tab.active,
#methods.cf7-authyo-tab.active,
#google_sheets.cf7-authyo-tab.active,
#gs_howto.cf7-authyo-tab.active,
#support.cf7-authyo-tab.active,
#leads.cf7-authyo-tab.active,
div#forms.cf7-authyo-tab.active,
div#howto.cf7-authyo-tab.active,
div#google_sheets.cf7-authyo-tab.active,
div#gs_howto.cf7-authyo-tab.active,
div#general.cf7-authyo-tab.active,
div#methods.cf7-authyo-tab.active,
div#support.cf7-authyo-tab.active,
div#leads.cf7-authyo-tab.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Ensure parent containers don't hide our tabs */
.wrap .cf7-authyo-tab.active,
.form-table .cf7-authyo-tab.active,
#authyo-cf7-settings-form .cf7-authyo-tab.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
}

pre#cf7-authyo-test-status {
    background: #f6f7f7;
    padding: 12px;
    border-radius: 6px;
}

/* Modern General Tab Styles */
.authyo-settings-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    overflow: visible;
    transition: box-shadow 0.2s ease;
}

.authyo-settings-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.authyo-card-header {
    background: linear-gradient(135deg, #f6f7f7 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 24px;
}

.authyo-card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 10px;
}

.authyo-card-title .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #2271b1;
}

.authyo-card-subtitle {
    margin: 0;
    color: #646970;
    font-size: 13px;
    line-height: 1.5;
}

.authyo-card-body {
    padding: 24px;
}

.authyo-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.authyo-form-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.authyo-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
    margin: 0;
}

.authyo-field-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #646970;
}

.authyo-field-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3338;
    background-color: #fff;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.authyo-field-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.authyo-field-input:hover:not(:focus) {
    border-color: #50575e;
}

.authyo-form-field input[type="password"],
.authyo-form-field input[type="text"][id="client_secret"] {
    padding-right: 42px;
}

.authyo-toggle-password {
    position: absolute;
    right: 8px;
    top: calc(13px + 8px + 20px);
    transform: translateY(-50%);
    height: 32px;
    width: 32px;
    min-height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #646970;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 3px;
    z-index: 1;
    line-height: 1;
    margin: 0;
}

.authyo-toggle-password:hover {
    color: #2271b1;
}

.authyo-toggle-password:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.authyo-toggle-password .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.authyo-help-text {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f6fc;
    border-left: 3px solid #2271b1;
    border-radius: 4px;
    font-size: 13px;
    color: #1d2327;
    margin-top: 8px;
}

.authyo-help-text .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #2271b1;
    flex-shrink: 0;
}

.authyo-help-text a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.authyo-help-text a:hover {
    text-decoration: underline;
}

/* Channels Grid */
.authyo-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.authyo-channel-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.authyo-channel-option:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.authyo-channel-option input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 0;
}

.authyo-channel-option input[type="checkbox"]:checked+.authyo-channel-label {
    color: #2271b1;
    font-weight: 600;
}

.authyo-channel-option:has(input[type="checkbox"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.authyo-channel-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1d2327;
}

.authyo-channel-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #646970;
}

.authyo-channel-option:has(input[type="checkbox"]:checked) .authyo-channel-label .dashicons {
    color: #2271b1;
}

/* Radio Groups */
.authyo-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.authyo-radio-group.authyo-radio-vertical {
    flex-direction: column;
    gap: 12px;
}

.authyo-radio-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.authyo-radio-option:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.authyo-radio-option input[type="radio"] {
    margin-top: 2px;
    margin-right: 0;
}

.authyo-radio-option input[type="radio"]:checked+span,
.authyo-radio-option:has(input[type="radio"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.authyo-radio-option:has(input[type="radio"]:checked) strong {
    color: #2271b1;
}

.authyo-radio-option div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.authyo-radio-option .description {
    font-size: 12px;
    color: #646970;
    margin: 0;
    line-height: 1.4;
}

/* Checkbox Labels */
.authyo-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.authyo-checkbox-label:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.authyo-checkbox-label input[type="checkbox"] {
    margin: 0;
}

.authyo-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.authyo-checkbox-label span {
    font-size: 14px;
    color: #1d2327;
}

/* Cache Status */
.authyo-cache-status {
    padding: 16px;
    background: #f9f9f9;
    border-left: 4px solid #00a0d2;
    border-radius: 4px;
}

.authyo-cache-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

.authyo-cache-item:last-child {
    border-bottom: none;
}

.authyo-cache-item strong {
    color: #1d2327;
    font-size: 14px;
}

.authyo-cache-item span {
    color: #646970;
    font-size: 14px;
}

/* Verification Methods Grid Layout - 50/50 Split */
.authyo-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.authyo-methods-grid .authyo-settings-card {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 782px) {
    .authyo-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .authyo-card-header,
    .authyo-card-body {
        padding: 16px;
    }

    .authyo-channels-grid {
        grid-template-columns: 1fr;
    }

    .authyo-radio-group {
        flex-direction: column;
    }

    .authyo-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure proper spacing in admin */
#general.cf7-authyo-tab {
    margin-top: 0;
}

/* Country Selector Configuration Styles */
.authyo-country-list {
    border: 1px solid #dcdcde !important;
    border-radius: 4px !important;
    background: #fff !important;
    display: block !important;
    visibility: visible !important;
    min-height: 100px !important;
}

.authyo-country-option {
    padding: 8px 10px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f1 !important;
    transition: background-color 0.2s ease;
    display: block !important;
    visibility: visible !important;
}

.authyo-country-option:last-child {
    border-bottom: none;
}

.authyo-country-option:hover {
    background-color: #f6f7f7;
}

.authyo-country-option input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    vertical-align: top;
}

.authyo-country-text {
    display: inline-block;
}

.authyo-country-selector-wrapper {
    max-width: 600px;
}

/* Selected Countries Display (Tags) */
.authyo-selected-countries-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.authyo-country-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #2271b1;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.authyo-country-tag small {
    opacity: 0.9;
    font-size: 11px;
}

.authyo-remove-country {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    margin-left: 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.authyo-remove-country:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

.authyo-no-selection {
    color: #646970;
    font-style: italic;
    padding: 5px 0;
}

/* Search Input */
.authyo-country-search-wrapper {
    position: relative;
}

#authyo-country-search {
    width: 100%;
    max-width: 600px;
    padding-right: 35px;
}

.authyo-country-search-wrapper .dashicons-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #646970;
    pointer-events: none;
}

/* Dropdown */
.authyo-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 600px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    margin-top: 5px;
}

/* Custom Scrollbar for better UX */
.authyo-country-dropdown::-webkit-scrollbar {
    width: 6px;
}

.authyo-country-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.authyo-country-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.authyo-country-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.authyo-country-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f1;
    transition: all 0.2s ease;
}

.authyo-country-dropdown-item:last-child {
    border-bottom: none;
}

.authyo-country-dropdown-item:hover {
    background-color: #f6f7f7;
}

.authyo-country-dropdown-item.authyo-country-selected {
    background-color: #f0f6fc;
    border-left: 3px solid #2271b1;
}

.authyo-country-dropdown-item strong {
    color: #1d2327;
    font-weight: 600;
}

.authyo-country-dropdown-item span[style*="color: #646970"] {
    color: #646970 !important;
    font-size: 13px;
}

/* Single Country Dropdown Styles */
.authyo-single-country-wrapper {
    position: relative;
    max-width: 600px;
}

.authyo-single-country-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 600px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    border: 1px solid #dcdcde !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    margin-top: 2px !important;
    padding: 10px !important;
    display: none;
}

.authyo-single-country-dropdown.authyo-dropdown-open {
    display: block !important;
}

.authyo-single-country-option {
    padding: 8px 10px;
    margin: 0;
    border-bottom: 1px solid #f0f0f1;
    transition: background-color 0.2s ease;
}

.authyo-single-country-option:last-child {
    border-bottom: none;
}

.authyo-single-country-option:hover {
    background-color: #f6f7f7;
}

.authyo-single-country-option.authyo-country-selected {
    background-color: #e5f5fa;
    font-weight: 600;
}

#authyo-single-country-search {
    width: 100%;
    max-width: 600px;
}

/* Shortcode Usage Grid Layout */
.authyo-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.authyo-shortcode-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.authyo-shortcode-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.authyo-shortcode-header {
    background: linear-gradient(135deg, #f6f7f7 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 20px;
}

.authyo-shortcode-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.4;
}

.authyo-shortcode-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.authyo-shortcode-body p {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #646970;
    line-height: 1.6;
}

.authyo-code-container {
    position: relative;
    margin: 15px 0;
}

.authyo-code-block {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 0 !important;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.6;
    flex: 1;
}

.authyo-code-block code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #1d2327;
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: break-word;
    display: block;
    padding: 12px 40px 12px 12px !important;
}

.authyo-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    color: #2271b1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.authyo-copy-btn:hover {
    background: #f0f0f1;
    border-color: #2271b1;
    color: #135e96;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.authyo-copy-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.authyo-copy-btn.success {
    background: #edfaef;
    border-color: #46b450;
    color: #46b450;
}

.authyo-copy-btn .copy-success-icon {
    display: none;
}

.authyo-copy-btn.success .copy-default-icon {
    display: none;
}

.authyo-copy-btn.success .copy-success-icon {
    display: block;
}

/* Info Grid Layout (Setup Instructions & Key Features) */
.authyo-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.authyo-info-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.authyo-info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.authyo-info-header {
    background: linear-gradient(135deg, #f6f7f7 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 20px;
}

.authyo-info-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.4;
}

.authyo-info-body {
    padding: 20px;
    flex: 1;
}

.authyo-info-body ol,
.authyo-info-body ul {
    margin: 0;
    padding-left: 20px;
}

.authyo-info-body li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #2c3338;
}

.authyo-info-body li:last-child {
    margin-bottom: 0;
}

.authyo-info-body a {
    color: #2271b1;
    text-decoration: none;
}

.authyo-info-body a:hover {
    text-decoration: underline;
}

.authyo-info-body strong {
    font-weight: 600;
    color: #1d2327;
}

/* Responsive Design for Shortcode Grid */
@media (max-width: 1200px) {
    .authyo-shortcode-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 782px) {
    .authyo-shortcode-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .authyo-shortcode-header,
    .authyo-shortcode-body {
        padding: 16px;
    }

    .authyo-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .authyo-info-header,
    .authyo-info-body {
        padding: 16px;
    }
}

/* ===== Leads Management Styles ===== */

/* Filters Bar */
.authyo-leads-filters {
    padding: 16px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.authyo-leads-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.authyo-leads-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.authyo-leads-filter-group label {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.authyo-leads-filter-select {
    min-width: 150px;
    height: 32px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    background: #fff;
}

.authyo-leads-filter-date {
    height: 32px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    background: #fff;
    min-width: 140px;
}

.authyo-leads-filter-actions {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.authyo-leads-filter-actions .button {
    height: 32px;
    line-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Bulk Actions Bar */
.authyo-leads-bulk-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    flex-wrap: wrap;
    gap: 10px;
}

.authyo-leads-bulk-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.authyo-leads-bulk-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.authyo-leads-total-count {
    font-size: 13px;
    color: #666;
}

.authyo-leads-selected-info {
    font-size: 12px;
    color: #2271b1;
    font-weight: 600;
    padding: 2px 8px;
    background: #e7f3ff;
    border-radius: 10px;
}

/* Lead Status Badges */
.authyo-lead-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.authyo-lead-status-verified {
    background: #e7f6ed;
    color: #2e7d32;
}

.authyo-lead-status-skipped {
    background: #fff3e0;
    color: #ef6c00;
}

.authyo-lead-status-unverified {
    background: #f5f5f5;
    color: #757575;
}

/* Leads Table */
#authyo-leads-table .check-column {
    width: 40px;
    padding: 10px 0 10px 10px;
}

#authyo-leads-table .check-column input[type="checkbox"] {
    margin: 0;
}

/* Pagination */
.authyo-leads-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
    flex-wrap: wrap;
    gap: 10px;
}

.authyo-leads-pagination-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.authyo-leads-per-page-select {
    min-width: 60px !important;
    width: auto;
}

.authyo-leads-pagination-info {
    font-size: 13px;
    color: #666;
}

.authyo-leads-pagination-links {
    display: flex;
    gap: 4px;
}

.authyo-leads-pagination-links .button-small {
    min-width: 30px;
    text-align: center;
    padding: 0 8px;
}

.authyo-leads-page-current {
    cursor: default;
}

/* Leads button icon alignment */
.authyo-leads-bulk-bar .button .dashicons,
.authyo-leads-filter-actions .button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    vertical-align: middle;
}

#authyo-leads-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#authyo-leads-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Responsive Leads */
@media (max-width: 782px) {
    .authyo-leads-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .authyo-leads-filter-select,
    .authyo-leads-filter-date {
        width: 100%;
    }

    .authyo-leads-bulk-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .authyo-leads-pagination {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .authyo-leads-pagination-left {
        width: 100%;
        justify-content: center;
    }
}