.ta-h3 {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 900 !important;
    font-size: 32px;
    line-height: 48px;
    color: #3E3F70;

    margin: 0;
}

.ta-h4 {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 36px;
    color: #3E3F70;

    margin: 0;
}

.ta-h6 {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 32px;
    color: #3E3F70;

    margin: 0;
}

.ta-a {
    box-sizing: border-box;
    text-decoration-line: underline;
}

.ta-p {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #3E3F70;

    margin: 0;
}

.ta-small {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 18px;
    margin: 0;
}

.ta-tiny {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 12px !important;
    line-height: 18px;
}

.ta-label {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #3E3F70;
}

.ta-text-black {
    box-sizing: border-box;
    color: #0E0F4D !important;
}

.ta-text-blue {
    box-sizing: border-box;
    color: #2E31FF !important;
}

.ta-text-gray-80 {
    box-sizing: border-box;
    color: #3E3F70;
}

/* Tooltip text */
.ta-tooltip .ta-tooltiptext {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;

    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-weight: 400;
    font-size: 13px;
    line-height: 13px;

    visibility: hidden;
    background-color: #2e31ff;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    margin-left: 6px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.ta-tooltip:hover .ta-tooltiptext {
    box-sizing: border-box;
    visibility: visible;
}

/**
 * Admin Pages
 */
#oauthconfig {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Dashboard Styles */
.ta-dashboard-container,
.ta-setup-container {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 20px 0;
}

.ta-dashboard-hero,
.ta-setup-hero {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    margin-bottom: 30px;
}

.ta-dashboard-hero-content,
.ta-setup-hero-content {
    flex: 1;
}

.ta-dashboard-hero h2,
.ta-setup-hero h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.ta-dashboard-description,
.ta-setup-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.ta-dashboard-actions,
.ta-setup-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.ta-button {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}

.ta-button-primary {
    background: #2E31FF;
    color: white;
}

.ta-button-primary:hover {
    background: #1a1dcc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 49, 255, 0.3);
}

.ta-button-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.ta-button-large {
    padding: 16px 32px;
    font-size: 18px;
}

.ta-dashboard-hero-image,
.ta-setup-hero-image {
    flex-shrink: 0;
}

.ta-dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ta-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.ta-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #4ade80;
}

.ta-stat-label {
    font-size: 16px;
    font-weight: 600;
}

.ta-setup-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ta-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.ta-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2E31FF;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.ta-step-text {
    font-size: 16px;
    font-weight: 600;
}

.ta-dashboard-cards,
.ta-setup-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.ta-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.ta-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.ta-card-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.ta-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.ta-card-body {
    padding: 16px 24px 24px;
}

.ta-quick-actions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ta-quick-actions li {
    margin-bottom: 12px;
}

.ta-quick-actions a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ta-quick-actions a:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: translateX(4px);
}

.ta-status-item,
.ta-requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ta-status-icon,
.ta-requirement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.ta-status-success {
    background: #dcfce7;
    color: #166534;
}

.ta-requirement-missing {
    background: #fef2f2;
    color: #dc2626;
}

.ta-status-text,
.ta-requirement-text {
    font-size: 16px;
    color: #374151;
}

.ta-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ta-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.ta-benefits .dashicons {
    color: #0ea5e9;
    font-size: 20px;
}

/* Settings Page Styles */
.ta-settings-container {
    max-width: 980px;
    margin: 20px 0;
}

/* Tab Styles */
.ta-settings-container .nav-tab-wrapper {
    margin-bottom: 0;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px 8px 0 0;
    padding: 0 20px;
    display: flex;
    gap: 0;
}

.ta-settings-container .nav-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-weight: 600;
    padding: 16px 24px;
    margin: 0;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.ta-settings-container .nav-tab:hover {
    background: rgba(46, 49, 255, 0.05);
    color: #2E31FF;
    border-bottom-color: rgba(46, 49, 255, 0.3);
    text-decoration: none;
}

.ta-settings-container .nav-tab-active {
    background: white;
    color: #2E31FF;
    border-bottom-color: #2E31FF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ta-settings-container .nav-tab-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2E31FF;
    border-radius: 1px;
}

.ta-settings-container .nav-tab-active:hover {
    background: white;
    color: #2E31FF;
    text-decoration: none;
}

.ta-settings-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ta-settings-section h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.ta-settings-section > p {
    margin: 0 0 24px 0;
    color: #6b7280;
    font-size: 16px;
}

.ta-configuration-container {
    box-sizing: border-box;
    max-width: 1240px;

    display: flex; 
    
    flex-direction: row;
    align-items: flex-start;
    padding: 0px 24px 0px 0px;
    gap: 24px;

    width: 100%;
}

.ta-card-row {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}

