.StudentDetailOffcanvas {
    width: 50% !important;
}

.StudentDetailOffcanvas .offcanvas-header {
    height: 0px;
    padding: 0px;
}

.StudentDetailOffcanvas .offcanvas-header .btn-close {
    position: absolute;
    left: -31px;
    filter: brightness(0) invert(1);
}

/* Base container */
.profile-header-container {
    width: 100%;
    /* Assuming it has a rounded corner container as shown */
    overflow: hidden;
    /* To contain the background */
    background-color: #fff;
    border: 1px solid #e0e0e0;
    /* A very subtle border for the whole card */
}

/* 1. Header Background & Top Bar */
.header-background {
    height: 120px;
    /* Adjust height based on pattern size */
    background-image: url("/assets/images/banner/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.profile-content-wrapper {
    padding: 0 24px 24px 24px;
    /* Padding for the content inside */
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align avatar with bottom of background */
    margin-top: -60px;
    /* Pull the avatar half-way up over the background */
    margin-bottom: 24px;
}

.avatar-section {
    display: flex;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    /* Rounded corners as in the image */
    object-fit: cover;
    border: 4px solid #fff;
    /* A white border to create separation */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

/* Completion Section */
.completion-section {
    width: 180px;
    /* Estimated width */
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.completion-label {
    font-size: 14px;
    color: #333;
}

.completion-value {
    font-weight: 700;
    color: #333;
}

.progress-bar-container {
    height: 6px;
    background-color: #e0e0e0;
    /* Track color */
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #0084ff;
    /* The main progress color */
    border-radius: 3px;
}


/* 2. Middle Bar (Name & Buttons) */
.middle-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to the top of name */
    margin-bottom: 24px;
}

.name-and-badges {
    display: flex;
    align-items: center;
}

.profile-name {
    font-size: 21px;
    font-weight: 600;
    margin-right: 10px;
    color: #1a1a1a;
    margin-bottom: 0px;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 14px;
    color: #000;
    border: 1px solid #d0d0d0;
    background-color: #fff;
}

.profile-badge .inner_icon {
    color: #2474be;
    margin-right: 5px;
}

.icon-placeholder {
    margin-right: 6px;
    font-size: 12px;
}

/* Specify colors for distinct badges if needed, e.g. blue for verified */
/*
.profile-badge.verified {
  color: #0084ff;
}
.profile-badge.active {
  color: #ff9800;
}
*/

/* Action Button */
.action-button-group {
    margin-left: 24px;
}

.full-details-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0084ff;
    /* Button primary color */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.full-details-button:hover {
    background-color: #006fd1;
    /* Hover color */
}

.icon-placeholder-large {
    font-size: 16px;
}


/* 3. Bottom Section (Bio Paragraph) */
.bottom-section {
    width: 100%;
}

.profile-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}



/* ----------------------------------------------------------- */

.profile_details_wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

/* Tab Bar Header */
.tab_navigation_header {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.tab_nav_list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 24px;
  padding-bottom: 8px;
  width: 100%;
}

.tab_nav_list::-webkit-scrollbar {
  display: none;
}

.tab_nav_item {
  flex-shrink: 0;
}

.tab_navigation_header .nav_link,
.tab_nav_link {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 8px 4px;
  border: none;
  background: transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab_navigation_header .nav_link.active,
.tab_nav_link.active {
  color: #0084ff !important;
  border-bottom-color: #0084ff !important;
  background: transparent !important;
}

.tab_scroll_next_btn {
  background-color: #5b6578;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 12px;
}

.tab_scroll_next_btn svg {
  width: 18px;
  height: 18px;
}
