/* HEADER BAR */
#mip-user-header {
  position: absolute; /* or relative depending on parent */
  top: 20px;
  right: 0;
  display: flex;
  justify-content: flex-end;
  
  padding: 6px 12px;
  border-radius: 50px;
 
  z-index: 9999;
  gap: 12px;
}
.mip-header-container {
  max-width: 1100px; /* match your site's content width */
  margin: 0 auto;
  position: relative;
}

/* Let it follow container width */
.container-relative {
  position: relative;
}
/* ICON WRAPPER */
.mip-header-icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
}
.mip-login-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #fff;
  border: 1px solid #dedede;
  color: #787878;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.2s ease;
  font-size: 15px;
}

.mip-login-button:hover {
 color: #333;
}
.noti-padding {
    
    padding:12px;
    
    
    
    
}
 .mbti-info {
        position: relative;
        display: inline-block;
        cursor: pointer;
        margin-left: 6px;
        color: #434343;
        font-size: 15px;
    }
    .mbti-info .tooltip {
        visibility: hidden;
        background-color: #333;
        color: #fff;
        text-align: left;
        padding: 6px 10px;
        border-radius: 4px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
        width: 220px;
        font-size: 13px;
        line-height: 1.4;
    }
    .mbti-info:hover .tooltip {
        visibility: visible;
        opacity: 1;
    }
    .mbti-info .tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -6px;
        border-width: 6px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }
.main-btn {
    background-color: #ffdd7e;
    color: #333;
    border: none;
    padding: 20px 20px;
     letter-spacing: 0.1px !important;
    font-family: inherit; 
    font-weight: 700 !important;
    font-size:15px;
    border-radius: 6px;
    cursor: pointer;
    width:100%;
    transition: background-color 0.2s;
    margin-top: 15px;
    color: #333;
}
/* Hover/focus for default */
.main-btn:hover,
.main-btn:focus {
    background-color: #fcd665;
     font-weight: bold !important;
    color: #222;
}
/* ICON BUTTON STYLING */
.mip-header-icon {
  width: 45px;
  height: 45px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  cursor: pointer;
}

/* HOVER RING EFFECT */
.mip-header-icon:hover,
.mip-header-icon.active {
  background-color: #e4e4e4;
}

/* FONT ICONS */
.mip-header-icon i {
  font-size: 26px;
  color: #8b8b8b;
}

/* USER AVATAR */
.mip-header-icon img {
  width: 40px;
  height: 40px;
   border: 2px solid #e4e4e4;
  border-radius: 50%;
  object-fit: cover;
}

/* DROPDOWN PANEL */
.mip-dropdown {
  position: absolute !important;
  top: 60px;
  right: 100%; /* dropdown fully to the left of the icon */
left: auto;
margin-right: -40px; /* optional spacing */
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 0px;
 padding-bottom:10px;
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}


/* ðŸ”½ Specific sizing */
.mip-dropdown-chat {
  min-width: 500px;
}

.mip-dropdown-bell {
  min-width: 500px;
}

.mip-dropdown-user {
  min-width: 200px;

}
/* DROPDOWN CONTENT */
.mip-dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mip-dropdown ul li {
  padding: 10px 0;
  
}

.mip-dropdown ul li:last-child {
  border-bottom: none;
}

.mip-dropdown ul li a {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: color 0.2s ease;
}

.mip-dropdown ul li a:hover {
  color: #0073aa;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media screen and (max-width: 600px) {
  #mip-user-header {
    flex-direction: column;
    top: auto;
    bottom: 15px;
    right: 15px;
    padding: 8px;
    gap: 10px;
  }

  .mip-dropdown {
    right: auto;
    left: -150px; /* shift to remain visible on small screens */
  }
}

/* Chat Header Bar */
.mip-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.mip-chat-header-actions {
  font-size: 13px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.mip-chat-header-actions a {
  color: #458cff;
  font-weight:500 !important;
  text-decoration: none;
}

.filter-dropdown {
  color: #555;
  cursor: pointer;
}

/* Search Box */
.mip-chat-search {
  margin: 0px 0;
  padding:10px;
  border-bottom: 1px solid #eee;
}

.mip-chat-search input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  background: #f3f3f3;
  border: none;
  border-radius: 8px;
}