.ta-card-header-container {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: flex-start;
    padding: 24px 24px 0px;
    gap: 24px;

    width: 100%;
}

.ta-card-header-content {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: -webkit-fill-available;
}

.ta-card-header-image {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 10px;

    background: rgba(46, 49, 255, 0.05);
    border-radius: 184px;
}

.ta-card-body-container {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
}

.ta-card-body-text {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
}

.ta-input-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0px;
    gap: 8px;
    width: 100%;
}

.ta-input-text-container {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;

    width: 140px;
}

.ta-form-table > tbody > tr > th {
    box-sizing: border-box;
    padding-top: 0px;
}

.ta-form-table > tbody > tr > td {
    box-sizing: border-box;
    padding-top: 0px;
}

.ta-input {
    box-sizing: border-box;
    border: 1px solid #9F9FB8 !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    padding: 12px !important;
}

.ta-info-box {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: center;
    padding: 8px 12px !important;
    gap: 8px;
    text-align: left;
    width: 100%;
    justify-content: center;

    background: #F4F4FF;
    border-radius: 8px;

    color: #2E31FF;
}

.ta-error-box {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    padding: 12px 16px !important;
    gap: 8px;
    text-align: left;
    width: 100%;

    background: #FF922E0D !important;
    border-radius: 8px;

    color: #FF922E;
}

.ta-settings-info-box {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 12px;
    text-align: left;

    background: #F4F4FF !important;
    border-radius: 6px;

    color: #2E31FF;
}

.ta_button_primary {
    box-sizing: border-box;
    cursor: pointer;
    padding: 14px 24px;
    border: 0;
    border-radius: 56px;
    background-color: #2e31ff;
    color: #fff;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.ta-button-filled-black {
    box-sizing: border-box;
    cursor: pointer;
    padding: 18px 24px;
    border: 0;
    border-radius: 56px;
    background-color: #0E0F4D;
    color: #fff;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.ta-button-block {
    box-sizing: border-box;
    width: 100% !important;
}

.ta-button-filled-black:hover {
    box-sizing: border-box;
    background-color: #0E0F4D;
    color: #fff;
    border: 0;
}

.ta-button-link {
    box-sizing: border-box;
    min-height: 37px;
    cursor: pointer;
    height: 44px;
    padding: 9px 24px 10px 24px;
    border: 0;
    border-bottom: 3px solid #0E0F4D;
    border-radius: 0px;
    background-color: transparent;
    color: #0E0F4D;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.ta_button_secondary {
    box-sizing: border-box;
    display: flex; 
    
    align-items: center;
    gap: 4px;

    cursor: pointer;
    padding: 10px 24px;
    border: none;
    border-radius: 56px;
    background-color: rgba(46, 49, 255, 0.05);
    color: #2E31FF;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

#wpfooter {
    box-sizing: border-box;
    display: none;
}

/**
 * Frontend Styles
 */
.ta-login-after-box {
    padding: 16px 0px !important;
    text-transform: uppercase;
    text-align: center;
    color: gray;
}

.ta_verify_badge_img {
    box-sizing: border-box;
    cursor: pointer;
}

.ta-button:hover {
    cursor: pointer !important;
}

.ta-button.branded {
    padding: 12px !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 16px !important;

    background: #2E31FF !important;
    color: white !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;

    width: auto;
    min-width: fit-content;
    max-width: 340px;
    white-space: nowrap;
}

.ta-button.branded:hover {
    box-sizing: border-box;
    color: white !important;
    background: #0004ff !important;
    border: none !important;
    cursor: pointer !important;
}

.ta-button.outline {
    padding: 12px !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 16px !important;

    background: transparent !important;
    color: #2E31FF !important;
    border: 2px solid #2E31FF !important;
    border-radius: 8px !important;
    text-decoration: none !important;

    width: auto;
    min-width: fit-content;
    max-width: 340px;
    white-space: nowrap;
}

.ta-button.outline:hover {
    box-sizing: border-box;
    color: #2E31FF !important;
    background: rgba(46, 49, 255, 0.05) !important;
    border: 2px solid #2E31FF !important;
    cursor: pointer !important;
}

.ta-button.link {
    padding: 12px !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 16px !important;

    background: transparent !important;
    color: #2E31FF !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: underline !important;

    width: auto;
    min-width: fit-content;
    max-width: 340px;
    white-space: nowrap;
}

.ta-button.link:hover {
    box-sizing: border-box;
    color: #0004ff !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.ta-button-icon {
    box-sizing: border-box;
    height: 24px;
}

.frame_for_button {
    box-sizing: border-box;
    text-align: center;
    padding-top: 1.5em;
}

.ta-error-msg {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    color: red;
    font-size: 16px;
    margin-bottom: 16px;
}

.ta-user-setup-popup-container {
    z-index: 9999;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    padding-top: 64px;
    background-color: rgba(22,22,22,0.5);
}

