/*
  ixAccred™ Stylesheet
  © ixAccred™. All rights reserved.
  Unauthorized copying or reuse is prohibited.
*/

/* Prevent content hiding under header */
body{
  background-color:#f0f2f5;
  margin:0;
  padding:0;
  font-family:Arial, sans-serif;
  overflow-y:auto;
}

:root {
  --ix-header-height: 60px; /* adjust to actual header height */
}

/*==============================================*/
/* START OF CSS CODE FOR UNIVERSAL USE          */
/*==============================================*/
/* Univeral Frame */
.ix-universal-frame {
  border: 1px solid #e9e9e9;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
}

/* Univeral Title */
.universal-title{
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #405d9b;
  margin-bottom: 10px;
}

/* Univeral Subtitle (like About Me) */
.universal-subtitle{
  text-align: center;
  display: block;
  font-weight: bold;
  color:#405d9b;
  margin-bottom: 6px;
}

.error-message {
  color: red;
  font-size: 14px;
  text-align: center;
  /*margin-bottom: 10px;*/
}

.ix-empty-feed{
  text-align: center;
  font-size: 14px;
  color: #999;
  padding: 30px 10px;
  font-style: italic;
}

/* Shared empty-state CENTERED*/
.ix-empty{
  margin: 0;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: center;
  padding: 18px 8px;
}

/* Shared empty-state LEFT JUSTIFIED*/
.ix-empty-left{
  margin: 0;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: left;
  padding: 18px 8px;
}

/* Cancel / secondary button */
.ix-btn.ix-btn--muted {
  background-color: #999999;
  color: #fff;
  border-color: #999999;
}


.post-textbox {
  width: 100%;
  resize: vertical;
  min-height: 70px;
  padding: 8px 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* ===USER MINI-CARD File: ixAccred_userads_page.php=== */
.ixg-userad{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  margin-bottom: 10px;
}

/* ===GROUP MINI-CARD File: ixAccred_groupads_page.php=== */
.ixg-groupad{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background-color: #f0f8ff;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  margin-bottom: 10px;
}

.ixg-userad__avatar-link{
  text-decoration: none;
  flex: 0 0 auto;
}

.ixg-userad__avatar{
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ixg-userad__body{
  display: flex;
  flex-direction: column;
  min-width: 0; /* prevents long names from breaking layout */
}

.ixg-userad__name{
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #405d9b;
  line-height: 1.2;
}

.ixg-userad__name:hover{
  text-decoration: underline;
}

.ixg-userad__meta{
  font-size: 10px;
  color: #999;
  font-family: Arial, sans-serif;
  margin-top: 2px;
}

.ixg-userad__online{
  color: #63D441;
  font-size: 12px;
  font-weight: bold;
}

.ix-required{
  color: rgba(220, 38, 38, 0.75); /* low red */
  font-weight: 700;
  font-size: 12px;
  margin-left: 6px;
}
/*==============================================*/
/* END OF CSS CODE FOR FOR UNIVERSAL USE       */
/*==============================================*/

/*==============================================================================================================*/

/*==============================================*/
/* START OF CSS CODE FOR LONGIN AND SIGNUP PAGE */
/*==============================================*/

.ix-auth-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
}

.ix-auth-card{
  background:#d4d6f4;
  width:100%;
  max-width:400px;
  padding:30px 24px;
  border-radius:10px;
  text-align:center;
  box-shadow:0 4px 10px rgba(0,0,0,.1);
}

/* Logo */
.logo {
	width: 70px; /* Reduce size for smaller screens */
	border-radius: 10px;
	margin-right: 10px;
	/*width: 120px;  Adjust this value for desired size */
  height: auto; /* Keeps the aspect ratio */
  max-width: 100%; /* Ensures it scales responsively */
}

#banner{
	height:100px; 
	background-color:#3f48cc;
	color: white; 
	display: flex; /* Enable flexbox */
	align-items: center; /* Center items vertically */
	justify-content: space-between; /* Space out elements */
	width: 100%;
	top: 0;
	overflow: visible !important; /* Prevent overflowing content */
	z-index: 20 !important; /* Ensure banner stays on top*/
	/*position: fixed;*/
}

/* Adjust logo on small screens */
#banner img {
  width: 50px; /* Resize for smaller screens */
  max-width: 100%;
  height: auto;
}

/* Flex container for banner */
.banner-content {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  width: 95%;
  position: relative;
}

	/* Left side (Logo + Text) */
.banner-left {
  display: flex;
  align-items: center;
  flex-grow: 1; /* Takes up remaining space */
}

/* Right side (Sign-up Button) */
.banner-right {
  display: flex;
  justify-content: flex-end; /* Pushes button to the right */
  min-width: 150px; /* Prevents button from shrinking */
}

/* Standardized Banner Title */
.banner-title {
  display: flex;
  flex-direction: column;
}

/* Site Name */
.site-name {
  font-size: 40px;
  font-weight: bold;
  color: white;
}

/* Tagline */
.tagline {
	font-family: Arial Narrow;
	font-style: italic;
	color: white;
	font-size: 14px;
}

.ix-auth-page .auth-center{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:20px;
}

/*For the Treadmark TM on header*/
.sup-tm {
	font-size: 14px;
	position: relative;
	top: -1.3em;
	font-weight: normal;
	color: inherit;
	margin-left: 2px;
}

/*For the Treadmark TM on footer*/
.sup-tm-footer {
	font-size: 10px;
	/*position: relative;*/
	top: -.5em;
	font-weight: normal;
	color: inherit;
}

/* Sign-up Button */
.signup-button{
	font-family: Arial, sans-serif;
	background-color:#f37a09;
	width: 70px;
	text-align: center;
	padding: 8px 12px; /* Increased padding */
	border-radius: 4px;
	color: white !important;
	cursor: pointer;
	border: none;
	font-weight: bold;
	border-radius: 5px;
	font-size: 16px !important;
	text-decoration: none;   
	white-space: nowrap; /* Prevents text wrapping */
	z-index: 21 !important; /* Ensure banner stays on top*/
}

#submit{
  height: 40px;
  /*width: 300px;*/
  width: 70%;
  border-radius: 4px;
  border: solid 1px #ccc;
  padding: 12px;
  font-size: 16px;/* Larger for easier tapping */
  font-weight: lighter;
  border: none;
  background-color: #3f48cc;
  color: white;
  cursor: pointer;
}