/* Chat List */
.mip-chat-list {
  list-style: none;
  margin: 0;
  padding: 0px;
}

.mip-chat-item {
  display: flex;
  align-items: flex-start;
  padding: 12px !important;
  gap: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.mip-chat-item:hover {
  background: #f6f6f6;
 
}

.mip-notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.mip-chat-content {
  flex: 1;
}
/* Read chat style */
.mip-chat-item.read .mip-chat-header-line,
.mip-chat-item.read .mip-chat-text {
  color: #aaa;
  font-weight: normal;
}

/* Remove dot from read chats */
.mip-chat-item.read .mip-dot {
  display: none;
}

.mip-mark-unread-icon {
    cursor: pointer;
    margin-left: 8px;
    font-size: 14px;
    color: #999;
     align-self: center;
}
.mip-mark-unread-icon:hover {
    color: #000;
}


.mip-chat-header-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #222;
}

.mip-chat-count {
  font-weight: normal;
  color: #888;
  font-size: 13px;
}


.mip-chat-text {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
  line-height: 1.4;
}

.mip-chat-item {
  position: relative;
}

.mip-status-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}




.mip-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mip-dot:hover {
    background-color: #e8e8e8;
    cursor: pointer;
}

.mip-dot i {
    font-size: 12px;
    color: #4287f5;
    pointer-events: none;

  
  
  
  
  
  
  
  
  
    
    
}
.mip-read-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mip-read-toggle:hover {
    background-color: #e8e8e8;
    cursor: pointer;
}

.mip-read-toggle i {
    font-size: 12px;
    color: gray;
    pointer-events: none;
}


.mip-separator-dot {
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}


.mip-status-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.mip-status-toggle:hover::after {
  opacity: 1;
}
.mip-status-toggle::after {
  transition: opacity 0.2s ease;
  opacity: 0;
}

.mip-status-toggle:hover::after {
  opacity: 1;
}

.mip-user-menu li,
.mip-user-secondary li {
  padding: 0 !important; /* 🔧 Remove extra padding */
  margin: 0 !important;;
}

.mip-user-menu li a,
.mip-user-secondary li a {
  display: block;
  padding: 15px 18px; /* Adjust as needed */
  font-weight: bold;
  font-size: 17px !important;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
  border-radius: 0;
}

.mip-user-menu li a:hover,
.mip-user-secondary li a:hover {
  background: #e5e5e5;
  color: #333 !important;
}


#mip-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #323232;
    color: #fff;
    padding: 20px 20px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 60px;
}