.ta-user-setup-wrapper {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: center;
    padding: 48px;
    gap: 32px;

    max-width: 432px !important;
    background: #FFFFFF;
    box-shadow: 2px 6px 12px rgba(14, 15, 77, 0.24);
    border-radius: 12px;
    margin: 0 auto;
}

.ta-user-setup-info-box {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    align-items: flex-start;
    padding: 16px !important;
    gap: 8px;

    background: #F4F4FF !important;
    color: #2E31FF;

    border-radius: 8px;
}

.ta-user-setup-info-box-text-wrapper {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
}

.ta-user-setup-wrapper-inner {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;

    width: 100%;
}

.ta-user-setup-header-wrapper {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 8px;

    width: 100%;
}

.ta-user-setup-header-text-wrapper {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: center;
    padding: 0px;

    text-align: center;

    width: 100%;
}

.ta-user-setup-form {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 12px;

    width: 100%;
}

.ta-user-setup-input {
    box-sizing: border-box;
    border: 1px solid #9F9FB8 !important;
    border-radius: 8px !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 18px;
    width: 100%;
    padding: 16px;
}

.ta-user-setup-input::placeholder {
    box-sizing: border-box;
    color: #9F9FB8;
}

.ta-user-setup-header {
    box-sizing: border-box;
    margin: 0 !important;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 32px;
    font-weight: 900;
    color: #2E31FF;
    margin-bottom: 8px !important;
}

.ta-user-setup-text {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #6E6F94;

}

.ta-user-setup-button-wrapper {
    box-sizing: border-box;
    padding-top: 24px;
}

.ta-user-setup-button {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px !important;
    background: #2E31FF !important;
    color: white !important;
    padding: 14px 32px !important;
    border-radius: 56px !important;
    border: none !important;
}

.ta-user-setup-button:hover {
    box-sizing: border-box;
    background: #191ce7 !important;
    text-decoration: none !important;
}

.ta-user-setup-button-text {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 30px !important;
    padding: 8px 32px !important;
    background: transparent !important;
    color: #0E0F4D !important;
    border: none !important;
    border-radius: 0px !important;
    border-bottom: 2px solid #0E0F4D !important;
}

.ta-user-setup-button-text:hover {
    box-sizing: border-box;
    background: rgb(249, 249, 249) !important;
    text-decoration: none !important;
}

.float-left {
    box-sizing: border-box;
    float: left;
}

.float-right {
    box-sizing: border-box;
    float: right;
}

.ta-user-setup-button-text:hover {
    box-sizing: border-box;
    padding: 8px 32px !important;
}

.ta-success-popup-wrapper {
    box-sizing: border-box;
    width: 100%;
    display: flex; 
    justify-content: center;
    background: lightgreen;
}

.ta-success-popup {
    box-sizing: border-box;
    z-index: 100;

    margin: 32px;
    max-width: 320px;

    display: flex; 
    
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    text-align: left;

    background: #F4F4FF;
    border-radius: 8px;

    color: #2E31FF;

    /* Fade out */
    -moz-animation: cssAnimation 0s ease-in 10s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 10s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 10s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 10s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        padding: 0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        padding: 0;
        visibility:hidden;
    }
}

.ta-success-popup > small {
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-weight: 500;
    font-size: 12px !important;
    line-height: 16px;
}

.ta-error-banner-top {
    box-sizing: border-box;
    text-align: center;
    padding: 18px;
    background: #ff3535;
    color: white;
    font-weight: 500;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
}

.trusted-button{
    box-sizing: border-box;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px !important;
    height: 50px !important;
    background: #2E31FF !important;
    color: white !important;
    border-radius: 4px !important;
    padding: 0 !important;
}

.trusted-button-wrapper {
    box-sizing: border-box;
    display: flex; 
    
    justify-content: center;
    padding: 16px !important;
}

.trusted-button-link {
    box-sizing: border-box;
    display: flex; 
    
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 0px !important;

    background: #2E31FF;
    color: white;
    border-radius: 4px;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    text-transform: none;
    text-decoration: none !important;
    border: none;
    width: 230px;
    text-align: center;
    line-height: 16px;
}

.trusted-button-link:hover {
    box-sizing: border-box;
    background: #191ce7;
    color: white !important;
}

.trusted-button-link:focus {
    box-sizing: border-box;
    background: #2E31FF !important;
    text-decoration: none;
}

.trusted-button-icon {
    box-sizing: border-box;
    float: left;
    height: 24px;
    margin-top: -2px;
}

.trusted-button-text {
    box-sizing: border-box;

}

