* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #e8e9ee !important;
    overflow-x: auto;
}

.customize-support {
    background: #e8e9ee !important;
}

.button#submit, button, .button {
  padding: 8px 12px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.button#submit:hover {
  background-color: #2980b9;
}

/* ===== HEADER ===== */
.lv-header {
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    min-width: 1239px;
    height: 100px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 999;
}

.lv-header-inner {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 30px 0 30px;
    gap: 40px;
}

.header-left a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 36px;
    object-fit: contain;
}

.logo-text {
    text-transform: uppercase;
    color: #1a472a;
}

.header-center {
    flex-grow: 1;
    padding-top: 8px;
    font-style: italic;
}

.header-center h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.header-center p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.avatar-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgb(240, 242, 245);
    border: 5px solid #b2b2b2;
    display: flex;
    align-items: center;
    justify-content: center;
    img{
        width: 47px;
        height: 47px;
        border-radius: 50%;
        object-fit: cover;
    }
}

.logged-in .avatar-circle {
    border: 0;
}

.logged-in{
    .avatar-circle {
        img{
            width: 55px;
            height: 55px;
        }
    }
}

.user-label-wrap .username {
    font-size: 12px;
    color: #000;
}

.user-label-wrap{
    font-size:11.6px;
    line-height:13px;
    margin-top:-3px;
    font-family:'SfproDisplay-Regular';
    .login-register{
        color:#1a02fd;
    }
}

/* --- User Dropdown --- */
.lv-user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-direction: column;
    margin-left: -26px;
}

.dropdown-caret {
    font-size: 10px;
    color: #666;
    display: inline-block;
    transition: transform 0.25s ease;
    margin-left: 2px;
    transform: rotate(-180deg);
}

.lv-user-dropdown:has(#lvDropdownMenu[style*="display: block"]) .dropdown-caret {
    transform: rotate(0deg);
}

.lv-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 180px;
    padding: 8px 0;
    z-index: 9999;
}

.lv-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.15s;
}

.lv-dropdown-item:hover {
    background: #f5f5f5;
}

/* ===== STEP NAVIGATION ===== */
.lv-step-navigation {
    left: calc(50% - 7px);
    pointer-events: none;
    position: fixed;
    top: 75px;
    transform: translate(-50%);
    z-index: 1000;
}

@media (max-width: 1239px) {
    body{
        height:unset;
    }
}

.step-navigation {
    align-items: flex-start;
    display: flex;
    gap: 47px;
    justify-content: center;
    pointer-events: auto;
}

.lv-step-navigation .step-navigation .step-item.active .step-image-container {
    border-color: #1b04fd;
    filter: grayscale(0);
}

.step-item {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .3s ease;
    &.active .step-image{
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, .95)) drop-shadow(0 0 8px rgba(255, 255, 255, .85));
    }
}

.step-image-container {
    align-items: center;
    display: flex;
    filter: grayscale(1);
    justify-content: center;
    position: relative;
    transition: all .3s ease;
    width: 188px;

    .step-image {
        filter: drop-shadow(0 6px 16px rgba(3, 3, 3, .35));
        object-fit: contain;
        transition: filter .3s ease;
    }

    .step-label-text {
        color: #030303;
        font-family: Alternate-Gothic-No2-BT, Arial Narrow, sans-serif;
        font-size: 30px;
        left: 50%;
        line-height: 1;
        pointer-events: none;
        position: absolute;
        text-align: center;
        text-transform: uppercase;
        top: 54%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        z-index: 2;
    }
    &.image-left{
        top:3px;
    }
   
    &:hover {
        filter:
        grayscale(1)
        drop-shadow(-2px -2px 5px rgba(255,255,255,.65))
        drop-shadow(5px 6px 9px rgba(85,90,100,.16));
    }
}

.step-status-icon {
    width: 91px;
    height: 91px;
    object-fit: contain;
    position: absolute;
    top: 57%;
    left: 100%;
    transform: translate(-23px, -50%);
    z-index: 1001;
}
.lv-container{
    display: flex;
    width:var(--content-width);
    min-width:var(--content-width);
    margin:0 auto;
    margin-bottom:0px;
    flex:1;
    @media (max-width:1239px){
        margin-bottom:-94px !important;
    }
}