#mip-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mip-toast-close {
    cursor: pointer;
    margin-left: auto;
    font-size: 18px;
    color: #fff;
}

        .h3-preferences { font-size: 24px !important; font-weight:bold !important; margin-bottom: 15px !important; }
        .h4-preferences { font-size: 18px  !important; font-weight:bold !important; margin-bottom: 3px !important; }
        .mip-notifications-box { padding: 8px; }
        .mip-notification-settings-form { margin: 0 auto; font-family: Arial, sans-serif; }
        .mip-setting-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
        .mip-setting-label { font-weight: 500; }
        .mip-toggle-switch { position: relative; display: inline-block; width: 46px; height: 24px; }
        .mip-toggle-switch input { opacity: 0; width: 0; height: 0; }
        .mip-slider {
            position: absolute; cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        .mip-slider:before {
            position: absolute; content: "";
            height: 18px; width: 18px;
            left: 3px; bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        .mip-toggle-switch input:checked + .mip-slider { background-color: #198504; }
        .mip-toggle-switch input:checked + .mip-slider:before { transform: translateX(22px); }
        .notice.success {
            padding: 10px;
            background: #e0f7e9;
            border-left: 4px solid #46b450;
            margin: 10px 0 20px 0;
        }

/* Divider */
.mip-user-dropdown-wrapper hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0;
}

/* Disabled Link */
.mip-user-secondary li.disabled span {
  display: block;
  color: #aaa;
  font-size: 14px;
  cursor: not-allowed;
}





/* Container */
.mip-notification-list {
  list-style: none;
  padding: 0px !important;
  margin: 0px;
}

.mip-notification-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.mip-notification-mark-read {
  font-size: 13px;
  color: #458cff;
  text-decoration: none;
}

.mip-notification-mark-read:hover {
  text-decoration: underline;
}


.notification-title {
    font-weight:bold;
    font-size: 16px;
   

    
    
}
/* Each Notification */
.mip-notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px !important;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.mip-notification-item:hover {
  background-color: #f6f6f6;
}

/* Avatar */
.mip-notification-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
}

/* Content Area */
.mip-notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header Line */
.mip-notification-header {
  font-size: 15px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Group label */
.mip-label {
  font-weight: normal;
  color: #333;
  font-size: 15px;
}

/* Timestamp */
.mip-time {
  font-size: 15px;
  color: #989898;
  font-weight:500;
}

/* Preview text */
.mip-notification-text {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
  line-height: 1.4;
}

.mip-notification-item.read .mip-notification-header strong {
  color: #aaa; /* Or whatever muted tone you prefer */
  font-weight: normal;

}

/* Overall background for read notifications */
.mip-notification-item.read {
  background-color: #f9f9f9;
}

/* Dim the actor name */
.mip-notification-item.read .mip-notification-header strong {
  color: #999;
  font-weight: bold;
}

/* Dim the label (e.g., "Liked your comment") */
.mip-notification-item.read .mip-label {
  color: #aaa;
}

/* Dim the time */
.mip-notification-item.read .mip-time {
  color: #bbb;
}

/* Dim the message text */
.mip-notification-item.read .mip-notification-text {
  color: #888;
}




.ast-container {
  display: flex;
  gap: 0px; /* Reduce this number to make them closer */
}
/* Change background of main content */
.single-layout-1 {
  background-color: #ffffff !important; /* or use background-image */
  padding: 20px;flex: 5; /* smaller portion of space */
   border-radius: 5px;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
}

/* Change background of sidebar */
.sidebar-main {
  background-color: #ffffff !important;
  padding: 20px;flex: 1; /* smaller portion of space */
    max-width:350px !important;
   border-radius: 5px;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
}
body.logged-in .site-footer {
    display: none !important;
}
a {
    cursor: pointer;
}
	h1.entry-title {
  font-size: 34px; /* Adjust size as needed */
	Font-weight:bold;
	text-transform: none;
}
h1.course-entry-title {
  font-size: 34px; /* Adjust size as needed */
	Font-weight:bold;
	text-transform: none;
	margin-bottom:20px;
	margin-top:20px
}
body.logged-in .loginbutton {
    display: none;
}
body:not(.logged-in) .account-link {
    display: none;
}
.wp-block-list {
    padding-left: 30px;

}
.mip-brand-container {
    display: flex;
    justify-content: center;
    margin-top:150px;
    align-items: center;
    padding: 20px;
  
}
.mip-brand-box {
    background: white;
    border-radius: 5px;
    padding: 25px;
    max-width: 1500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Dropdown container */
.mhr-dropdown-container {
  position: relative; /* Establish context for positioning */
  display: inline-block; /* Keep trigger and menu together */
}

/* Dropdown trigger */
.mhr-dropdown-trigger {
  text-decoration: none;
  color: white;
  background-color: #444444;
  padding: 10px 20px;
  border-radius: 35px;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mhr-dropdown-trigger:hover {
  background-color: #333333;
}

/* Dropdown menu */
.mhr-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute; /* Position relative to the container */
  background-color: white;
  border: 1px solid #dddddd;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  display: none; /* Initially hidden */
  z-index: 1;
  top: 100%; /* Place directly below the trigger */
  left: 0; /* Align with the left edge of the trigger */
}

.mhr-dropdown-menu li {
  border-bottom: 1px solid #dddddd;
}

.mhr-dropdown-menu li:last-child {
  border-bottom: none;
}

.mhr-dropdown-menu a {
  text-decoration: none;
  color: #444444;
  padding: 12px 16px;
  display: block;
  font-size: 14px;
  transition: background-color 0.3s;
}

.mhr-dropdown-menu a:hover {
  background-color: #f1f1f1;
  color: #000;
}

/* Show dropdown menu when 'show' class is added */
.mhr-dropdown-menu.show {
  display: block;

}

.mip-login-error { 
	color: red; 
	margin-bottom: 15px; 
	display: none; 
}
.mip-login-form-container { 
	max-width: 1000px; 
	margin: 0 auto;
	margin-bottom:120px;
	padding: 20px; 
	border: 1px solid #ddd; 
	background: #fff; 
}
.mip-register-form-container { 
	max-width: 1200px; 
	margin: 0 auto; 
	padding: 20px; 
	border: 1px solid #ddd; 
	background: #f9f9f9; 
}
.mhr-form {
            max-width: 500px;
            width: 100%;
            margin: 5px auto;
            padding: 15px;
            background: #ffffff;
            border: 1px solid #ddd;
            border-radius: 4px;
        


}
.loginbutton {
   display: inline-block; /* Ensures it behaves like a button */
    padding: 10px 20px; /* Add space around the text */margin-top:15px;
    font-size: 16px; /* Text size */
    color: white; /* Text color */
    background-color: transparent; /* Button background color */
    border: none; /* No border */
    border-radius: 35px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center text */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
}
.loginbutton:hover {
    font-size: 16px; /* Text size */
	background-color: #444444; /* Change background color on hover */
   padding: 9px 19px; /* Add space around the text */
	border:1px solid #444444;
  color: #ffffff; /* Optional: Adjust text color on hover */
	
	

}
.post-meta, .entry-meta {
    display: none;
    
}
.widget_block {
    
background: transparent !important;
    
}   
    
  /* Course Main Container */
.custom-sidebar-content-layoutNEW {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 50px auto 0; /* Add a top margin */
    padding-top: 20px; /* Add padding for spacing */
    box-sizing: border-box;
    gap: 20px; /* Ensures a 20px gap between sidebar and content */
}

/* Sidebar Section */
.custom-sidebar-content-layoutNEW .sidebar {
    
    flex: 0 0 325px; /* Fixed width for sidebar */
}

/* Profile Image Styling */
.profile-sidebarreg img {
    width: 150px !important; /* Sets the width */
    height: 150px !important; /* Ensures a circular shape */
    max-width: 100% !important;
    display: block;
    margin: 0 auto;
    text-align: center;
    border-radius: 50%; /* Circular image */
    margin-bottom: 20px;
}

/* Content Section */
.custom-sidebar-content-layoutNEW .content {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
  
    box-sizing: border-box;
     border-radius: 8px; 
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .custom-sidebar-content-layoutNEW {
        flex-direction: column; /* Stack sidebar and content vertically */
    }
    .custom-sidebar-content-layoutNEW .sidebar {
        margin-bottom: 20px; /* Adds spacing when stacked */
    }
}
@media (max-width: 768px) {
    .custom-sidebar-content-layoutNEW .sidebar {
        display: none; /* Hides the sidebar on small screens */
    }
}
 /* Hide submodules by default */
.submodules {
    display: none;
    padding-left: 15px;
}

/* Show submodules when module is active */
.module-item.active .submodules {
    display: block;
}

/* Styling for module links */
.module-link {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    padding: 5px 0;
}

/* Chevron icon styling */
.chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Navigation Buttons */
.nav-buttons {
    text-align: center;
    margin-top: 20px;
   
}

/* Styling for Previous Button */
.prevbutton {
    display: inline-block;
    padding: 10px 15px;
    margin-right:10px;
    background-color: #ffffff; /* Blue */
    color: #353535;
    text-decoration: none;
    border:1px solid #c6c6c6;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
    font-size: 14px;
}

/* Hover effect */
.prevbutton:hover {
    background-color: #F5f5f5; /* Darker Blue */
     color: #353535;
    
}
/* Focus effect */
.prevbutton:hover {
    background-color: #f5f5f5; /* Darker Blue */
     color: #353535;
}  

/* Styling for Next Button */
.nextbutton1 {
    display: inline-block;
    padding: 10px 15px;
    background-color: #c40808; /* Green */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
    font-size: 14px;
}

/* Hover effect */
.nextbutton1:hover {
    background-color: #a30606; /* Darker Green */
    color: white;
}

/* Focus effect */
.nextbutton1:focus {
    background-color: #a30606; /* Darker Green */
    color: white;
}

/* Default Button Style (White Background) */
.completion-btn {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover Effect */
.completion-btn:hover {
    background: #f1f1f1;
    color: black;
}

/* When Course is Marked as Complete (Red Background) */
.completed {
    background: #ff3333 !important;
    color: white !important;
    border: 2px solid #ff3333;
}

/* Hover Effect for Completed Button */
.completed:hover {
    background: #cc0000 !important;
    border: 2px solid #cc0000;
}




.course-sidebar {
    Background: #fff !important;
    width: 100%;
   padding:10px;
   border-radius: 8px; 
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    
}
.course-sidebar img {
    max-width: 55%;
	display: block; /* Ensures the image behaves like a block element */
    margin: auto; /* Automatically centers horizontally */
    text-align: center;
    border-radius: 50%; /* Circular image */
    margin-bottom: 20px;
}

.course-sidebar h3 {
    text-align: center;
}

.course-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-sidebar ul li {
    margin-bottom: 10px;
}

.course-sidebar ul li a {
    text-decoration: none;
    color: #c40808;
}

.course-sidebar ul li a:hover {
    text-decoration: underline;
}




	.mip-read-more {
   
   
    background: #0073aa;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.mip-read-more:hover {
    background: #005177;
}


.mip-pill-filter {
  border: 1px solid #ccc !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: none;
  font-weight: 400;
  background: white !important;
  padding: 15px 15px !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  color: #535353 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.mip-pill-filter:hover,
.mip-pill-filter.active {
  background: #888888 !important;
  color: #fff !important;
}

.mip-pill-filter .count {
  font-weight: 400 !important;
  margin-left: 6px !important;
}

        .mip-members-grid {
             
             margin: auto;
            display: flex;
            flex-direction: column;
            gap: 25px;
            margin-top: 20px;
        }
        .follow-user-card {
            display: flex;
            align-items: flex-start;
            padding: 20px;
            background: white;
            border-radius: 8px;
          box-shadow: 0 0 5px rgba(0,0,0,0.1);
            gap: 15px;
        
        }
.mip-members-directory-block {
 
   
     max-width: 775px;
        
        margin: auto;
        background: none;
}


/* Admin Page: Dashboard Optimization */

/* General Table Styling */
.wp-list-table.widefat {
    border-collapse: collapse;
    width: 100%;
}

.wp-list-table th {
    background: #f4f4f4;
    color: #333;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.wp-list-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.wp-list-table tr:hover {
    background-color: #f9f9f9;
}



.button.delete-greeting {
    background-color: #d63638;
}

.button.delete-greeting:hover {
    background-color: #a02627;
}

/* Add Greeting Form */
#add-greeting-form {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 4px;
}

#add-greeting-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#add-greeting-form button {
    margin-top: 10px;
}



.mip-daily-greeting {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    padding: 10px;
    background: #f4f4f4;
    border-left: 5px solid #555;
    border-radius: 4px;
}

/* Form Styling */
#mip-log-form input,
#mip-log-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    font-size: 14px;
}

#mip-log-form button {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#mip-log-form button:hover {
    background-color: #005177;
}

/* Log Entries */
.mip-h3-logs {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 20px;
}

.mip-log {
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.mip-log h4 {
    font-size: 18px;
    color: #333;
    padding: 8px;
    margin-bottom: 5px;
}

.mip-log p {
    font-size: 14px;
    padding: 8px;
    color: #555;
    margin-bottom: 10px;
}

.mip-log small {
    font-size: 12px;
    padding: 8px;
    color: #888;
}
/* Container label */
.mip-report-comment-reason-container label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  cursor: pointer;
  font-size: 16px;
    font-weight: 400 !important;
  color: #333;
  user-select: none;
}

/* Hide native checkbox */
.mip-report-comment-reason-container input[type="checkbox"] {
  display: none;
}

/* Custom checkbox wrapper (span) */
.mip-report-comment-reason-container span {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Fake checkbox box */
.mip-report-comment-reason-container span::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 10px;
  border: 2px solid #c5c5c5;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

/* Checkmark (hidden by default) */
.mip-report-comment-reason-container span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 5px;
  height: 10px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: border-color 0.2s ease-in-out;
}

/* Checked state: green bg + white checkmark */
.mip-report-comment-reason-container input[type="checkbox"]:checked + span::before {
  background: #4caf50;
  border-color: #4caf50;
}

.mip-report-comment-reason-container input[type="checkbox"]:checked + span::after {
  border-color: white;
}

/* Hover state: unchecked - grey bg + dark checkmark */
.mip-report-comment-reason-container label:hover input[type="checkbox"]:not(:checked) + span::before {
  background: #b5b5b5;
  border-color: #b5b5b5;
}

.mip-report-comment-reason-container label:hover input[type="checkbox"]:not(:checked) + span::after {
  border-color: #fff;
}

/* Optional subtle shadow on hover */
.mip-report-comment-reason-container label:hover span::before {
  
}

/* Responsive Design */

/* For Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .mip-user-container {
        flex-wrap: wrap; /* Allow wrapping for better spacing */
        gap: 10px; /* Reduce gap */
    }

    .mip-user-sidebar {
        flex: 0 0 30%; /* Sidebar takes more space */
    }

    .mip-user-content {
        flex: 0 0 70%; /* Content adjusts accordingly */
    }
}