.login-input {
    width: 300px;
    height: 46px;
    border-radius: 4px;
    border: solid 1px #ccc;
    padding: 4px 12px;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.login-password-wrapper {
    position: relative;
    width: 300px; /* match your email input */
    margin: 0 auto 12px auto;
}

.login-password-wrapper input {
    width: 100% !important;
    height: 46px !important;
    border-radius: 4px;
    border: solid 1px #ccc;
    padding: 4px 42px 4px 12px !important;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #777;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.toggle-password:hover .eye-icon {
    stroke: #3f48cc;
    transform: scale(1.08);
}

.eye-closed {
    display: none;
}

.toggle-password.is-visible .eye-open {
    display: none;
}

.toggle-password.is-visible .eye-closed {
    display: block;
}

.reset-password-wrapper {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.reset-password-wrapper input {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: solid 1px #ccc;
    padding: 4px 42px 4px 4px;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #777;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.toggle-password:hover .eye-icon {
    stroke: #3f48cc;
    transform: scale(1.08);
}

.eye-closed {
    display: none;
}

.toggle-password.is-visible .eye-open {
    display: none;
}

.toggle-password.is-visible .eye-closed {
    display: block;
}
/*============================================*/
/* END OF CSS CODE FOR LONGIN AND SIGNUP PAGE */
/*=============================================*/

/*==============================================================================================================*/

/*====================================*/
/* START OF CSS CODE FOR PROFILE PAGE */
/*====================================*/

/* ==========🔹 LAYOUT CONTAINERS============================*/
/*        (page width, main frame, columns)                  */

.ix-menu-container{
  margin: 10px auto;
  width: 900px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ==========🔹 PROFILE PAGE================================*/   
/*     (profile, cover, avatar, follow, menu)               */
.ix-page-shell{
  padding-top: var(--ix-header-height);
  min-height: calc(100vh - var(--ix-header-height));
  box-sizing: border-box;
}


.ix-profile{
  width: 900px;
 	/*margin: 50px auto 0 auto; / top | right | bottom | left */
 	margin: 0 auto;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  /*flex: 1;*/
  flex: 1 1 auto;                 /* ✅ take remaining height */
  display: flex;                  /* optional but recommended */
  flex-direction: column;
  min-height: calc(100vh - var(--ix-header-height));
}

.ix-profile-header{
  text-align: center;
  color: #405d9b;
  padding-bottom: 20px;
}



.ix-profile-subframe {
  margin-top: 20px;
}


.ix-profile-cover{
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.ix-profile-avatar-wrap{
  position: relative;
  top: -50px;
  display: inline-block;
}

.ix-modal-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.ix-modal{
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 28px 28px 26px;
  border-radius: 16px;                 /* softer */
  color: #405d9b;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); /* modern depth */
  text-align: center;
  animation: modalFadeIn .18s ease;
}

.ix-modal img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

/* File input (modernized) */
.ix-modal input[type="file"]{
  width: 100%;
  font-size: 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #dbe1f5;
  background: #f9faff;
  margin-bottom: 18px;
  cursor: pointer;
}

/* Reuse your existing button style */
.ix-modal .ix-btn{
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  border-radius: 10px;
}

/* Subtle entrance */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Profile image preview */
.ix-modal-avatar{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
  border: 3px solid #e6ebff;
  background: #f4f6fb;
}

.ix-modal-cover-img{
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid #e6ebff;
  background: #f4f6fb;
}

#profile_pic{
  border-radius: 50%;
  border: 4px solid white;
  background: #fff;
}

.ix-avatar {
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.ix-avatar--profile {
  width: 180px;
  height: 180px;
  margin-top: -75px;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1;
}

.ix-avatar--modal {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
}

.ix-profile-meta-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  color: #405d9b;
}

.ix-file-upload-wrap{
    width: 100%;
    margin: 14px 0 12px 0;
    text-align: center;
}

.ix-file-input{
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.ix-file-label{
    display: inline-block;
    padding: 10px 18px;
    background: #3f48cc;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.ix-file-label:hover{
    background: #343db7;
}

.ix-file-name{
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    word-break: break-word;
}

/* =========🔹 POSTS & FEED Subframe================================= */
.ix-profile-subframe-layout {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-grow: 1;
}

/* Left column */
.ix-profile-sidebar {
    flex: 1;
    min-height: 100vh;
    border: 1px solid #F0F0F0;
    margin-left: 0px;
    padding: 0 5px; /* gives equal breathing room left/right */
  	box-sizing: border-box;
}

.ix-profile-sidebar-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #405d9b;
    margin: 10px 0 10px 10px;
}

/* Main column */
.ix-profile-main {
    flex: 2.5;
    min-height: 400px;
    border: 1px solid #F0F0F0;
    padding: 10px;
}

/* Composer */
.ix-profile-composer {
    border: 1px solid #F0F0F0;
    padding: 10px;
    background-color: #d4d6f4;
    min-height: 85px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Feed */
.ix-profile-feed {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ix-profile-composer-box {
    border: 1px solid #F0F0F0;
    background-color: #d4d6f4;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ix-profile-composer-box {
    border: 1px solid #F0F0F0;
    background-color: #d4d6f4;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#post_textbox {
  width: 100%;
  resize: vertical;
  min-height: 70px;
  padding: 8px 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#link_preview {
 margin-top: 8px;
 margin-bottom: 8px;
}

.ix-profile-composer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

#media_preview {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
}

.ix-post .media-wrapper {
  max-width: 100%;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* make sure contents align inside */
}


.ix-post .media-wrapper img {
  max-width: 100%;
  max-height: 520px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  object-fit: cover; /* ensures videos don't overflow container */
}

.ix-post .media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.ix-post {
  background-color: white;
  border: 1px solid #e9e9e9;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow */
  padding: 15px; /* Increased padding */
  margin-bottom: 20px; /* Space between posts */
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.3s ease; /* Smooth transition */
}

.ix-post:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover*/
}

/* Container for profile image */
.ix-post .post-image-container {
    flex: 0 0 75px; /* Fixed width for the image container */
    margin-right: 10px; /* Reduced margin for closer alignment */
}

.ix-post img { /* Profile image in post box */
  border-radius: 50%;
  border: 2px solid #3f48cc;
  /* border-radius: 8px; */ /* Rounded corners for images (not used here) */
  width: 75px;
  height: 75px;
  margin-right: 5px; /* Space between image and text */
}

.ix-post .post-avatar{
  width:75px;
  height:75px;
  margin-right:5px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #3f48cc;
  display:block;
}

/* Container for text content */
.ix-post .post-content-container {
    flex: 1; /* The text container takes the remaining space */
    flex-direction: column; /*Stack children vertically */
    align-items: flex-start;
    padding: 0; /* Removed padding from the content div */
    flex-wrap: wrap;
}

.ix-post .post-header {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between; /* Space between user name and edit/delete options */
    margin-bottom: 0px; /* Space below header */
}

.ix-post .post-header a {
 color: #3f48cc;
 font-weight: bold;
 font-size: 1.1em; /* Standard font size */
 text-decoration: none; /* Remove underline */
 transition: color 0.3s ease; /* Smooth transition #3f48cc */
}

.ix-post .post-header a:hover {
 color: #2c3b91; /* Darker color on hover */
}

.ix-post::after {
  content: "";
  display: table;
  clear: both;
}

.post-header div {
 white-space: nowrap; /* Prevent text wrapping */
 align-items: flex-start;
}

.ix-post .post-content {
 background-color: #f9f9fb;
 padding: 12px;
 border-radius: 6px;
 margin-top: 10px;
 font-size: 15px;
 line-height: 1.6;
}

.ix-post .post-meta-tag{
 color:#aaa;
 font-size:13px;
 margin-left:6px;
}

.ix-post .post-media{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
  display:block;
}

.ix-post .post-content img { /*Images posted in the comments*/
  width: 100%;
  height: 100%;
  border-radius: 8px; /* Rounded corners for post images */
  margin-top: 3px; /* Space above image */
}

.ix-post .post-actions {
  margin-top: 10px; /* Space above actions */
  font-size: 12px; /* Smaller font for actions */
  color: #777; /* Lighter text color */
}

.ix-post .post-actions a {
  color: #3f48cc;
  text-decoration: none;
  margin-right: 15px; /* Space between action links */
  transition: color 0.3s ease; /* Smooth transition */
}

.ix-post .post-actions a:hover {
  color: #2c3b91; /* Darker color on hover */
}

.ix-btn--push-right {
    margin-left: auto;
}

.ix-post .post-likedby {
  font-size: 11px; /* Smaller font for actions */
  color: #696969; /* Lighter text color */
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 3px; /* Optional: Space above the date */
}

.ix-post .post-date {
  font-size: 11px;
  color: #999; /* Light color for date */
  display: block;
  width: 100%;
  clear: both; /* Ensure it doesn't float next to the previous div */
  margin-top: 3px; /* Optional: Space above the date */
}

.ix-post .edit-delete {
  color: #999;
  text-align: right;
}

.ix-post .edit-delete a {
  font-size: 11px;
  color: #3f48cc;
  margin-left: 1px; /* Space between edit/delete links */
  transition: color 0.3s ease;
}

.ix-post .edit-delete a:hover {
  color: #2c3b91; /* Darker color on hover */
}

.post-missing{ color:#d9534f; font-weight:600; }

.ix-edit-media-preview img,
.ix-edit-media-preview video{
  max-width: 100%;
  border-radius: 6px;
}

/* ----------------Edit Post Composer------------------ */

.ix-composer--edit {
  background: #eef0ff;
  border: 1px solid #d4d6f4;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.ix-composer--edit .post-textbox {
  width: 100%;
  resize: vertical;
  min-height: 70px;
}

/*.ix-composer-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #3f48cc;
}*/

/* Button row 
.ix-profile-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}*/

/* ----------------Delete Post------------------ */

.delete-container-action {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.message-preview {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 14px;
}

.view-more {
  display: none;
}

.btn {
  padding: 8px 15px;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.btn-danger {
  background: #d9534f;
  color: white;
}

.view-more-btn {
  background: none;
  border: none;
  color: #405d9b;
  cursor: pointer;
  font-size: 12px;
}

/* ------------Delete post preview (Card only)-------------*/
.ix-delete-post-preview {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  margin-bottom: 15px;
}

.ix-delete-post-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border:2px solid #3f48cc;
}

.ix-delete-post-body {
  flex: 1;
}

.ix-delete-post-author {
  font-weight: 600;
  color: #405d9b;
  margin-bottom: 4px;
}

.ix-delete-post-meta {
  font-weight: normal;
  color: #999;
  margin-left: 6px;
  font-size: 13px;
}

.ix-delete-post-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.ix-delete-post-media img,
.ix-delete-post-media video {
  max-width: 100%;
  border-radius: 6px;
}


/* -------🎯  LINK PREVIEW COMPONENT -------------------- */
.link-preview{
  display:flex;
  gap:12px;
  border:1px solid #ABABAB;
  border-left:4px solid #3f48cc;
  background:#f0f0f0;
  padding:10px;
  border-radius:6px;
  margin-top:10px;
  align-items: flex-start;
  box-sizing: border-box;
  max-width: 100%;
}

.link-preview img{
    /*flex: 0 0 120px;    120-px thumb 
    height: 120px;
    object-fit:cover;
    border-radius:4px;*/
    width: 120px;        /* adjust: 90–140 looks good */
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
  display: block;
}

.link-preview__img{
  width:50px;
  height:50px;
  object-fit:cover;
  border-radius:4px;
  flex:0 0 50px;
  display: block;
  max-width: 80px !important;
}

.link-preview > div{       /* the text block */
    flex:1;
    min-width:0;         /* allow wrapping instead of overflow */
    font-size:14px;
    line-height:1.4;
}

/* Keep long URLs from wrecking layout */
.link-preview a{
  display:inline-block;    /* stays inside the flex column   */
  max-width:100%;          /* never exceed the preview width */
  white-space:normal;      /* ⬅️ allow wrapping               */
  overflow-wrap:anywhere;  /* break inside long strings      */
  word-break:break-word;   /* fallback for older browsers    */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional: tighten title/description spacing a bit */
.link-preview strong{ display:block; margin-bottom: 4px; }
.link-preview small{ display:block; color:#444; line-height: 1.25; }

/* =======Reply / Comment Component========= */

.ix-reply {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #eef5ff;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ix-reply-avatar img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.ix-reply-body {
  flex: 1;
}

.ix-reply-header {
  font-weight: 600;
  color: #405d9b;
  font-size: 14px;
}

.ix-reply-header a {
  color: inherit;
  text-decoration: none;
}

.ix-reply-meta {
  font-weight: normal;
  color: #999;
  margin-left: 6px;
  font-size: 12px;
}

.ix-reply-content {
  font-size: 14px;
  margin: 6px 0;
}

.ix-reply-media img,
.ix-reply-media video {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 8px;
}

.ix-reply-footer {
  font-size: 12px;
 }

.ix-reply-actions a {
  margin-right: 10px;
}

.ix-reply-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.ix-reply-date {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

.ix-reply-edit {
  color: #405d9b;
  text-decoration: none;
}

.ix-reply-edit a {
  text-decoration: none;
}

.ix-reply-edit a:hover {
  text-decoration: underline;
}

.ix-reply-likes {
  margin-top: 6px;
  font-size: 11px;
  /*color: #777;*/
}

.ix-comments-header {
  margin-bottom: 10px;
}

/* ===== Likes Grid ===== */
.ix-likes-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Card look */
.ix-likes-list .user-ad {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ix-likes-list .user-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.user-ad {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-ad img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.user-ad .user-info {
  font-size: 14px;
}

/* =======📄  POST-CARD BASE (desktop ≥ 769 px)=========*/
#post{
    display:flex;
    gap:14px;
    padding:18px 16px;
    border-bottom:1px solid #e8e8e8;
    font-family:Arial,Helvetica,sans-serif;
    font-size:15px;
    line-height:1.4;
    color:#333;
    box-sizing:border-box;
}

.post-image-container img{
    width:75px;        /* override the inline width */
    height:75px;
    object-fit:cover;
    border-radius:50%;
}

.post-content-container{
    flex:1;
    overflow:hidden;   /* keeps long words from pushing layout */
}

.post-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:4px;
    font-weight:600;
}

.post-header a{ color:#3f48cc; text-decoration:none; }
.post-header a:hover{ text-decoration:underline; }

.edit-delete{
    font-size:12px;
    white-space:nowrap;
}

.edit-delete a{ color:#999; }
.edit-delete a:hover{ color:#3f48cc; }

.post-content{ margin-top:2px; }

.media-wrapper{
    margin-top:10px;
    border-radius:6px;
    overflow:hidden;
}

.media-wrapper img,
.media-wrapper video{
    width:100%;
    height:auto;
    display:block;
}

.post-actions{
    display:flex;
    gap:18px;
    margin-top:10px;
    font-size:14px;
}

.post-actions a{ color:#3f48cc; text-decoration:none; cursor:pointer; }
.post-actions a:hover{ text-decoration:underline; }

.post-likedby{
    margin-top:6px;
    font-size:13px;
    color:#696969;
}

.post-date{
    margin-top:4px;
    font-size:12px;
    color:#999;
}

/* =========🔹 CONNECTIONS AND FOLLOWERS=====================*/

.ix-connection-card {
  display: flex;
  align-items: center;
  width: 220px;             
  max-width: 220px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  margin-left: 2px;
  margin-right: 2px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.ix-connection-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.ix-connection-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  flex-shrink: 0;
  max-width: 60px;
  max-height: 60px;
}

.ix-connection-meta {
  flex-grow: 1;
}

.ix-connection-name {
  font-size: 13px;
  font-weight: bold;
  color: #405d9b;
}

.ix-connection-bio {
  font-size: 10px;
  color: #405d9b;
}

.ix-connection-status {
  font-size: 10px;
  color: #999;
}


/* =========🔹 FORMS & BUTTONS===============================*/

.ix-menu-container{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 6px;
  padding: 6px 1px;
  background: #f4f6fb;
  border-radius: 12px;
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
  box-sizing: border-box; /*Use the box-sizing property to keep the desired width of the container, no matter the amount of padding*/
}

/* Navigation tab */
.ix-menu-btn{
	display: flex;
  text-align: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid #dbe1f5;
  border-radius: 12px;
  padding: 6px 33px;
  min-width: 0ch; 
  font-weight: 600;
  line-height: 1.1;
  color: #405d9b;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

/* Hover state */
.ix-menu-btn:hover{
  background-color: #f3f5ff;
  border-color: #3f48cc;
  color: #3f48cc;
}

/* Active / current tab (manual for now) */
.ix-menu-btn.is-active{
  background-color: #3f48cc;
  color: #ffffff;
  border-color: #3f48cc;
}

.ix-btn{
  font-family: Arial, sans-serif;
  background-color:#3f48cc;
  color:white;
  border:none;
  padding:7px 15px;
  border-radius:5px;
  font-size:14px;
  font-weight:bold;
  cursor:pointer;
  display:inline-block;
 }

.ix-btn:hover{
  background-color:#5a5bd6;
}

/* Variants */
.ix-btn--danger{
  background-color:#d9534f;
}
.ix-btn--danger:hover{
  background-color:#c9302c;
}

.ix-btn--secondary{
  background-color:#f37a09;
}
.ix-btn--secondary:hover{
  background-color:#dd6f07;
}

/* Buttons that are anchors must ignore link coloring */
a.ix-btn,
a.ix-btn:visited{
  color: #fff;
  text-decoration: none;
}
a.ix-btn:hover,
a.ix-btn:focus,
a.ix-btn:active{
  color: #fff;
  background-color:#5a5bd6; /* same as your .ix-btn:hover */
  text-decoration: none;
}

.ix-btn-gray{
  font-family: Arial, sans-serif;
  background-color:#cfcfcf;
  color:white;
  border:none;
  padding:7px 15px;
  border-radius:5px;
  font-size:14px;
  font-weight:bold;
  display:inline-block;
 }
/* =======🔹 LEGACY / DO NOT TOUCH (yet)====================*/


/*===================================*/
/* END OF CSS CODE FOR LONGIN PAGE */
/*===================================*/

/*==============================================================================================================*/

/*==========================================*/
/* START OF CSS CODE FOR THE COMMUNITY PAGE */
/*==========================================*/

/* Main frame wrapper (replaces the big inline width/box-shadow/padding div) */
.ix-page--community .ix-frame{
  max-width: 900px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  border-radius: 12px;
  box-sizing: border-box;
}

/* Community board container */
.ix-community {
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  padding: 10px;
}

/* Title */
.ix-community-title {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #405d9b;
  margin-bottom: 15px;
}

/* Composer card */
.ix-composer {
  border: 1px solid #F0F0F0;
  padding: 10px;
  min-height: 85px;
  background: #d4d6f4;
  box-shadow: 0 2px 5px rgba(0,0,0,.20);
  border-radius: 8px;
  overflow: visible;
}

/* Textarea */
.ix-composer textarea {
  width: 100%;
  margin-bottom: 10px;
  resize: vertical;
}

/* Link preview spacing */
.ix-link-preview {
  margin-bottom: 10px;
}

/* Media preview area */
.ix-media-preview {
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  display:flex;
  align-items:center;
  flex: 0 0 auto;
  min-width: 0;
}

/* Action row: Media | Preview | Post */
.ix-composer-actions{
  display:flex;
  align-items:center;
  gap:12px;
  /*overflow: visible;*/
  flex-wrap: nowrap;
}

/* Preview area must be allowed to grow */
#media_preview.ix-media-preview{
  /*flex: 1;*/
  flex: 1 1 auto;
  min-width: 0;         /* allow ellipsis instead of overflow */
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

/* One preview "chip" that contains thumb/text and X */
.ix-media-item{
  position: relative;
  display: inline-flex;     /* was flex / inline-block */
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #dbe1f5;
  border-radius: 10px;
  padding: 3px;
  max-width: 350px;      /* This expands the white pill container*/
  box-sizing: border-box;
}

/* Filename for PDF/other */
.ix-media-name{
  font-size: 14px;           /* bump to 15/16 if you want */
  color: #405d9b;
  flex: 1 1 auto;
  min-width: 0;          /* <- makes the “middle” bigger */
  max-width: 100%;          /* <- cap it so it doesn’t push Post */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* DOCS: if the chip contains a filename, let it grow 
.ix-media-item:has(.ix-media-name){
  width: clamp(260px, 55vw, 720px);    ✅ grows, but stays within the row 
  padding-right: 34px;               space so text doesn't sit under the X 
}*/

/* DOCS: let the pill expand into the available middle space */
.ix-media-item:has(.ix-media-name){
  flex: 1 1 auto;       /* ✅ THIS is what makes the pill grow */
  width: auto;          /* don’t use fit-content here */
  min-width: 0;
}

/* Thumbnail for images/video snapshots */
.ix-media-thumb{
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  display:block;
}

/* X button stays attached to the preview chip */
.ix-media-remove{
  position: absolute;
  top: -15px;
  right: -15px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3f48cc;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  line-height: 1;
  overflow: visible; 
}

/* Push Post button to the far right (works only inside flex row) */
#post_button{
  margin-left: auto;
}

/* Feed spacing */
.ix-post-space {
  margin-top: 10px;
}

#post_feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pagination row */
.ix-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 15px;
}

.ix-pagination-row .ix-page-label {
  font-size: 14px;
  color: #696969;
}

/* Optional: normalize prev/next buttons to match ix-btn */
.ix-page-nav-btn {
  font-size: 16px;
}

/*==========================================*/
/* END OF CSS CODE FOR THE COMMUNITY PAGE */
/*==========================================*/

/*==============================================================================================================*/

/*==============================================*/
/* START OF CSS CODE FOR MY ORGANIZATION PAGE   */
/*==============================================*/

/* ========My Organization – Hub=============*/
   
.org-hub {
  max-width: 900px;   /* controls hub width */
  margin: 0 auto;     /* centers horizontally */
  padding: 20px 10px;
  background: transparent;
  border: none;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title 
.org-hub-title{
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #405d9b;
  margin-bottom: 10px;
}*/


/* Admin action */
.org-admin-link {
    text-align: center;
    margin-bottom: 20px;
}

.org-admin-link a:hover {
    background-color: #343db7;
}

/* Org Readiness Indicators Summary */
.org-ready-indicators{
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  text-align: center;
}

/* -------------------------------------
   Accreditation Cycle Selector
-------------------------------------*/

.org-cycle-selector{
    margin: 25px 0 20px 0;
    padding: 16px 18px;
    background:#f8f9fc;
    border:1px solid #e2e6f0;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.org-cycle-selector label{
    font-weight:600;
    color:#333;
    font-size:14px;
}

.org-cycle-selector select{
    padding:8px 12px;
    font-size:14px;
    border:1px solid #cfd6e6;
    border-radius:6px;
    background:#ffffff;
    cursor:pointer;
    transition:all .15s ease;
}

.org-cycle-selector select:hover{
    border-color:#3f48cc;
}

.org-cycle-selector select:focus{
    outline:none;
    border-color:#3f48cc;
    box-shadow:0 0 0 2px rgba(63,72,204,.15);
}

.org-cycle-selector{
    box-shadow:0 2px 4px rgba(0,0,0,.04);
}

.ix-help-text{
    max-width:700px;
    margin:10px auto 20px auto;
    font-size:14px;
    color:#555;
}

.org-ready-indicators h2 {
    color:#3f48cc;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight:600;
}

.org-ready-indicators p {
    font-size: 16px;
    color: #333;
    margin: 6px 0;
}

/* Judgment Summary */
.org-judgment{
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  text-align: center;
}

.org-judgment h2 {
    color: #405d9b;
    margin-bottom: 15px;
    font-size: 20px;
}

.org-judgment p {
    font-size: 16px;
    color: #333;
    margin: 6px 0;
}

/* Placeholder text */
.org-hub-description{
  font-size: 15px;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}


/* CTA */
.org-hub-cta {
    text-align: center;
}

.org-hub-cta a{
  margin-top: 10px;
}

.org-settings{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:30px;
    margin-top:25px;
}

.org-settings-sidebar{
    border-right:1px solid #e4e4e4;
    padding-right:20px;
}

.org-settings-sidebar ul{
    list-style:none;
    padding:0;
}

.org-settings-sidebar li{
    margin-bottom:12px;
}

.org-settings-sidebar a{
    text-decoration:none;
    color:#444;
    font-weight:500;
}

.org-settings-content{
    padding-left:10px;
}

.ix-table{
    border-collapse:collapse;
    width:100%;
    margin-top:10px;
}

.ix-table th{
    text-align:left;
    padding:10px 12px;
    border-bottom:2px solid #e6e6e6;
}

.ix-table td{
    padding:10px 12px;
    border-bottom:1px solid #f0f0f0;
}

.ix-success-message{
    background:#e9f9ef;
    border:1px solid #b8e7c6;
    padding:12px 16px;
    margin-top:15px;
    border-radius:6px;
    color:#2c7a4b;
    font-weight:500;
}

.role-select{
    font-size:15px;
    font-weight:500;
}

.org-section-title{
    font-size:18px;
    color:#3f48cc;
    margin-top:20px;
    margin-bottom:10px;
    font-weight:600;
}

.active-org-tab{
    color:#3f48cc;
    font-weight:600;
    background:#f4f6ff;
    padding:6px 10px;
    border-radius:5px;
}

.org-settings-sidebar a:hover{
    background:#f1f2f8;
    padding:6px 10px;
    border-radius:5px;
}

.org-stats{
display:flex;
gap:40px;
margin:20px 0;
justify-content:center;
}

.org-stat{
background:#d7dbfc;
padding:15px 30px;
border-radius:10px;
min-width:120px;
text-align:center;
}

.org-stat-number{
font-size:26px;
font-weight:700;
color:#3f48cc;
display:block;
}

.org-stat-label{
font-size:13px;
color:#666;
}

.back-link{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  font-size:16px;
}

.back-link:hover {
  text-decoration: underline;
}

/* Modern table style */

.workspace-table {
  width: 100%;
  border-collapse: collapse;
}

.workspace-table th {
  text-align: left;
  font-size: 14px;
  color: #6b7280;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
}

.workspace-table td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.workspace-table tr:hover {
  background: rgba(63,72,204,0.06);
}

.org-tools{
  margin:30px auto;
  padding:20px;
  max-width:500px;
  text-align:center;
  background:#fff;
  border-radius:12px;
  border:1px solid #ddd;
}

/* Assignment Container */

.assignment-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assignment-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;

    background: #f9faff;
    border: 1px solid #e2e6ff;
    border-radius: 8px;
    padding: 10px;
}

.assignment-row select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    background: #fff;
    min-width: 160px;
}

.assignment-row select:focus {
    outline: none;
    border-color: #3f48cc;
}

.remove-assignment {
    background: #ff646a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.remove-assignment:hover {
    background: #e55358;
}

.add-assignment-btn {
    margin-top: 6px;
    padding: 4px 8px;
    font-size: 12px;
}

.workspace-table td[colspan="3"] {
    vertical-align: top;
}



/* --------------------------------
   Accreditation Reviews Table
-------------------------------- */

.review-ix-table{
width:100%;
border-collapse:collapse;
margin-top:10px;
}

.review-ix-table th{
text-align:left;
padding:10px;
background:#f4f6fb;
font-weight:600;
border-bottom:2px solid #e5e9f2;
}

.review-ix-table td{
padding:10px;
border-bottom:1px solid #eceff5;
}

.review-ix-table tr:hover{
background:#fafbff;
}

.review-lable {
  text-align: left;
  font-size: 14px;
  color: #6b7280;
  padding: 8px 10px;
}

/* --------------------------------
   Add Review Form
-------------------------------- */

.review-form{
margin-top:25px;
padding:18px;
background:#f9fafc;
border:1px solid #e5e9f2;
border-radius:8px;
max-width:420px;
}

.review-form label{
display:block;
font-weight:600;
margin-top:12px;
margin-bottom:4px;
}

.review-form select,
.review-form input{
width:100%;
padding:8px;
border:1px solid #d9dee8;
border-radius:6px;
background:white;
}

.review-form button{
margin-top:15px;
}

.review-section-title{
    font-size:18px;
    color:#3f48cc;
    margin-top:10px;
    margin-bottom:5px;
    font-weight:600;
}

/* --------------------------------
   Review Status Badges
-------------------------------- */
.review-status-container {
    margin: 80px auto 20px auto;  /* top right bottom left */
    width: 95%;
    max-width: 900px;
}

.review-std-header {
    font-size: 26px;
    font-weight: bold;
    color: #3f48cc;
}

.review-status{
padding:4px 10px;
border-radius:12px;
font-size:12px;
font-weight:600;
}

.status-in_progress{
background:#fff3cd;
color:#856404;
}

.status-completed{
background:#d4edda;
color:#155724;
}

.status-planned{
background:#e2e3ff;
color:#3d3da8;
}


.review-form{
margin-top:5px;
}

.review-row{
display:flex;
gap:20px;
align-items:flex-end;
flex-wrap:wrap;
}

.review-field{
display:flex;
flex-direction:column;
}

.review-field label{
font-weight:600;
margin-bottom:4px;
}

.review-field select,
.review-field input{
padding:8px 10px;
border:1px solid #d9dee8;
border-radius:6px;
min-width:220px;
}

.review-button{
justify-content:flex-end;
margin-top:8px;
margin-left: 10px;
display:flex;
align-items:flex-end;
}
/* --------------------------------
   ixAccred Card Container
-------------------------------- */

.review-ix-card{

background:#ffffff;
border:1px solid #e5e9f2;
border-radius:10px;

padding:20px;

margin-top:15px;
margin-bottom:20px;

box-shadow:0 2px 6px rgba(0,0,0,0.04);

}

/* --------------------------------
   Reviews Section Divider
-------------------------------- */
.review-divider{
margin:30px 0 20px 0;
border-top:1px solid #d4d5d6;
opacity:0.7;
}

/* --------------------------------
   Standards Page Header
-------------------------------- */

.std-header-row{
display:flex;
align-items:center;
justify-content:center;
position:relative;
margin-bottom:15px;
}

/*==============================================*/
/* END OF CSS CODE FOR MY ORGANIZATION PAGE   */
/*==============================================*/

/*==============================================================================================================*/

/*==============================================*/
/* START OF CSS CODE FOR THE MESSAGES PAGE      */
/*==============================================*/

/* ====Messages: Thread List Cards=========== */
.ix-thread-card{
  position: relative;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* Seen / Unseen */
.ix-thread-card--unseen{ background-color: #E6F2FF; }
.ix-thread-card--seen{ background-color: #E3E3E3; }

.ix-thread-row{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Avatar */
.ix-thread-avatar-wrap{
  flex: 0 0 auto;
}

.ix-thread-avatar{
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Content */
.ix-thread-body{
  width: 100%;
  min-width: 0;
}

.ix-thread-name{
  font-size: 13px;
  font-weight: bold;
  color: #405d9b;
}

.ix-thread-name-link{
  color: #405d9b;
  text-decoration: none;
}

.ix-thread-name-link:hover{
  text-decoration: underline;
}

.ix-thread-preview{
  text-align: left;
  font-size: 14px;
  margin-top: 5px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Small media thumb */
.ix-thread-media-thumb{
  width: 55px;
  height: 55px;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 4px;
}

/* Date */
.ix-thread-date{
  font-size: 10px;
  color: #999;
  margin-top: 10px;
}

/* Right “open thread” tab */
.ix-thread-open{
  position: absolute;
  right: 5px;
  top: 5px;
  height: calc(100% - 10px); /* fits inside padding */
  width: 50px;
  border-radius: 5px 30px 30px 5px;
  background-color: #405d9b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ix-thread-open-icon{
  width: 30px;
  height: 90px;
  fill: #E6F2FF;
}

/* Messages main panel */
.ix-messages-panel{
  border: 1px solid #e9e9e9;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
}

/* "Messaging with:" */
.ix-messages-heading{
  font-size: 14px;
  color: #405d9b;
  font-family: Arial, sans-serif;
  margin: 0 0 8px 0;
}

.ix-btn-danger{
  background: #fff;
  border-color: #e5b6b6;
  color: #9b2c2c;
}

/* Composer */
.ix-message-composer{ margin-top: 10px; }

.ix-message-textbox{
  width: 100%;
  margin: 0 0 10px 0;
  box-sizing: border-box;
}

/* Action row */
.ix-message-actions{
  display: flex;
  align-items: center;
  gap: 15px;
}

.ix-messages-actions{
  display: flex;
  justify-content: flex-end; /* pushes buttons to the right */
  gap: 10px;                 /* space between buttons */
  margin-bottom: 5px;           /* optional: little breathing room under heading */
}

/* Hide file input */
.ix-file-input{
  display: none;
}

/* Date separator */
.ix-date-separator{
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #666;
  margin: 10px 0;
  padding: 5px;
  background: #f1f1f1;
  border-radius: 5px;
}

/* =====Messages: bubbles (base)==== */
.ix-msg{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 60%;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.ix-msg--right{
  margin-left: auto;
  flex-direction: row-reverse;
  background: #E6F2FF;
  padding: 10px;
  border-radius: 15px 15px 2px 15px;
}

.ix-msg__avatar{
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
}

.ix-msg__avatar-img{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.ix-msg__body{
  width: 100%;
}

.ix-msg__name{
  font-weight: bold;
  color: #405d9b;
  text-align: right;
  font-size: 13px;
}

.ix-msg__name-link{
  text-decoration: none;
  color: inherit;
}

.ix-msg__text{
  text-align: left;
  font-size: 13px;
  font-family: Arial, sans-serif;
  padding: 8px;
}

/* Link preview */
.ix-msg__preview{
  border: 1px solid #ccc;
  padding: 10px;
  display: flex;
  gap: 10px;
  margin: 10px 8px 0 8px;
  background: #fff;
  border-radius: 8px;
}

.ix-msg__preview-img{
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.ix-msg__preview-body{
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.ix-msg__preview-title{
  font-weight: bold;
  margin-bottom: 5px;
}

.ix-msg__preview-desc{
  color: #555;
  margin-bottom: 5px;
}

.ix-msg__preview-link{
  color: #3f48cc;
  word-break: break-all;
  text-decoration: none;
}

/* Attachments */
.ix-msg__media{
  margin-top: 5px;
  text-align: left;
}

.ix-msg__media-img{
  max-width: 200px;
  border-radius: 10px;
}

.ix-msg__file-link{
  color: #3f48cc;
  text-decoration: none;
}

.ix-video-thumb{
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-top: 5px;
}

.ix-video-thumb__img{
  max-width: 200px;
  border-radius: 10px;
  display: block;
}

.ix-video-thumb__play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* Meta row */
.ix-msg__meta{
  color: #777;
  font-size: 10px;
  margin-top: 5px;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.ix-msg__meta-link{
  color: #3f48cc;
  text-decoration: none;
}

.ix-msg__delete{
  color: #3f48cc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ix-msg__delete-ico{
  fill: #3f48cc;
}

/* =====Left bubble — mirror of right======= */

.ix-msg--left{
  margin-right: auto;
  flex-direction: row; /* avatar on left */
  background: #e9e9e9;
  padding: 10px;
  border-radius: 15px 15px 15px 2px;
}

.ix-msg--left .ix-msg__avatar-img{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

/* Text alignment mirrors right bubble behavior */
.ix-msg--left .ix-msg__name{
  text-align: left;
}

.ix-msg--left .ix-msg__text{
  text-align: left;
}

.ix-msg--left .ix-msg__attachment{
  text-align: left;
}

.ix-msg--left .ix-msg__meta{
  align-items: flex-start;
  text-align: left;
  margin-left: 8px;
}

#message_left {
  display: flex !important;
  align-items: flex-start !important;
  background-color: #e9e9e9  !important; /* Light blue (receiver bubble) */
  padding: 10px !important;
  border-radius: 15px 15px 15px 5px !important;
  margin-bottom: 8px !important;
  max-width: 60% !important; /* Limit width */
  word-wrap: break-word !important; /* Prevent long messages from overflowing */
}

#message_right {
  display: flex !important;           /* Use flexbox for proper alignment */
  flex-direction: row-reverse !important;  /* Makes sure the profile image is on the correct side */
  align-items: flex-start !important;  /* Aligns the message properly */
  background-color: #E6F2FF !important;  /* A softer green chat bubble */
  padding: 10px !important; 
  border-radius: 15px 15px 5px 15px !important; 
  margin-bottom: 8px !important; 
  max-width: 60% !important;   /* Prevents messages from being too wide */
  word-wrap: break-word !important;  /* Prevents long messages from breaking layout */
}
/*==============================================*/
/* END OF CSS CODE FOR THE MESSAGES PAGE        */
/*==============================================*/

/*==============================================================================================================*/

/*==============================================*/
/* START OF CSS CODE FOR NOTIFICATIONS PAGE     */
/*==============================================*/
/* Container for notifications */
.notification-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 820px;
}

 /*Individual Notification Item */
.notification-item {
    background-color: #f9f9f9;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-item img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-right: 12px;
}

.notification-item .text {
    flex: 1;
    font-size: 14px;
    color: #405d9b;
}

/* Notifications board container */
.ix-notifications-frame {
  border: 1px solid #e9e9e9;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
}

/*==============================================*/
/* END OF CSS CODE FOR NOTIFICATIONS PAGE       */
/*==============================================*/	

/*==============================================================================================================*/

/*====================================================*/
/* START OF CSS CODE FOR FOLLOWERS AND FOLLOWING PAGE */
/*====================================================*/

/* ========Followers / Following (shared)======== */
.ix-follow-frame{
  min-height: 400px;
  flex: 2.5;
  border: 1px solid #e9e9e9;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.ix-follow-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #405d9b;
  font-family: Arial, sans-serif;
}

.ix-follow-card{
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ix-follow-card:hover{
  transform: translateY(-1px);
  box-shadow: 0px 4px 10px rgba(0,0,0,0.10);
}

.ix-follow-link{
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.ix-follow-avatar{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  flex: 0 0 auto;
}

.ix-follow-meta{
  flex: 1 1 auto;
  min-width: 0;
}

.ix-follow-name{
  font-size: 13px;
  font-weight: bold;
  color: #3f48cc;
  margin-bottom: 3px;
}

.ix-follow-bio{
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ix-follow-status{
  font-size: 11px;
  color: #888;
}

.ix-follow-online{
  color: #63D441;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ix-follow-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63D441;
  display: inline-block;
}

.ix-follow-empty{
  font-family: Arial, sans-serif;
  color: #999;
  text-align: center;
  margin: 10px 0 0 0;
}

/* Followers / Following title + count */
.ix-follow-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e6f2ff;
  color: #3f48cc;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #d7e7ff;
  position: relative;
  top: -3px;   /* try -1px or -2px */
}
/*=======================================================*/
/*    END OF CSS CODE FOR FOLLOWERS AND FOLLOWING PAGE   */
/*=======================================================*/

/*==============================================================================================================*/

/*=======================================================*/
/*        START OF CSS CODE FOR THE SETTINGS PAGE        */
/*=======================================================*/
.input-wrapper {
  position: relative;
  width: 300px;
  margin: 0 auto 15px auto;
  z-index: 1;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: solid 1px #ccc;
  padding: 4px 30px 4px 4px;
  font-size: 14px;
  box-sizing: border-box;
  margin: 0;
}

.input-wrapper textarea {
  height: 120px;
  resize: none;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  font-weight: bold;
  background-color: #eee;
  color: #555;
  border-radius: 50%;
  user-select: none;
  z-index: 2;
}

.info-wrapper {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: right;
  cursor: pointer;
  z-index: 2;
}

.info-wrapper:hover .tooltip-text,
.info-wrapper:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

input[readonly] {
  background-color: #f9f9f9;
  color: #555;
}

#save_button{
  margin: 0 auto; /* Center the button */
  background-color:#3f48cc;
  border: none;
  color:white;
  padding: 4px;
  font-size: 14px;
  border-radius: 2px;
  width: auto;
}

.saved-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 60px;
  background-color: rgba(40, 40, 40, 0.7);
  color: white;
  font-size: 18px;
  border-radius: 8px;
  text-align: center;
  display: none;
  z-index: 7;
}

.tooltip-text {
  visibility: hidden;
  width: 230px;
  background-color: #888;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 2px;
  position: absolute;
  z-index: 99 !important;
  top: -5px;
  right: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.ix-settings-frame{
  min-height: 400px;
  flex: 2.5;
  border: 1px solid #e9e9e9;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

/* Standard label used across forms (Settings, etc.) */
.ix-form-label{
  font-family: Arial, sans-serif;
  color: #333;
  font-size: 14px;
  text-align: right;
  line-height: 1.2;
}

/*=======================================================*/
/*          END OF CSS CODE FOR THE SETTINGS PAGE        */
/*=======================================================*/

/*==============================================================================================================*/

/*==============================================*/
/*       START OF CSS CODE FOR PHOTOS PAGE      */
/*==============================================*/
#load-more {
  background-color: #3f48cc !important;  /* Custom button color */
  color: white;               /* Text color */
  padding: 10px 20px;         /* Padding for the button */
  border: none;               /* No border */
  cursor: pointer;            /* Pointer cursor on hover */
  font-family: Arial, sans-serif;  /* Button font */
  font-size: 12px;            /* Adjust font size */
  border-radius: 5px;         /* Rounded corners */
  margin-top: 20px;           /* Space above the button */
}

#load-more:hover {
  background-color: #5a5bd6;  /* Slightly darker shade on hover */
}

.photos-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  align-items: start;
  /* IMPORTANT: this keeps the grid using the full column width */
  width: 100%;
}

.photos-grid img {
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; /* Make images clickable */
}

.photos-grid a{
  display: block;
  width: 100%;
  text-decoration: none;
}

.play-button{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 999px;
  padding: 10px 12px;
  pointer-events: none;
  z-index: 2 !important; /* Ensure it's on top of the image */
}

.photos-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;      /* makes everything square and aligned */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}

.photos-thumb:hover{
  transform: scale(1.05); /* Slight zoom */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Add subtle shadow */
}

.video-thumb{
  position: relative;
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0; /* prevents tiny baseline gaps */
}

.video-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Load more */
.photos-loadmore{
  margin-left: 10px;
}

/* End-of-photos message */
.photos-end-message{
  text-align: center;
  color: #405d9b;
  margin: 10px 0;
}
/*==============================================*/
/*       END OF CSS CODE FOR PHOTOS PAGE        */
/*==============================================*/

/*==============================================================================================================*/

/*==============================================*/
/*    START OF CSS CODE FOR FULL PHOTO PAGE     */
/*==============================================*/
/* Frame should never let content spill out */
.ix-full-photo-frame{
  border: 1px solid #e9e9e9;
  padding: 10px 0 24px 0;
  background: #f9f9f9;
  border-radius: 10px;
  /* ✅ prevents “bleeding” outside the card */
  overflow: hidden;
  /* ✅ ensures it uses the available column width */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Shared styling for media */
.full-photo,
.ix-full-photo-frame video{
  display: block;
  width: 100% !important;     /* ✅ overrides <video width="100%"> safely */
  max-width: 800px;
  height: auto;
  margin: 0 auto 18px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.ix-full-photo-topbar{
    text-align: center;
    margin-bottom: 1px;
}

.ix-full-photo-viewer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: #f8f8fb;*/
    /*border: 1px solid #ddd;
    border-radius: 12px;*/
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.ix-full-media{
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
  }

/*==============================================*/
/*     END OF CSS CODE FOR FULL PHOTO PAGE      */
/*==============================================*/

/*==============================================================================================================*/

/*==============================================*/
/*      START OF CSS CODE FOR GROUPS PAGE       */
/*==============================================*/
.ix-groups-frame{
  min-height: 400px;
  flex: 2.5;
  border: 1px solid #e9e9e9;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-sizing: border-box; /*Newly added*/
}

/* Inputs: use full width but cap nicely on desktop */
.ix-group-name,
.ix-group-type{
  height: 44px;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
  outline: none;
}

.ix-group-name:focus,
.ix-group-type:focus{
  border-color: #3f48cc;
  box-shadow: 0 0 0 3px rgba(63,72,204,0.15);
}

/* Placeholder-like behavior for the "Group Type" placeholder option */
.ix-group-type:invalid{
  color: #3f48cc;
}
.ix-group-type option{
  color: #111;
}

.ix-group-create-box{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Inner form layout */
.ix-group-form{
  width: 100%;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  padding: 18px;
  box-sizing: border-box;
}

/* Consistent vertical spacing without <br> */
.ix-form-field{
  margin: 0 0 14px 0;
}

.ix-form-actions{
  margin-top: 6px;
}

/* Buttons */
.ix-btn-primary{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

/* Error box (replaces inline style in PHP) */
.ix-form-error{
  text-align: center;
  font-size: 12px;
  color: #fff;
  background: #777;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 auto 14px auto;
  max-width: 980px;
  box-sizing: border-box;
}

.groups-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  box-sizing: border-box; /*Newly added*/
}

.group-card {
  display: flex;
  flex: 1 1 calc(33.333% - 15px);
  align-items: flex-start;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.group-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
  gap: 10px; /*Newly added*/
}

/* =Groups include card (ixAccred_group_include_page.php)
   Namespaced to avoid collisions= */
.ixg-card{
  display: flex;
  align-items: center;
  gap: 12px;
}

.ixg-link{
  text-decoration: none;
}

.ixg-cover{
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.ixg-meta{
  flex: 1;
  min-width: 0;
}

.ixg-title{
  font-weight: 700;
  font-size: 14px;
  font-family: Arial, sans-serif;
  color: #405d9b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ixg-subtitle{
  font-size: 12px;
  font-family: Arial, sans-serif;
  color: #3f48cc;
}
/*==============================================*/
/*      END OF CSS CODE FOR GROUPS PAGE       */
/*==============================================*/

/*==============================================================================================================*/

  #accred_agen{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		#ads_feed{
			background-color: white;
			min-height: 400px;
			margin-top: 5px; 
			color: #405d9b;
			padding: 8px;
			box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Added shadow */
			border-color:red;
			}


		#ad_1{
			width: 80px;
			float: left;			
			margin: 8px;
			}
			
		#ad_text{
			clear: both;
			font-size: 12px;
			font-weight: bold;
			color: #405d9b;
			}



		#corner_pic {
	        width: 53px; /* Adjusted size */
	        height: 54px;
	        border: solid 1px white;
	        display: flex; /* Enable flexbox */
	        align-items: center; /* Center items vertically */
	    	}


#close_button {
    background-color: #B8EDB3;
    padding: 10px 20px;
    color: black;
    font-size: 14px;
    border-radius: 4px;
    border-color: #3f48cc;
    cursor: pointer;
    margin-top: 20px;
    font-family: Arial;
    font-weight: bold;
	}

    	#delete_button {
			float: right;
			background-color:#3f48cc;
			border: none;
			color:white;
			padding: 4px;
			font-size: 14px;
			border-radius: 2px;
			width: 100px;
			}

		#email{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}


		#employer{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}


		#first_name{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		#fsc{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		#last_name{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		/* Input Fields - Bigger Tap Targets */
		.ix-profile input[type="text"]:not(#ix-search-box),
		.ix-profile input[type="password"] {
		    width: 100%; /* Full width */
		    padding: 12px; /* Bigger tap area */
		    font-size: 16px; /* Easier to read */
		    border: 1px solid #ccc;
		    border-radius: 5px;
		}


		#login_button{
				font-family: Arial, sans-serif;
				background-color:#f37a09;
				width: 70px;
				text-align: center;
				padding: 10px 20px; /* Increased padding */
				border-radius: 4px;
				float: left;
				color: white;
				cursor: pointer;
				border: none;
				font-weight: bold;
				width: auto;
	       	 	font-size: 16px !important;   
	       	 	}

		#menu_buttons 
			{
			color: #405d9b;
			width: auto; /* Let the buttons resize based on content */
			display: inline-block;
			text-align: center;
			margin:4px 12px;
			font-family: Arial Narrow, sans-serif;
			font-weight: bold;
			font-size: 16px;
			cursor: pointer;
	        padding: 5px 0px; /* Added padding */
	        flex: 1; /* This makes each button take equal space */
	        min-width: 120px; /* Ensures buttons don’t get too small */
	        white-space: nowrap; /* Prevent text wrapping */
	        /*border-radius: 5px; /* Rounded corners */
	        /*background-color: #f9f9f9; /* Light background */
	        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.09); /* Light shadow */
			}


		#menu_buttons:hover {
        	background-color: #E2E8FF; /* Hover effect */
        	color: #3f48cc; /* Change text color on hover */
        	border-radius: 5px; /* Rounded corners */
    		}

    	#middle_name{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		
       	#next_button{
			cursor: pointer;
			float: right;
			background-color:#3f48cc;
			border: none;
			color:white;
			padding: 10px 20px; /* Increased padding */
			font-family: Arial, sans-serif;
			/*font-weight: bold;*/
			border-radius: 5px;
			width: auto;
			}


		#next_button:hover {
        	background-color: #5a5bd6; /* Darker shade on hover */
        	}

		#cellphone{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

		#password{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}

       	#prev_button{
			cursor: pointer;
			/*float: ;*/
			background-color:#3f48cc;
			border: none;
			color:white;
			padding: 10px 20px; /* Increased padding */
			font-family: Arial, sans-serif;
			/*font-weight: bold;*/
			border-radius: 5px;
			width: auto;
			}


		#prev_button:hover {
        	background-color: #5a5bd6; /* Darker shade on hover */
        	}


		#post_space{
			margin-top: 20px;
			background-color: white;
			padding: 10px;
			/*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);  Added shadow */
			}

    	#post {
	        background-color: white;
	        border: 1px solid #e9e9e9;
	        border-radius: 8px; /* Rounded corners */
	        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow */
	        padding: 15px; /* Increased padding */
	        margin-bottom: 20px; /* Space between posts */
	        display: flex;
	        align-items: flex-start;
	        transition: box-shadow 0.3s ease; /* Smooth transition */
	   		 }

   		#post:hover {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover*/
    	}

		#repassword{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}


		#save_button{
			margin: 0 auto; /* Center the button */
			background-color:#3f48cc;
			border: none;
			color:white;
			padding: 4px;
			font-size: 14px;
			border-radius: 2px;
			width: auto;
			}

		#policy_box{
			background-color: #d4d6f4;
			width:90%; 
			height: 400px; 
			margin: auto; 
			margin-top: 30px;
			max-width: 400px; /* Prevents it from being too wide */
			padding: 20px;
			padding-top: 50px;
			text-align: center;
			border-radius: 8px;
			box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
			}

		#text{
			height: 40px;
			width: 300px;
			border-radius: 4px;
			border: solid 1px #ccc;
			padding: 4px;
			font-size: 14px;
			}


		#textarea{
			width: 100%;
			border: none;
		    font-family: Arial, sans-serif;
			font-size: 14px;
			padding: 10px; /* Added padding */
        	box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1); /* Inner shadow */
			}


		#text_box{
			width: 70%;
			height: 30px;
			border-radius: 5px;
			border: solid #e9e9e9;
			padding: 8px;
			font-size: 14px;
			box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1); /* Inner shadow */
			}

	    /* Ensure that link color remains the same for all states */
		a, a:visited, a:hover, a:active {
   			color: #405d9b; 
    		text-decoration: none; /* Remove underline*/
			}

		
		.circle-badge {
			background-color: red;
			color: white;
		    position: absolute;
			right: -11px;
			border-radius: 50%;
			font-size: 12px;
			font-weight: lighter;
			text-align: center; /* Center the text horizontally */
			line-height: 12px; /* Center the text vertically */
			transform: translateY(-50%); /* Center the circle vertically */
			font-family: Calibri, sans-serif;
			}

    	/* Accept Policy Button */
		.accept-policy-button{
			font-family: Arial, sans-serif;
			background-color:#f37a09;
			width: 30%;
			text-align: center;
			padding: 8px 12px; /* Increased padding */
			border-radius: 4px;
			float: center;
			color: white !important;
			cursor: pointer;
			border: none;
			font-weight: bold;
			border-radius: 5px;
	       	font-size: 16px !important;
	       	text-decoration: none;   
	       	}

		/*POSTS OF PHOTOS AND VIDEOS*/
		.custom-upload-container {
		    display: inline-flex;
		    align-items: center;
		    gap: 5px;
		    background-color: #3f48cc;
		    color: white;
		    padding: 7px 15px;
		    border-radius: 5px;
		    font-family: Arial, sans-serif;
		    font-size: 14px;
		    font-weight: bold;
		    cursor: pointer;
		    /*position: relative;*/
		    overflow: hidden;
		    transition: background-color 0.3s;
		}

		.custom-upload-container:hover {
		    background-color: #2e369e;
		}

		.custom-upload-container input[type="file"] {
		    position: absolute;
		    left: 0;
		    top: 0;
		    opacity: 0;
		    cursor: pointer;
		    width: 100%;
		    height: 100%;
		    z-index: 2;
		}

		.custom-upload-container svg {
		    width: 18px;
		    height: 18px;
		    fill: white;
		}

		/* DELETE BUTTON */
		.delete-button {
			font-family: Arial, sans-serif;
		    background-color: #d9534f;
		    color: white;
		    padding: 7px 15px;
		    border: none;
		    border-radius: 5px;
		    cursor: pointer;
		    font-size: 14px !important; 
		    font-weight: bold !important;
		    transition: background-color 0.3s ease;
		}

		.delete-button:hover {
		    background-color: #c9302c;
		}

		/* DELETE BOX */
		.delete-container {
		    background-color: #e9e9e9;
		    padding: 20px;
		    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
		    border-radius: 8px;
		}

		/*ERROR MESSAGE STYLES FOR LOGIN PAGE*/ 
		.error-message-login {
      display: block;
      text-align: center;
		  font-size: 14px;
		  color: white;
		  background-color: #FF646A;
		  padding: 5px;
		  border-radius: 5px;
		  width: 90%;
		  max-width: 500px;
		  margin: 5px auto 5px;   /* ✅ centers it horizontally */
      box-sizing: border-box;
		}

		/*ERROR MESSAGE STYLES FOR ACCREDITATION PAGES*/ 
		.error-box {
		    background-color: #FF646A;
		    color: #fff;
		    border-radius: 6px;
		    padding: 12px 18px;
		    margin: 20px auto 15px auto;
		    font-size: 16px;
		    max-width: 600px;
		    text-align: center;
		    box-shadow: 0 2px 8px rgba(255,0,0,0.07);
		    font-family: Arial, sans-serif;
		    font-weight: bold;
		    letter-spacing: 0.03em;
		}

		/* FOLLOW BUTTON */
		.follow_button{
			font-family: Arial, sans-serif;
			color: white;
			cursor: pointer;
			float: right;
			background-color:#3f48cc;
			border: none;
			padding: 10px 20px; /* Increased padding */
			/*font-weight: bold;*/
			border-radius: 5px;
			width: auto;
	        font-size: 12px !important;   
	        padding: 7px 15px;
			}


		.follow_button:hover {
        	background-color: #5a5bd6; /* Darker shade on hover */
        	}
