/* Optional styling for the ModernPress settings page */
.wrap h1 , .wrap h2 {
    font-family: 'inter' , sans-serif;
    font-size: 2em;
    margin-top: 0px;
    margin-bottom: 20px !important;
    /* background-color: #056bfe; */
    /* border-radius: 8px; */
    padding: 0px !important;
    color: #000000;
    font-weight: 600;
}
.main-admin-dash-modernpress h2{
    font-family: 'inter' , sans-serif;
    font-size: 2em;
    margin-top: 0px;
    margin-bottom: 20px;
    /* background-color: #056bfe; */
    /* border-radius: 8px; */
    padding: 9px !important;
    color: #000000;
    font-weight: 600;
}
.wrap{
    display: flex;
    gap: 12px;
}
.wrap h3{
    font-family: 'inter' , sans-serif !important;
    font-size: 16px;
    line-height: 24px;
}
.nav-tab-wrapper {
    position: relative;
    border-bottom: 1px solid #F1EBE6 !important; /* Light gray border for h2 */
}

.nav-tab {
    float: left;
    margin-left: 1.5em;
    padding: 5px 10px;
    font-family: 'inter' , sans-serif;
    font-size: 16px;
    line-height: 1.71428571;
    font-weight: 500;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    border: 0px;
    transition: background 0.3s, color 0.3s; /* Smooth transitions */
    box-shadow: none;
}
.nav-tab:first-child {
    margin-left: 0; /* Remove left margin for the first tab */
}
.nav-tab:focus{
    box-shadow: none;
}
.nav-tab:hover {
    background: #0C20E10F;
    color: #0C20E1;
}

.nav-tab-active {
    background: #0C20E10F;
    color: #0C20E1;
    font-weight: 600;
    font-size: 16px;
    position: relative; /* Required for the pseudo-element */
}
.nav-tab-active::after {
    content: '';
    position: absolute;
    bottom: -9px; /* Aligns with the border of the <h2> */
    left: 0;
    right: 0;
    height: 3px; /* Thickness of the blue line */
    background: #0C20E1; /* Blue color for the underline */
    box-shadow: none;
}
.nav-tab-active:focus, 
.nav-tab-active:focus:active, 
.nav-tab-active:hover {
    background: #0C20E10F; /* Keep the active state consistent */
    color: #0C20E1;
    box-shadow: none; /* Avoid shadows for cleaner design */
}

.modernpress-panel-tabs .dashicons, .dashicons-before:before {
    vertical-align: text-top;
}

.form-table th {
    width: 200px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.admin-widgets-tab{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-widgets-tab .admin-widgets-tab-widget{
    width: 27.33%;
    border: 1px solid #F1EBE6;
    border-radius: 8px;
    padding: 18px;
}
.inside-admin-widgets-tab-widget{
    display: flex;
    width: 100%;
    margin-top: 12px;
    align-items: center;
    justify-content: space-between;
}
.inside-admin-widgets-tab-widget .widget-name{
    font-family: 'inter' , sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.main-admin-dash-modernpress{
    width: 65%;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
}
.main-admin-dash-sidebar{
    width: 35%;
}

.modern-press-admin-sidebar-section{
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 12px;
}
.modern-press-admin-sidebar-section h3{
    margin-top: 0px;
    margin-bottom: 12px;
}
.modern-press-admin-sidebar-section ul{
    margin-bottom: 0px;
}
.modern-press-admin-sidebar-section p{
    font-family: 'inter' , sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.modernpress-admin-widgets-stats{
    display: flex;
    gap: 12px;
}
.modernpress-admin-widgets-stats .total-widgets{
   background-color: #F1F2FF;
}
.modernpress-admin-widgets-stats .active-widgets{
   background-color: #F1FFF2;
}
.modernpress-admin-widgets-stats .inactive-widgets{
   background-color: #FFF1F1;
}
.modernpress-admin-widgets-stats-item{
    width: 33.33%;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'inter' , sans-serif;
}
.modernpress-admin-quicklinks-item{
    border-bottom: 1px solid #43526914;
    margin-bottom: 0px;
    padding-top: 14px;
    padding-bottom: 14px;
    display: flex;
}
.modernpress-admin-quicklinks-item:last-child{
    border-bottom: 0px;
    
}
.modernpress-admin-quicklinks-item a{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-family: 'inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}
.modernpress-admin-quicklinks-item a span{
    display: flex;
    align-items: center;
    gap: 6px;
}
.modernpress-admin-widget-tab-heading{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

.button-activate-all-widgets , .button-save-changes{
    background-color: #0C20E1 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'inter' , sans-serif !important;
    box-shadow: none !important;
    line-height: 12px;
}
.button-deactivate-all-widgets , .button-read-documentation{
    background-color: #ffffff !important;
    border: 1px solid rgba(128, 128, 128, 0.171) !important;
    border-radius: 8px !important;
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-family: 'inter' , sans-serif !important;
    box-shadow: none !important;
    line-height: 12px;
}
.button-create-header-footer{
    background-color: #0C20E1 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'inter' , sans-serif !important;
    box-shadow: none !important;
    line-height: 12px;
}
.button-read-documentation{
    background-color: #ffffff !important;
    border: 1px solid rgba(128, 128, 128, 0.171) !important;
    border-radius: 8px !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: 'inter' , sans-serif !important;
    box-shadow: none !important;
    line-height: 12px;
}
.modernpress-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .modernpress-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .modernpress-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .modernpress-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .modernpress-slider {
    background-color: #0C20E1;
  }
  
  input:focus + .modernpress-slider {
    box-shadow: 0 0 1px #0C20E1;
  }
  
  input:checked + .modernpress-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded modernpress-sliders */
  .modernpress-slider.round {
    border-radius: 34px;
  }
  
  .modernpress-slider.round:before {
    border-radius: 50%;
  }

  .modernpress-admin-widgets-stats-item.total-widgets strong {
    font-family: 'inter' , sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0C20E1;
}
  .modernpress-admin-widgets-stats-item.active-widgets strong {
    font-family: 'inter' , sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #098912;
}
  .modernpress-admin-widgets-stats-item.inactive-widgets strong {
    font-family: 'inter' , sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #AD0003;
}
  .modernpress-admin-widgets-stats-item {
    font-family: 'inter' , sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

#adminmenu .wp-menu-image img {
    padding-top: 7px !important;
    margin: 0 !important;
    opacity: 1 !important;
    width: 20px; /* Adjust as needed */
    height: 20px; /* Adjust as needed */
}
.modernpress-widget-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