.buttons_style {
    box-sizing: border-box;
    min-height: 37px;
    cursor: pointer;
    height: 44px;
    padding: 9px 24px 10px 24px;
    border: 3px solid #2e31ff;
    border-radius: 56px;
    background-color: #2e31ff;
    color: #fff;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.buttons_style_outline {
    box-sizing: border-box;
    min-height: 37px;
    cursor: pointer;
    height: 44px;
    padding: 9px 24px 10px 24px;
    border: 3px solid #2e31ff;
    border-radius: 56px;
    background-color: #fff;
    color: #2e31ff;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
}

.button_block {
    box-sizing: border-box;
    min-width: 100%;
}

.get_attr_button {
    box-sizing: border-box;
    margin-left: 35%;
}

.note {
    box-sizing: border-box;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background-color: rgba(46,49,255,.05);
    border: solid 1px rgba(46,49,255,.05);
    border-radius: 6px;
    line-height: 18px;
    mc-auto-number-format: '{b}Note: {/b}';
    overflow: hidden;
    padding: 12px;
    /* color: white; */
}

.errornote {
    box-sizing: border-box;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background-color: #f0f7fb;
    border: solid 1px #d351486e;
    border-radius: 6px;
    line-height: 18px;
    mc-auto-number-format: '{b}Note: {/b}';
    overflow: hidden;
    padding: 12px;
}

.disabledOption {
    box-sizing: border-box;
    background-color: gainsboro !important;

}

.disabled_mappingfields{
    box-sizing: border-box;
    width: 42%;
    margin-right: 24px;
    background-color: gainsboro !important; 
    border-radius:0.3em
}

.oauth_remove_button{
    box-sizing: border-box;
    /* background-color:#1397a3e8 !important; */
    background-color: #cd0707 !important;
    min-height: 1.6rem;
    min-width: 4rem;
    color: white !important;
    border-radius: 0.3rem;
}

.copy {
    box-sizing: border-box;
    background-color: #445660;
    color: #fff;
    border: none;
    width: 100%;
    height: 25px;
    border-radius: 0.2em;
    cursor: pointer;
}

.copyButton {
    box-sizing: border-box;
    width: 3rem;
    margin-left: 1rem;
    border-radius: 0.3em;
    
}

.signin_url {
    box-sizing: border-box;
    border: 1px solid #ABB;
    min-height: 40px;
    padding: 7px 10px 5px;
    /* border-radius: 0.3rem; */
    display: inline-flex;
    background-color: #ccc;
    justify-content: center;
    text-align: center;
}

.notethick {
    box-sizing: border-box;
    background-color: #f0f7fb;
    border-left: solid 4px #3498db;
    line-height: 18px;
    mc-auto-number-format: '{b}Note: {/b}';
    overflow: hidden;
    padding: 12px;

}


.server_config_table {
    box-sizing: border-box;
    width: 100%;
    border-collapse: collapse;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 1rem;
    
    border-spacing: 10rem !important;
}

.server_config_table td {
    box-sizing: border-box;

    border-collapse: collapse;
    padding-top: .2em;
    padding-bottom: .3em;
}



input[type=button], input[type=submit] {
    box-sizing: border-box;
    cursor: pointer;
}

.saveSettingButton {
    box-sizing: border-box;
    display: flex; 
    
    text-align: center;
    justify-content: center;
    margin: 0.5rem;
}

#color {
    box-sizing: border-box;
    background-color: #1397a3e8;
    color: #445660;
}

.oc-copy-to-clipboard {
	display: -ms-inline-flexbox !important;
	display: inline-flex !important;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.oc-copy-to-clipboard:after {
    box-sizing: border-box;
	content: '\f217';
	font-family: dashicons;
}
.oc-copy-to-clipboard.oc-copied:after {
    box-sizing: border-box;
	content: '\f12a';
}

.ta_box{
    box-sizing: border-box;
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-row-gap: 10px;
    grid-column-gap: 20px;
}
.ta_field{
    box-sizing: border-box;
    display: contents;
}
/* Popup box END */

/**
 * Helper Classes
 */
.mb-2 {
    box-sizing: border-box;
    margin-bottom: 8px !important;
}

.pt-2 {
    box-sizing: border-box;
    padding-top: 8px !important;
}

.pb-2 {
    box-sizing: border-box;
    padding-bottom: 8px !important;
}

@media (max-width: 768px) {
    .ta-user-setup-popup-container {
        padding: 10px;
    }

    .ta-user-setup-wrapper {
        width: 95%;
        max-width: 400px;
    }
    
    /* Dashboard responsive styles */
    .ta-dashboard-hero,
    .ta-setup-hero {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        text-align: center;
    }
    
    .ta-dashboard-hero h2,
    .ta-setup-hero h2 {
        font-size: 24px;
    }
    
    .ta-dashboard-description,
    .ta-setup-description {
        font-size: 16px;
    }
    
    .ta-dashboard-actions,
    .ta-setup-actions {
        justify-content: center;
    }
    
    .ta-button {
        width: auto;
        min-width: fit-content;
        justify-content: center;
    }
    
    .ta-button.ta-button-block {
        width: 100%;
    }
    
    .ta-dashboard-cards,
    .ta-setup-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ta-settings-section {
        padding: 20px;
    }
    
    .ta-quick-actions a {
        padding: 16px;
    }
    
    .ta-benefits li {
        padding: 16px;
    }
}

/* Admin Button Styles - Duplicate of .ta-button for admin panel use */
.ta-admin-button {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Epilogue', 'Arial', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.ta-admin-button-primary {
    background: #2E31FF;
    color: white;
}

.ta-admin-button-primary:hover {
    background: #1a1dcc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 49, 255, 0.3);
}

.ta-admin-button-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ta-admin-button-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.ta-admin-button-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Mobile responsive styles for admin buttons */
@media (max-width: 768px) {
    .ta-admin-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .ta-admin-button.ta-admin-button-block {
        margin-bottom: 0;
    }
}

/**
 * User Validation Status Styles
 */
.ta-validation-status {
    margin-top: 10px;
}

.ta-validation-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-style: italic;
}