/*==============================================================================================================*/

/*==========================================*/
/*  START OF CSS CODE FOR MY ORGANIZATION   */
/*==========================================*/
.ix-organization-frame{
  min-height: 400px;
  flex: 2.5;
  border: 1px solid #e9e9e9;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-sizing: border-box; /*Newly added*/
}



/*==========================================*/
/* END OF CSS CODE FOR MY ORGANIZATION */
/*==========================================*/

/*==============================================================================================================*/


/*==========================================*/
/* START OF CSS CODE FOR TERMS AND POLICIES */
/*==========================================*/
		/*  */
		.footer {
		  display: flex;
		  justify-content: space-between;
		  align-items: center;
		  flex-wrap: wrap;
		  padding: 15px 20px;
		  font-size: 12px;
		  color: #777;
		  border-top: 1px solid #e0e0e0;
		  width: 100%;           /* ✅ Ensure it spans full width */
		  box-sizing: border-box; /* ✅ So padding doesn’t cause overflow */
		}

		.footer-left {
		  flex: 1;
		  text-align: right;
		  min-width: 200px;
		}

		.footer-center {
		  flex: 1;
		  text-align: center;
		  min-width: 200px;
		}

		.footer-right {
		  flex: 1;
		  text-align: right;
		  min-width: 200px;
		}

		.footer a {
		  margin: 0 5px;
		  color: #3f48cc;
		  text-decoration: none;
		}


		 /* Stack footer links vertically on mobile 
		.footer a:hover {
		    text-decoration: underline;
		    display: block;
        	margin-bottom: 5px;
		}*/