/* For Small Screens (Mobiles) */
@media (max-width: 768px) {
    .mip-user-container {
        flex-direction: column; /* Stack layout */
        gap: 15px; /* Consistent spacing between sections */
        padding: 10px; /* Reduce padding for small screens */
        width: 100%; /* Ensure the container is full width */
        margin: 0; /* Remove side margins */
    }

    .mip-user-sidebar {
        flex: none;
        width: 100%; /* Make sidebar full width */
        text-align: center; /* Center-align sidebar content */
        margin-bottom: 20px; /* Add spacing below sidebar */
        padding: 15px; /* Adjust padding */
        border-right: none; /* Remove border on mobile */
        border-bottom: 1px solid #f5f5f5; /* Add bottom border for separation */
    }

    .mip-user-sidebar img {
        width: 120px; /* Smaller image for mobile */
        height: 120px;
    }

    .mip-user-sidebar h3 {
        font-size: 18px; /* Smaller text size */
    }

    .mip-user-content {
        width: 100%; /* Full width on mobile */
        padding: 15px; /* Adjust padding for small screens */
    }

    .mip-user-content h2 {
        font-size: 22px; /* Slightly smaller heading */
    }

    .mip-daily-greeting {
        font-size: 16px; /* Slightly smaller text */
        padding: 10px;
    }

    .mip-log {
        margin-top: 15px;
        padding: 15px;
        box-shadow: none; /* Simplify design for small screens */
        border: 1px solid #ddd; /* Add subtle border */
    }

    .mip-log h4 {
        font-size: 16px; /* Adjust size */
    }

    .mip-log p {
        font-size: 13px; /* Smaller size for better readability */
    }

    .mip-log small {
        font-size: 11px; /* Adjust size */
    }
}



/* Cross-browser Compatible form Styling */
.cross-browser-form {
    max-width: 700px;
    width:100%;
	  margin-bottom:0px;
   
    background-color: #f9f9f9; /* Background color */
    border: 1px solid #ddd; /* Border */
    border-radius: 4px; /* Rounded corners */
    box-sizing: border-box; /* Ensures padding is included in width/height */
    display: block; /* Ensures proper box display behavior */
    
    /* Box Shadow for depth (optional) */
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Safari and older Chrome */
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Older Firefox */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Standard */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .cross-browser-form {
        width: 100%; /* Full width on smaller screens */
        margin: 10px 0; /* Adjust margin */
    }
}