.ta-validation-loading .spinner {
    animation: spin 1s linear infinite;
}

.ta-validation-no-session {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
}

.ta-validation-no-session .dashicons-info {
    color: #17a2b8;
}

.ta-validation-result {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ta-validation-header {
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ta-validation-header .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.ta-validation-details {
    padding: 16px;
    background: #f8f9fa;
}

.ta-validation-detail {
    margin-bottom: 16px;
}

.ta-validation-detail:last-child {
    margin-bottom: 0;
}

.ta-validation-detail strong {
    color: #495057;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Add spacing above Flag Effects section */
.ta-validation-detail.ta-flag-effects-section {
    margin-top: 20px;
}

/* Alternative approach for browsers that don't support :has() */
.ta-validation-detail[data-flag-effects="true"] {
    margin-top: 20px;
}

/* Status-specific styles */
.ta-status-trusted {
    border-color: #28a745;
}

.ta-status-trusted .ta-validation-header {
    background: #d4edda;
    color: #155724;
}

.ta-status-trusted .ta-validation-header .dashicons {
    color: #28a745;
}

.ta-status-suspicious {
    border-color: #ffc107;
}

.ta-status-suspicious .ta-validation-header {
    background: #fff3cd;
    color: #856404;
}

.ta-status-suspicious .ta-validation-header .dashicons {
    color: #ffc107;
}

.ta-status-invalid {
    border-color: #dc3545;
}

.ta-status-invalid .ta-validation-header {
    background: #f8d7da;
    color: #721c24;
}

.ta-status-invalid .ta-validation-header .dashicons {
    color: #dc3545;
}

.ta-status-unknown {
    border-color: #6c757d;
}

.ta-status-unknown .ta-validation-header {
    background: #e2e3e5;
    color: #383d41;
}

.ta-status-unknown .ta-validation-header .dashicons {
    color: #6c757d;
}

.ta-validation-error {
    padding: 12px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ta-validation-error .dashicons {
    color: #dc3545;
}

.ta-status-blocked {
    border-color: #dc3545;
}

.ta-status-blocked .ta-validation-header {
    background: #dc3545;
    color: white;
}

.ta-status-blocked .ta-validation-header .dashicons {
    color: white;
}

.ta-status-restricted {
    border-color: #ffc107;
}

.ta-status-restricted .ta-validation-header {
    background: #ffc107;
    color: #212529;
}

.ta-status-restricted .ta-validation-header .dashicons {
    color: #212529;
}

.ta-blocking-info {
    padding: 16px;
    background: #f8d7da;
    border-top: 1px solid #f5c6cb;
}

.ta-blocking-info h4 {
    margin: 0 0 12px 0;
    color: #721c24;
    font-size: 16px;
}

.ta-restriction-info {
    padding: 16px;
    background: #fff3cd;
    border-top: 1px solid #ffeaa7;
}

.ta-restriction-info h4 {
    margin: 0 0 12px 0;
    color: #856404;
    font-size: 16px;
}

.ta-restriction-info p {
    margin: 0 0 12px 0;
    color: #856404;
    font-size: 14px;
}

.ta-restriction-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ta-restriction-reason {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    font-size: 14px;
    line-height: 1.4;
}

.ta-restriction-reason:last-child {
    margin-bottom: 0;
}

.ta-restriction-reason strong {
    color: #856404;
}

.ta-restriction-action {
    text-align: center;
}

.ta-restriction-action .button {
    margin: 0;
}

.ta-blocking-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ta-blocking-reason {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
    font-size: 14px;
    line-height: 1.4;
}

.ta-blocking-reason:last-child {
    margin-bottom: 0;
}

.ta-blocking-reason strong {
    color: #721c24;
}

.ta-validation-actions {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ta-validation-actions .button {
    margin: 0;
}

/* Developer Console Link */
.ta-developer-console-link {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.ta-console-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2E31FF;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #2E31FF;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ta-console-link:hover {
    background: #2E31FF;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(46, 49, 255, 0.2);
}

.ta-console-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ta-console-description {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* New styles for enhanced validation display */
.ta-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.ta-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

.ta-metric-label {
    color: #6c757d;
    font-weight: 500;
}

.ta-metric-value {
    font-weight: 600;
    color: #495057;
}

.ta-metric-trusted {
    color: #28a745;
}

.ta-metric-suspicious {
    color: #ffc107;
}

.ta-metric-invalid {
    color: #dc3545;
}

.ta-duplicate-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
    color: #856404;
}

.ta-duplicate-warning strong {
    color: #856404;
}

.ta-duplicate-warning span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

/* Severity indicators */
.ta-severity-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    color: #856404;
}

.ta-severity-block {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    color: #721c24;
}

.ta-severity-restrict {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    color: #856404;
}

.ta-severity-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 12px;
    color: #0c5460;
}

/* Flags list */
.ta-flags-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.ta-flag-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #6c757d;
    font-size: 14px;
}

.ta-flag-warning {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.ta-flag-block {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.ta-flag-restrict {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.ta-flag-info {
    border-left-color: #17a2b8;
    background: #f0f9ff;
}

.ta-flag-reason {
    font-weight: 600;
    color: #495057;
}

.ta-flag-severity {
    font-weight: 700;
    color: #ffffff;
    background: #6c757d;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 8px;
}

.ta-flag-severity-low .ta-flag-severity {
    background: #17a2b8;
}

.ta-flag-severity-medium .ta-flag-severity {
    background: #ffc107;
    color: #212529;
}

.ta-flag-severity-high .ta-flag-severity {
    background: #fd7e14;
}

.ta-flag-severity-block .ta-flag-severity {
    background: #dc3545;
}

.ta-flag-severity-restrict .ta-flag-severity {
    background: #ffc107;
    color: #212529;
}

.ta-flag-severity-info .ta-flag-severity {
    background: #6c757d;
}

.ta-flag-notes {
    color: #6c757d;
    font-style: italic;
}

.ta-flag-date {
    color: #6c757d;
    font-size: 12px;
}

.ta-validation-loading .dashicons {
    animation: spin 1s linear infinite;
}

/* Responsive design for validation display */
@media (max-width: 768px) {
    .ta-metrics-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .ta-metric-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .ta-validation-header {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .ta-validation-details {
        padding: 0 12px 12px;
    }
    
    .ta-validation-actions {
        padding: 10px 12px;
        flex-direction: column;
    }
    
    .ta-validation-actions .button {
        width: 100%;
        text-align: center;
    }
    
    .ta-flags-list {
        gap: 6px;
    }
    
    .ta-flag-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .ta-blocking-info {
        padding: 12px;
    }
    
    .ta-blocking-reason {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .ta-duplicate-warning {
        padding: 10px;
        font-size: 13px;
    }
    
    .ta-duplicate-warning span {
        font-size: 12px;
    }
    
    .ta-developer-console-link {
        padding: 10px 12px;
    }
    
    .ta-console-link {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .ta-console-description {
        text-align: center;
        font-size: 11px;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* User List Table Column Styles */
.ta-flag-severity-low {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #e7f3ff;
    color: #0066cc;
    font-size: 12px;
    font-weight: 500;
}

.ta-flag-severity-medium {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #fff3cd;
    color: #856404;
    font-size: 12px;
    font-weight: 500;
}

.ta-flag-severity-high {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f8d7da;
    color: #721c24;
    font-size: 12px;
    font-weight: 500;
}

.ta-flag-severity-block {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

.ta-flag-severity-restrict {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #ffc107;
    color: #212529;
    font-size: 12px;
    font-weight: 500;
}

.ta-flag-severity-unknown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.ta-no-flags {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
}

.ta-flag-severity-low .dashicons,
.ta-flag-severity-medium .dashicons,
.ta-flag-severity-high .dashicons,
.ta-flag-severity-block .dashicons,
.ta-flag-severity-restrict .dashicons,
.ta-flag-severity-unknown .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Column header styling */
.column-trusted_flags,
.column-trusted_status {
    width: 120px;
}

.column-trusted_flags .sorting-indicator,
.column-trusted_status .sorting-indicator {
    margin-left: 5px;
}

/* User status styling */
.ta-user-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.ta-user-status-trusted {
    background-color: #d4edda;
    color: #155724;
}

.ta-user-status-suspicious {
    background-color: #fff3cd;
    color: #856404;
}

.ta-user-status-invalid {
    background-color: #f8d7da;
    color: #721c24;
}

.ta-user-status-unknown {
    background-color: #f8f9fa;
    color: #6c757d;
}

/* Responsive adjustments for mobile */
@media (max-width: 782px) {
    .column-trusted_flags,
    .column-trusted_status {
        width: auto;
    }
    
    .ta-flag-severity-low,
    .ta-flag-severity-medium,
    .ta-flag-severity-high,
    .ta-flag-severity-block,
    .ta-flag-severity-restrict,
    .ta-flag-severity-unknown,
    .ta-user-status {
        font-size: 11px;
        padding: 1px 4px;
    }
    
    .ta-flag-severity-low .dashicons,
    .ta-flag-severity-medium .dashicons,
    .ta-flag-severity-high .dashicons,
    .ta-flag-severity-block .dashicons,
    .ta-flag-severity-restrict .dashicons,
    .ta-flag-severity-unknown .dashicons {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }
}

/* Flag Behavior Settings Improvements */
.trusted-accounts-settings .form-table td .description {
    margin-top: 8px;
    line-height: 1.5;
    color: #666;
}

.trusted-accounts-settings .form-table td .description strong {
    color: #333;
    font-weight: 600;
}

.trusted-accounts-settings .form-table select {
    min-width: 200px;
}

/* Pro tip notice styling */
.trusted-accounts-settings .notice-info {
    border-left-color: #0073aa;
    background-color: #f7fcfe;
    margin-top: 20px;
}

.trusted-accounts-settings .notice-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.trusted-accounts-settings .notice-info strong {
    color: #0073aa;
}

/* Severity level indicators */
.ta-severity-info {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.ta-severity-info.info {
    background-color: #e7f3ff;
    color: #0073aa;
}

.ta-severity-info.watch {
    background-color: #fff3cd;
    color: #856404;
}

.ta-severity-info.restrict {
    background-color: #f8d7da;
    color: #721c24;
}

.ta-severity-info.block {
    background-color: #f5c6cb;
    color: #721c24;
}

/* Settings section headers */
.trusted-accounts-settings h2 {
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.trusted-accounts-settings h3 {
    color: #0073aa;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Flag Effects Display */
.ta-flags-effects-list {
    margin-top: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.ta-flag-effect-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: white;
}

.ta-flag-effect-item:last-child {
    border-bottom: none;
}

.ta-flag-effect-item.ta-effect-blocked {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.ta-flag-effect-item.ta-effect-restricted {
    border-left: 4px solid #ffc107;
    background: #fffbf0;
}

.ta-flag-effect-item.ta-effect-verified {
    border-left: 4px solid #28a745;
    background: #f0fff4;
}

.ta-flag-effect-item.ta-effect-monitored {
    border-left: 4px solid #6c757d;
    background: #f8f9fa;
}

.ta-flag-effect-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ta-flag-effect-severity {
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
}

.ta-flag-effect-severity.ta-severity-info {
    background-color: #e7f3ff;
    color: #0073aa;
}

.ta-flag-effect-severity.ta-severity-watch {
    background-color: #fff3cd;
    color: #856404;
}

.ta-flag-effect-severity.ta-severity-restrict {
    background-color: #f8d7da;
    color: #721c24;
}

.ta-flag-effect-severity.ta-severity-block {
    background-color: #f5c6cb;
    color: #721c24;
}

.ta-flag-effect-reason {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.ta-flag-effect-description {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* Flag Effects Summary */
.ta-flag-effects-summary {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.ta-flag-effects-summary > div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.ta-flag-effects-summary > div:last-child {
    margin-bottom: 0;
}

.ta-effect-summary-blocked {
    color: #dc3545;
}

.ta-effect-summary-restricted {
    color: #856404;
}

.ta-effect-summary-monitored {
    color: #6c757d;
}

.ta-flag-effects-summary .dashicons {
    margin-right: 4px;
    color: #666;
}

/* Restricted User Verification Page Styles */
.ta-verification-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 20px;
    font-family: 'Epilogue', 'Arial', sans-serif;
}

.ta-verification-container {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

.ta-verification-content h1 {
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.ta-verification-message {
    margin-bottom: 30px;
    text-align: left;
}

.ta-verification-message p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #3E3F70;
    font-size: 16px;
}

.ta-verification-message strong {
    color: #2E31FF;
    font-weight: 600;
}

.ta-verification-action {
    margin-bottom: 20px;
}

.ta-verification-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ta-verification-info p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ta-verification-page {
        padding: 10px;
    }
    
    .ta-verification-container {
        padding: 30px 20px;
    }
    
    .ta-verification-content h1 {
        font-size: 24px;
    }
    
    .ta-verification-message p {
        font-size: 15px;
    }
}

/* Status Message Components */
.ta-status-message-wrapper {
    position: fixed;
    z-index: 999999;
    max-width: 400px;
    animation: ta-slide-in 0.3s ease-out;
    /* Ensure it's above everything including WordPress admin bar */
    position: fixed !important;
    z-index: 999999 !important;
    /* Force stacking context */
    transform: translateZ(0);
    /* Ensure it's not clipped by parent containers */
    contain: layout style paint;
}

@keyframes ta-slide-in {
    from {
        transform: translateX(100%) translateZ(0);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateZ(0);
        opacity: 1;
    }
}

.ta-status-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    font-family: 'Epilogue', 'Arial', sans-serif;
    position: relative;
    min-width: 300px;
    /* Enhanced shadow and ensure it's above everything */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
    z-index: 999999 !important;
    /* Force hardware acceleration */
    transform: translateZ(0);
    /* Ensure proper stacking */
    isolation: isolate;
}

.ta-status-message.ta-status-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
}

.ta-status-message.ta-status-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.ta-status-message.ta-status-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    color: #856404;
}

.ta-status-message.ta-status-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.ta-status-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ta-status-icon svg {
    width: 24px;
    height: 24px;
}

.ta-status-content {
    flex: 1;
    min-width: 0;
}

.ta-status-content h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.ta-status-content p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.ta-status-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ta-status-actions .ta-button {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ta-status-actions .ta-button-primary {
    background: currentColor;
    color: white;
    border: 1px solid currentColor;
}

.ta-status-actions .ta-button-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ta-status-actions .ta-button-secondary {
    background: transparent;
    border: 1px solid currentColor;
}

.ta-status-actions .ta-button-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
}

.ta-status-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.ta-status-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.ta-status-close svg {
    width: 16px;
    height: 16px;
}

/* Auto-hide animation */
.ta-status-message-wrapper.ta-auto-hide {
    animation: ta-slide-in 0.3s ease-out, ta-fade-out 0.3s ease-in 4.7s forwards;
}

@keyframes ta-fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ta-status-message-wrapper {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .ta-status-message {
        min-width: auto;
        padding: 12px;
    }
    
    .ta-status-content h3 {
        font-size: 15px;
    }
    
    .ta-status-content p {
        font-size: 13px;
    }
    
    .ta-status-actions {
        flex-direction: column;
    }
    
    .ta-status-actions .ta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Legacy support for old message styles */
.ta-success-popup-wrapper,
.ta-error-popup-wrapper {
    display: none; /* Hide old styles */
}

/* Ensure status messages appear above WordPress admin bar and other elements */
#wpadminbar ~ .ta-status-message-wrapper,
.admin-bar .ta-status-message-wrapper {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    #wpadminbar ~ .ta-status-message-wrapper,
    .admin-bar .ta-status-message-wrapper {
        top: 46px !important;
    }
}

/* Override any theme z-index conflicts */
.ta-status-message-wrapper {
    z-index: 999999 !important;
    position: fixed !important;
}

/* Ensure it works with various WordPress themes */
body .ta-status-message-wrapper,
html .ta-status-message-wrapper {
    z-index: 999999 !important;
    position: fixed !important;
}

/* Handle potential conflicts with popular themes */
.wp-admin .ta-status-message-wrapper,
.admin-bar .ta-status-message-wrapper,
.logged-in .ta-status-message-wrapper {
    z-index: 999999 !important;
}

/* Ensure it's above modals and overlays */
.modal ~ .ta-status-message-wrapper,
.overlay ~ .ta-status-message-wrapper,
.popup ~ .ta-status-message-wrapper {
    z-index: 999999 !important;
}

/* Force display above everything */
.ta-status-message-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Enhanced mobile positioning */
@media (max-width: 768px) {
    .ta-status-message-wrapper {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
    }
    
    /* Account for mobile admin bar */
    .admin-bar .ta-status-message-wrapper {
        top: 46px !important;
    }
}

/* Ultimate z-index override for any theme conflicts */
.ta-status-message-wrapper,
.ta-status-message-wrapper * {
    z-index: 999999 !important;
    position: relative !important;
}

.ta-status-message-wrapper {
    position: fixed !important;
    z-index: 999999 !important;
}

/* Ensure it's above any possible WordPress element */
#wpadminbar ~ .ta-status-message-wrapper,
.admin-bar .ta-status-message-wrapper,
.logged-in .ta-status-message-wrapper,
.wp-admin .ta-status-message-wrapper,
.modal ~ .ta-status-message-wrapper,
.overlay ~ .ta-status-message-wrapper,
.popup ~ .ta-status-message-wrapper,
[style*="z-index"] ~ .ta-status-message-wrapper {
    z-index: 999999 !important;
    position: fixed !important;
}

/* Force display and visibility */
.ta-status-message-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}