/*==========================================*/
/* END OF CSS CODE FOR TERMS AND POLICIES */
/*==========================================*/
.ix-search-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #3f48cc;
    margin: 18px 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}

.search-option {
		    font-size: 14px; /* Change to your desired font size */
		    font-family: Arial, sans-serif; /* Change to your desired font family */
		    padding: 10px;
		    text-align: left; /* Justify text to the left */
		    margin-left: 100px; /*Margin of text search results*/
		    margin-right: 100px; /*Margin of text search results*/
		    font-style: italic;
		    cursor: pointer;
			}


		.search-option:hover {
   			 background-color: #f1f1f1;
			}

		/* EDIT POST BUTTON-Legacy */
		.submit-edit-button {
			font-family: Arial, sans-serif;
		    background-color: #3f48cc;
		    color: white;
		    padding: 7px 15px;
		    border: none;
		    border-radius: 5px;
		    cursor: pointer;
		    font-size: 12px !important; 
		    transition: background-color 0.3s ease;
		}

.ix-search-meta {
  font-size: 13px;
  color: #666;
  margin: 5px 0 10px;
  font-family: Arial, sans-serif;
  padding: 8px 4px;
}

		.submit-edit-button:hover {
		    background-color: #5a5bd6;
		}


  	    /* Add spacing between icons */
    	.header-icon {
        	margin-left: 15px; /* Adjust the space as needed */
   			 }


		/*.menu-item {
	        font-size: 14px;
	        margin-left: 20px; / Space between items /
	        color: white; / Ensure text color is white /
	        white-space: nowrap; / Prevent text wrapping /
	    	}*/

		.main-post-button {
			padding: 6px 14px;
			background-color: #3f48cc;
			color: white;
			border: none;
			border-radius: 5px;
			cursor: pointer;
			transition: background-color 0.3s;
		}

		.main-post-button:hover {
			 background-color: #323da2;
		}

		.menu-buttons {
		    color: #405d9b;
		    text-align: center;
		    font-weight: bold;
		    font-size: 16px;
		    padding: 10px 15px;
		    margin: 0 10px;
		    border-radius: 5px;
		    background-color: #fff;
		    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
		    text-decoration: none;
		    transition: background-color 0.3s, color 0.3s;
		}

		.menu-buttons:hover {
		    background-color: #E2E8FF;
		    color: #3f48cc;
		}


		.confirmation-message {
		    font-size: 14px;
		    margin-bottom: 20px;
		}

		/* No Access */
		.no-access {
		    padding: 20px;
		    text-align: center;
		    color: #cc0000;
		    font-weight: bold;
		    font-size: 14px;
		    background-color: #ffe6e6; /* Light red background */
		    border-radius: 5px;
		    margin-top: 10px;
		}

		/* Style for "No comments yet" message */
		.no-comments {
		    color: #666; /* Dark gray */
		    background-color: #f2f2f2; /* Light gray background */
		    padding: 10px;
		    text-align: center;
		    border-radius: 5px;
		    font-style: italic;
		    font-size: 14px;
		    margin-top: 10px;
		}

		/* Container for notifications */
		.notification-container {
		    display: flex;
		    flex-direction: column;
		    gap: 10px;
		    padding: 10px;
		    width: 100%;
		    margin: auto;
		}

		/* Individual Notification Item */
		.notification-item {
		    background-color: #f9f9f9;
		    border: 1px solid #e9e9e9;
		    border-radius: 8px;
		    padding: 8px 12px;
		    font-size: 14px;
		    color: #333;
		    display: flex;
		    align-items: center;
		    justify-content: space-between;
		    width: 100%; /* Ensures consistent width */
		    max-width: 870px; /* Limits the width */
		    box-sizing: border-box; /* Ensures padding doesn't affect width */
		}

		.notification-item img {
		    width: 46px;
		    height: 46px;
		    border-radius: 50%;
		    margin-right: 12px;
		}

		.notification-item .text {
		    flex: 1;
		    font-size: 14px;
		    color: #405d9b;
		}

		/* Post Content */
		.post-content {
		    background-color: white;
		    padding: 20px;
		    border: 1px solid #e9e9e9;
		    border-radius: 8px;
		    margin-bottom: 20px;
		}


		.request-container {
		    min-height: 400px;
		    flex: 2.5;
		    border: 1px solid #e9e9e9;
		    border-radius: 8px;
		    padding: 20px;
		    background-color: #f9f9f9;
		    display: flex;
		    flex-direction: column;
		    gap: 15px;
		}

		.request-card {
		    display: flex;
		    align-items: center;
		    padding: 10px;
		    background-color: #ffffff;
		    border-radius: 8px;
		    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		    transition: transform 0.2s;
		}

		.request-card:hover {
		    transform: scale(1.02);
		}

		.no-requests {
		    text-align: center;
		    color: #666666;
		    font-size: 14px;
		    margin-top: 20px;
		}

