/* Custom style cho theme */

/* Chỉ áp dụng cho desktop */
#desktop-theme{
        display: none;
}
@media (min-width: 1080px) {
    body{
        padding-top: 28px;
    }
    #header, #wpadminbar{
        display: none;
    }
    #wrapper{
        margin-left: 230px;
    }
    #desktop-theme{
        display: block;
    }
    #lnp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 230px;
        height: 100vh;
        background-color: #20232a;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        z-index: 10000;
    }

    #lnp-sidebar .logo-section {
        text-align: center;
        margin-bottom: 20px;
    }

    #lnp-sidebar .logo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
    }

    #lnp-sidebar .channel-name {
        font-size: 16px;
        font-weight: bold;
        color: #61dafb;
    }

    #lnp-sidebar .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #lnp-sidebar .menu-list li {
        width: 100%;
        padding-left: 5px;
    }

    #lnp-sidebar .menu-list li a {
        display: block;
        padding: 12px 20px;
        color: #fff;
        text-decoration: none;
        transition: background 0.2s;
    }
    #lnp-sidebar .menu-list li a i{
        margin-right: 10px;
    }

    #lnp-sidebar .menu-list li a:hover {
        background-color: #333842;
    }
    /*css header */
    #lnp-header {
        position: fixed;
        top: 0;
        left: 230px;
        right: 0;
        height: 70px;
        background: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 9999;
    }
    
    .lnp-header-left{
        width: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 25px;
    }
    .lnp-header-left-content{
        width: auto;
    }
    
    i.wallet-balance-icon{
        font-size: 25px;
        color: #fbbb05;
        margin-right: 5px;
    }
    .lnp-header-left-content .wallet-balance{
        font-size: 25px;
        color: #fbbb05;
    }

    .lnp-header-right{
        width: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 25px;
    }
    .lnp-header-right-content .lnp-search-input{
        padding: 0px 15px;
        border: 1px solid #ddd;
        border-radius: 20px;
        width: 400px;
        outline: none;
        margin: 0px;
    }
    .lnp-header-right-content a {
        position: relative;
    }
    .lnp-header-right-content a i{
        font-size: 20px;
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
        padding-top: 7px;
    }
    .lnp-header-right-content a i:hover{
        color: #0099ff;
    }
    .mh-cart-count-desktop, .mh-wishlist-count-desktop, .mh-new-count-desktop, .mh-mess-count-desktop{
        border-radius: 50%;
        background-color: red;
        color: #fff;
        padding: 2px 5px;
        position: absolute;
        top: -15px;
        right: -15px;
        font-size: 12px;
        min-width: 20px;
        height: 20px;
        text-align: center;
    }
    
    
    .lnp-user-info-modern {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: 0px;
        background: #f2f2f2;
        padding: 4px 12px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        font-size: 14px;
        max-width: 250px;
        border-radius: 20px;
        transition: color 0.3s ease;
    }
    .lnp-user-info-modern:hover{
        background: #d9d9d9;
    }
    
    .lnp-user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #ddd;
    }
    
    .lnp-user-details {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .lnp-user-name {
        font-weight: 600;
        color: #333;
    }
    
    .lnp-user-id {
        font-size: 12px;
        color: #666;
    }
    /* CSS THANH TÌM KIẾM */
    .lnp-desktop-search-box {
      position: relative;
      width: 400px;
    }
    
    #lnp-desktop-search-input {
      width: 100%;
      padding: 0px 30px 0px 20px;
      border: 1px solid #ccc;
      border-radius: 20px;
      outline: none;
      font-size: 14px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      transition: border 0.2s ease;
      margin: 0px;
    }
    
    #lnp-desktop-search-input:focus {
      border-color: #0073aa;
    }
    
    .lnp-desktop-search-box i.lnp-desktop-search-icon {
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: #888;
      padding: 2px 0px;
      margin: 0px;
    }
    
    #lnp-desktop-search-input:focus::placeholder {
      color: transparent;
    }
    
    #lnp-desktop-clear-search {
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      font-size: 30px;
      cursor: pointer;
      color: #888;
      padding: 2px 0px;
      margin: 0px;
    }
    
    .lnp-desktop-suggestion-list {
      position: absolute;
      top: 105%;
      left: 0;
      width: 100%;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      list-style: none;
      margin: 5px 0 0;
      padding: 0;
      z-index: 9999;
      display: none;
      max-height: 260px;
      overflow-y: auto;
    }
    
    .lnp-desktop-suggestion-list li {
      padding: 10px 15px;
      cursor: pointer;
      font-size: 14px;
      border-bottom: 1px solid #f1f1f1;
      transition: background 0.2s;
    }
    
    .lnp-desktop-suggestion-list li:hover {
      background: #f5f5f5;
    }
}