/* ===== CONTENT ===== */
#screen-meta-links {
    display: none;
}
.wrap {
    overflow-x: auto;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px 0px 20px 0px;
    padding: 40px 10px 20px 10px;
}
.lv-content {
    margin-top: 122px;
    min-height: calc(100vh - 122px - 93px);
    height: calc(100vh - 122px - 93px);;
    background: #e8e9ee;
    padding: 37px 0px 0px 0px;
    @media (max-width:1239px){
        margin-top:-168px;
        padding:205px 0px 0px 0px;
    }
}

/* ===== WP CONTENT OVERRIDES ===== */
.update-nag,
.notice,
.wp-header-end {
    display: none !important;
}

#wpadminbar {
    display: none !important;
}

.lv-content .wp-list-table {
    background: #fff;
    border-radius: 8px;
}

/* ===== ẨN BULK ACTIONS PHỨC TẠP ===== */
#lv-content .bulkactions,
#lv-content .tablenav.top .actions,
#lv-content select[name="new_role"],
#lv-content select[name="new_role2"],
#lv-content select[name="action"],
#lv-content select[name="action2"],
#lv-content input[name="changeit"] {
    display: none !important;
}

#lv-content .wp-list-table .check-column{
    display: none;
}

#lv-content .wp-list-table.users .check-column {
    display: block !important;
}

/* ===== TABLE STYLING ===== */
#lv-content .wp-list-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    font-size: 13px !important;
}

#lv-content .wp-list-table thead th {
    background: #2b455c !important;
    color: #fff !important;
    padding: 12px 10px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
}

#lv-content .wp-list-table tbody tr {
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background 0.2s !important;
}

#lv-content .wp-list-table tbody tr:hover {
    background: #f8fafc !important;
}

#lv-content .wp-list-table tbody td {
    padding: 10px !important;
    vertical-align: middle !important;
    color: #333 !important;
    font-size: 13px !important;
}

#lv-content .wp-list-table tbody tr:nth-child(even) {
    background: #fafafa !important;
}

/* ===== TABLENAV ===== */
#lv-content .tablenav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 10px 0 !important;
}

#lv-content .tablenav-pages {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* ===== TABLE SCROLL & WIDTH ===== */
#lv-content .wrap {
    overflow-x: auto !important;
}

#lv-content .wp-list-table {
    /*min-width: 1200px !important;*/
    table-layout: auto !important;
}

#lv-content .wp-list-table thead th,
#lv-content .wp-list-table tbody td {
    min-width: 80px !important;
    padding: 12px 16px !important;
}

/* Cột username rộng hơn */
#lv-content .wp-list-table .column-username {
    min-width: 100px !important;
}

/* Cột email rộng hơn */
#lv-content .wp-list-table .column-email {
    min-width: 120px !important;
}

/* Cột device token cho phép wrap */
#lv-content .wp-list-table .column-custom_device_token {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    white-space: normal !important;
    word-break: break-all !important;
}

/* ===== SEARCH BOX ===== */
#lv-content .search-box input[type="search"] {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
}

#lv-content .search-box input[type="submit"] {
    background: #2b455c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    cursor: pointer !important;
    font-size: 13px !important;
}

/* ===== PAGE TITLE ===== */
#lv-content .wrap h1 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #16173b !important;
    margin-bottom: 16px !important;
}

/* ===== ADD NEW BUTTON ===== */
#lv-content .page-title-action {
    background: #2b455c !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    margin-left: 10px !important;
}

/*Marketing managerment page*/
#lv-content.lv-page-marketing .tablenav.top {
    display: block !important;
}
#lv-content.lv-page-marketing .tablenav.bottom,
#lv-content.lv-page-marketing .tablenav.top #doaction,
#lv-content.lv-page-marketing .tablenav.top .bulkactions {
    display: none !important;
}
#lv-content.lv-page-marketing .tablenav.top .actions,
#lv-content.lv-page-marketing.lv-page-marketing select[name="action2"],
#lv-conten.lv-page-marketingt .wp-list-table .check-column {
    display: block !important;
}

.agent-logo-circle {
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin-right: 15px;
}

.agent-logo-circle .agent-logo-sp img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: right center;
}