/*///////////////////////////////////PHOTOS///////////////////////////////////*/

/* =========================================================
                 🔥 Policy Update Page Styles 🔥
   ======================================================= */
/* ===========================
   Policy Update (mobile-first)
   =========================== */

/* === Policy Accept page (mobile-first) === */
#policy_accept{
  max-width:640px;margin:50px auto;padding:25px 30px;text-align:left; background-color: #d4d6f4; border-radius: 8px;
}
#policy_accept h1{color:#3f48cc !important; text-align:center; margin:0 0 12px; line-height:1.75;}
#policy_accept p {color:#696969 !important; margin:0 0 16px; line-height:1.50;}
#policy_accept p a{color:#3f48cc; text-decoration:underline;}

.policy-consent{display:flex;align-items:flex-start;gap:10px;font:16px/1.6 Arial;color:#696969;margin:14px 0 18px;}
.policy-consent input[type=checkbox]{transform:scale(1.4);accent-color:#3f48cc;margin-top:2px;}

#terms_error,.ix-error-box{display:none;text-align:center;font-size:14px;color:#fff;background:#FF646A;padding:12px;margin:8px 0;border-radius:4px;}

.accept-policy-button{
  display:inline-block;padding:12px 18px;border:none;border-radius:6px;
  background:#f37a09;color:#fff;font-size:16px; cursor:pointer; display:block; margin:0 auto; 
}
.accept-policy-button:focus-visible{outline:3px solid #9aa2ff;outline-offset:2px;}

/* ===== POLICY UPDATE PAGE END ===== */
