/* Admin menu icon styles */
#adminmenu .toplevel_page_pollbolt-settings .wp-menu-image:before {
    content: "\f0e7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #FEFD7D !important;
}

/* Ensure black color for shortcode generation button */
#pollbolt-submit-btn, 
#pollbolt-submit-btn:hover, 
#pollbolt-submit-btn:focus, 
#pollbolt-submit-btn:active {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Centering all tab contents */
.tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Width settings for better content centering */
.tab-container .pollbolt-banner, 
.tab-container .nav-tab-wrapper {
    width: 100%;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tab alignment to the left */
.tab-container .nav-tab-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
    padding-left: 20px;
    text-align: left;
}

/* Tab styles */
.tab-container .nav-tab {
    padding: 10px 20px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 15px;
    border-radius: 5px 5px 0 0;
}

.tab-container .nav-tab:first-child {
    margin-left: 0;
}

.tab-container .nav-tab-active {
    background-color: #f0f0f1;
    border-bottom-color: #f0f0f1;
}

/* Card centering */
.tab-container .card {
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 15px !important;
    width: 1100px !important;
    max-width: 1100px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

/* Card header styles */
.pollbolt-card-header {
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #dcdcde;
    background-color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 15px 15px 0 0;
}

/* Styles for shortcode table */
.pollbolt-shortcodes-table {
    border-radius: 0 0 15px 15px !important;
    overflow: hidden !important;
}

/* Content centering inside tabs */
.tab-container .settings-errors {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1100px;
}
