﻿/* ===== MODULE: _modern-info.css ===== */
    /* ===== MODERN INFO SECTION (shared layout) ===== */

    .section-container.modern-info-container {
      margin-top: 30px;
    }

    #sectionInfo,
    #sectionD,
    #sectionE,
    #sectionChucDanh,
    #sectionMbaPro,
    #sectionManulifePro {
      width: 100%;
      box-sizing: border-box;
    }

    #sectionInfo .section-container,
    #sectionD .section-container,
    #sectionE .section-container,
    #sectionChucDanh .section-container,
    #sectionMbaPro .section-container,
    #sectionManulifePro .section-container {
      width: 100%;
      max-width: none;
      box-sizing: border-box;
      overflow-x: visible;
    }

    #sectionInfo .info-groups-container,
    #sectionD .info-groups-container,
    #sectionE .info-groups-container,
    #sectionChucDanh .info-groups-container,
    #sectionMbaPro .info-groups-container,
    #sectionManulifePro .info-groups-container {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 0 !important;
      max-width: 1200px;
      width: 100%;
      min-width: 0;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
      overflow: visible;
    }

    #sectionInfo .info-group,
    #sectionD .info-group,
    #sectionE .info-group,
    #sectionChucDanh .info-group,
    #sectionMbaPro .info-group,
    #sectionManulifePro .info-group {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      position: relative;
      z-index: var(--z-content);
      transition: all 0.3s ease;
    }

    #sectionInfo .info-group.collapsed .group-print-btn,
    #sectionD .info-group.collapsed .group-print-btn,
    #sectionE .info-group.collapsed .group-print-btn,
    #sectionChucDanh .info-group.collapsed .group-print-btn,
    #sectionMbaPro .info-group.collapsed .group-print-btn,
    #sectionManulifePro .info-group.collapsed .group-print-btn {
      display: none !important;
    }

    @media (min-width: 1024px) {
      #sectionInfo .info-groups-container,
      #sectionD .info-groups-container,
      #sectionE .info-groups-container,
      #sectionChucDanh .info-groups-container,
      #sectionMbaPro .info-groups-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        padding: 0;
        grid-auto-flow: dense;
      }

      #sectionInfo .info-group,
      #sectionD .info-group,
      #sectionE .info-group {
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        grid-column: span 1 !important;
      }

      #sectionInfo .info-group:not(.collapsed),
      #sectionD .info-group:not(.collapsed),
      #sectionE .info-group:not(.collapsed) {
        grid-column: span 3 !important;
      }

      #sectionChucDanh .info-group,
      #sectionMbaPro .info-group {
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        grid-column: span 3 !important;
      }

      #sectionManulifePro .info-groups-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0;
      }

      #sectionManulifePro .info-group {
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        grid-column: span 2 !important;
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      #sectionInfo .info-groups-container,
      #sectionD .info-groups-container,
      #sectionE .info-groups-container,
      #sectionChucDanh .info-groups-container,
      #sectionMbaPro .info-groups-container,
      #sectionManulifePro .info-groups-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 25px;
        grid-auto-flow: dense;
      }

      #sectionInfo .info-group,
      #sectionD .info-group,
      #sectionE .info-group,
      #sectionChucDanh .info-group,
      #sectionMbaPro .info-group,
      #sectionManulifePro .info-group {
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        grid-column: span 2 !important;
      }

      #sectionInfo .info-group,
      #sectionD .info-group,
      #sectionE .info-group {
        grid-column: span 1 !important;
      }

      #sectionInfo .info-group:not(.collapsed),
      #sectionD .info-group:not(.collapsed),
      #sectionE .info-group:not(.collapsed) {
        grid-column: span 2 !important;
      }
    }

    @media (max-width: 767px) {
      #sectionInfo .info-groups-container,
      #sectionD .info-groups-container,
      #sectionE .info-groups-container,
      #sectionChucDanh .info-groups-container,
      #sectionMbaPro .info-groups-container,
      #sectionManulifePro .info-groups-container {
        padding: 0;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        grid-auto-flow: dense;
      }

      #sectionInfo .info-group,
      #sectionD .info-group,
      #sectionE .info-group,
      #sectionChucDanh .info-group,
      #sectionMbaPro .info-group,
      #sectionManulifePro .info-group {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        grid-column: span 1 !important;
      }

      #sectionChucDanh .info-group:not(.collapsed),
      #sectionMbaPro .info-group:not(.collapsed) {
        z-index: var(--z-content-elevated);
      }

      .section-container.modern-info-container {
        margin-top: 20px;
      }
    }

    @media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 11/10) and (min-width: 768px) and (max-width: 1023px) {
      #sectionInfo .info-groups-container,
      #sectionD .info-groups-container,
      #sectionE .info-groups-container,
      #sectionChucDanh .info-groups-container,
      #sectionMbaPro .info-groups-container,
      #sectionManulifePro .info-groups-container {
        gap: 12px !important;
        padding: 20px;
      }
    }
    
    
    .info-groups-container > *:empty {
      display: none;
    }
    
    
    .section-container .info-groups-container {
      padding-top: 0; 
    }
    
    
    /* margin-top 30px duoc khai bao duy nhat o block modern-info-container dau file */
    
    /* Layout cho sectionInfo - Accordion Style */
    #sectionInfo {
      width: 100%;
      box-sizing: border-box;
    }
    
    /* sectionInfo / sectionD / sectionE shared responsive da duoc gom o block chung phia tren */
    
    
    /* Accordion Style Design */
    .info-group {
      background: white;
      border: 1px solid #ddd;
      border-bottom: none;
      overflow: hidden;
      transition: all 0.3s ease, grid-column 0.3s ease;
      margin: 0;
    }
    
    .info-group:last-child {
      border-bottom: 1px solid #ddd;
    }
    
    .info-group-header {
      background: white;
      color: #333;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: background 0.2s ease;
      border-bottom: 1px solid transparent;
    }
    
    .info-group-header:hover {
      background: #f8f9fa;
    }
    
    .info-group.collapsed .info-group-header {
      border-bottom: none;
    }
    
    .info-group-icon {
      font-size: 22px;
      width: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #666;
    }
    
    .info-group-title {
      font-size: 14px;
      font-weight: 600;
      color: #333;
      flex: 1;
      letter-spacing: 0;
      text-transform: none;
    }
    
    .info-group-toggle {
      font-size: 18px;
      color: #666;
      transition: transform 0.2s ease;
      flex-shrink: 0;
    }
    
    .info-group.collapsed .info-group-toggle {
      transform: rotate(180deg);
    }
    
    .target-section-title {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.025em;
      text-transform: uppercase;
      color: #2c3e50;
      margin: 20px 0 15px 0;
      padding: 10px 15px;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border-left: 4px solid #007bff;
      border-radius: 4px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    
    .attendance-content {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .attendance-total {
      width: 100%;
    }
    
    
    .attendance-weeks-row:first-of-type {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    
    
    .attendance-weeks-row:last-of-type {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    
    .attendance-week {
      width: 100%;
    }
    
    @media (max-width: 767px) {
      .attendance-weeks-row:first-of-type,
      .attendance-weeks-row:last-of-type {
        grid-template-columns: 1fr;
      }
    }
    
    .info-group-content {
      padding: 12px 16px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      max-height: 2000px;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    /* Desktop: 3 items per row when expanded */
    @media (min-width: 1024px) {
      .info-group:not(.collapsed) .info-group-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
      }
    }
    
    /* Tablet: 2 items per row when expanded */
    @media (min-width: 768px) and (max-width: 1023px) {
      .info-group:not(.collapsed) .info-group-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }
    }
    
    .info-group.collapsed .info-group-content {
      max-height: 0;
      padding: 0 20px;
    }
    
    /* Portrait: info-group-content single-col with compact padding */
    @media (max-width: 767px) {
      .info-group-content {
        grid-template-columns: 1fr;
        padding: 16px;
      }
      
      .info-group.collapsed .info-group-content {
        padding: 0 16px;
      }
    }
    
    .info-item-modern {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 12px 16px;
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 4px;
      transition: all 0.15s ease;
    }
    
    .info-item-modern:hover {
      background: #e9ecef;
      border-color: #dee2e6;
    }
    
    .info-item-modern:last-child {
      border-bottom: none;
    }
    
    .info-label {
      color: #111827;
      font-size: 12px;
      font-weight: bold;
      line-height: 1.4;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    
    
    #sectionManulifePro .info-group-content.three-row-layout .info-label {
      min-height: calc(10px * 1.4 * 2); 
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    
    #sectionManulifePro .info-group-content.two-row-layout .info-label {
      min-height: calc(10px * 1.4 * 2); 
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .info-value {
      color: #0000FF;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.5;
      word-break: break-word;
      margin-top: 2px;
    }
    
    .info-note {
      color: #dc2626;
      font-size: 14px;
      font-weight: bold;
      line-height: 1.4;
      word-break: break-word;
      text-align: left;
    }
    
    
    .warning-section {
      background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
      border: 1px solid #fecaca;
      border-radius: 3.6px;
      padding: 20px;
      margin: 0 20px;
      display: flex;
      align-items: flex-start;
      gap: 15px;
      box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
      transition: margin-top 0.3s ease; 
    }
    
    
    body:not(.viewing-report) .warning-section {
      margin-top: 0; 
    }
    
    
    body.viewing-report .warning-section {
      margin-top: 0; 
    }
    
    .warning-icon {
      font-size: 24px;
      background: #dc2626;
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    
    .warning-content {
      flex: 1;
    }
    
    .warning-content.has-two-columns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    
    .warning-title {
      font-size: 16px;
      font-weight: 700;
      color: #dc2626;
      margin-bottom: 0px;
    }
    
    .warning-text {
      font-size: 14px;
      color: #dc2626;
      font-weight: 600;
      line-height: 1.5;
    }

    /* Tablet responsive */
    @media (min-width: 768px) and (max-width: 1023px) {
      
      body.logged-in .welcome-banner {
        display: block !important;
      }
      
      .agent-selection {
        top: calc(var(--header-h) + 50px + 50px + 50px + 30px - 20px - 60px);
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
      }
      
      
      body:not(.viewing-report) .agent-selection {
        top: calc(var(--header-h) + 50px + 50px + 30px - 16px - 20px - 60px);
      }
      
      
      .filter-results {
        top: calc(var(--header-h) + 35px + 60px + 30px + 20px + 30px + 80px - 30px - 5px - 20px - 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        bottom: calc(var(--footer-h) + 10px + 20px) !important;
      }
      
      .search-result {
        top: calc(var(--header-h) + 35px + 60px + 30px + 20px + 30px + 80px - 30px - 5px - 20px - 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        bottom: calc(var(--footer-h) + 10px + 20px) !important;
      }
      
      
      body.viewing-report .agent-selection {
        top: calc(var(--header-h) + 50px + 50px + 50px + 30px + 16px - 35px - 20px + 20px + 20px - 10px - 5px - 60px);
      }
      
      
      body.sidebar-open .agent-selection {
        left: var(--sidebar-width) !important;
        right: 0 !important;
        width: calc(100% - var(--sidebar-width)) !important;
        max-width: none !important;
      }
      
      body.sidebar-open .filter-results,
      body.sidebar-open .search-result {
        left: var(--sidebar-width) !important;
        right: 0 !important;
        width: calc(100% - var(--sidebar-width)) !important;
      }
      
      
      .manulife-pro-filters {
        position: fixed;
        top: calc(var(--header-h) + 35px + 60px + 30px + 20px + 30px);
        left: 0; 
        right: 0; 
        margin: 0; 
        background: #fff;
        border-radius: 2.4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: var(--z-mid);
        min-height: 540px; 
        padding: 35px 25px; 
        transition: all 0.3s ease; 
        width: 100%; /* Full width */
      }
      
      
      .manulife-pro-filters.has-hidden-filters {
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important; 
      }
      
      
      .manulife-pro-filters:not(.has-hidden-filters) {
        min-height: 540px !important;
        height: auto !important;
        padding: 35px 25px !important;
      }
      
      /* Tablet: Force reset container khi ci class reset-filters */
      .manulife-pro-filters.reset-filters {
        min-height: 540px !important;
        height: auto !important;
        padding: 35px 25px !important;
      }
      
      
      body:not(.sidebar-open) .manulife-pro-filters {
        left: 0;
        width: 100%;
      }
      
      
      body.sidebar-open .manulife-pro-filters {
        left: var(--sidebar-width);
        width: calc(100% - var(--sidebar-width));
      }
      
      
      .manulife-pro-filters .filter-buttons {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px 8px !important; 
        max-height: 550px !important; 
        overflow-y: auto !important; 
        padding-right: 5px !important; 
      }
      
      
      .filter-buttons::-webkit-scrollbar {
        width: 5px !important;
      }
      
      .filter-buttons::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 2px !important;
      }
      
      .filter-buttons::-webkit-scrollbar-thumb {
        background: #10b981 !important;
        border-radius: 2px !important;
      }
      
      .filter-buttons::-webkit-scrollbar-thumb:hover {
        background: #025b48 !important;
      }
      
      
      .target-container {
        top: calc(var(--header-h) + 35px + 60px + 30px + 20px + 30px + 80px - 30px - 5px - 20px + 15px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 20px !important;
        overflow-y: auto !important;
        bottom: calc(var(--footer-h) + 10px + 20px) !important;
      }
      
      body.sidebar-open .target-container {
        left: var(--sidebar-width) !important;
        right: 0 !important;
        width: calc(100% - var(--sidebar-width)) !important;
      }
      
      
      .filter-buttons.has-hidden-filters {
        gap: 0;
      }
    }

    /* Mobile responsive */
    @media (max-width: 767px) {
      .welcome-banner {
        font-size: clamp(8px, 3vw, 14px);
        padding: 6px 0; 
        margin: 0;
        box-shadow: none;
        display: block; 
      }
      
      
      body.logged-out .welcome-banner {
        display: none !important;
      }
      
      
      body.logged-in .welcome-banner {
        display: block !important;
      }
      
      .app-header {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
      }
      
      .mobile-update-date {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
        display: block; 
        top: calc(var(--header-h) + 15px + 6px + 4px); 
        font-size: 12px; 
      }
      
      #tocMobile {
        padding: 10px 15px;
        margin: 0;
        box-shadow: none;
        border: none;
        top: calc(var(--header-h) + 15px + 40px + 40px + 20px + 20px - 10px - 5px - 95px + 6px + 4px + 12px); 
      }
      
      .mobile-viewing-info {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
        top: calc(var(--header-h) + 15px + 40px + 15px + 20px + 20px - 10px - 5px + 10px); 
      }
      
      
      #contentWrap {
        margin-top: calc(var(--header-h) + 15px + 40px + 40px + 40px + 20px + 20px + 20px - 10px - 5px - 95px + 6px + 4px); 
      }
      
      
      body.logged-out #contentWrap {
        margin-top: var(--header-h); 
      }
      
      
      body.viewing-report #contentWrap {
        margin-top: calc(var(--header-h) + 15px + 40px + 40px + 40px + 20px + 20px + 20px - 10px - 5px - 95px + 6px + 4px); 
      }
      
      .agent-selection {
        min-width: 320px;
        position: fixed;
        top: calc(var(--header-h) + 34px + 40px + 50px - 15px - 20px + 20px + 20px - 10px - 5px - 60px); 
        left: 0;
        right: 0;
        margin: 0 8px;
        border-radius: 0;
        box-shadow: none;
      }
      
      .manulife-pro-filters {
        margin-top: 15px;
        border-radius: 0;
        box-shadow: none;
        min-height: 510px; 
        padding: 20px 10px; 
        transition: all 0.3s ease; 
        width: 100%; /* Full width */
        margin-left: 0; 
        margin-right: 0; 
      }
      
      
      .manulife-pro-filters.has-hidden-filters {
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important; 
      }
      
      
      .manulife-pro-filters:not(.has-hidden-filters) {
        min-height: 510px !important;
        height: auto !important;
        padding: 20px 10px !important;
      }
      
      /* Mobile: Force reset container khi ci class reset-filters */
      .manulife-pro-filters.reset-filters {
        min-height: 510px !important;
        height: auto !important;
        padding: 20px 10px !important;
      }
      
      .filter-buttons {
        grid-template-columns: repeat(4, 1fr); 
        gap: 12px 6px; 
        max-height: 550px; 
        overflow-y: auto; 
        padding-right: 5px; 
      }
      
      
      .filter-buttons.has-hidden-filters {
        gap: 0;
      }
      
      
      .target-container {
        top: calc(var(--header-h) + 34px + 40px + 50px + 120px + 30px - 15px - 20px + 20px + 20px - 10px - 5px - 10px - 20px + 15px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 20px !important;
        overflow-y: auto !important;
        bottom: calc(var(--footer-h) + 10px + 20px) !important;
      }
      
      body.sidebar-open .target-container {
        left: var(--sidebar-width) !important;
        right: 0 !important;
        width: calc(100% - var(--sidebar-width)) !important;
      }
      
      .filter-btn, .view-other-btn {
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.2;
        height: auto;
        width: 100% !important; /* Luin full width */
        min-width: 0;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      
      .view-other-btn {
        grid-column: 1 / -1; 
      }
      
      .filter-results {
        position: fixed;
        top: calc(var(--header-h) + 34px + 40px + 50px + 120px + 30px - 15px - 20px + 20px + 20px - 10px - 5px - 10px - 20px - 8px) !important;
        bottom: calc(var(--footer-h-mobile) + 10px + 20px);
        left: 0;
        right: 0;
        margin: 0 8px;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
      }
      
      .search-result {
        position: fixed;
        top: calc(var(--header-h) + 34px + 40px + 50px + 120px + 30px - 15px - 20px + 20px + 20px - 10px - 5px - 10px - 10px - 20px - 8px) !important;
        bottom: calc(var(--footer-h-mobile) + 10px + 20px);
        left: 0;
        right: 0;
        margin: 0 8px;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
      }
      
      
      body.sidebar-open .agent-selection,
      body.sidebar-open .search-result,
      body.sidebar-open .filter-results {
        left: var(--sidebar-width);
      }
      
      
      .section-container.modern-info-container {
        margin-top: 20px;
      }
      
      
      body.viewing-report .section-container.modern-info-container {
        margin-top: 40px; 
      }
      
      

      .section-container .info-groups-container {
        padding-top: 0; 
      }
      
      
      .welcome-banner {
        padding: 6px 0; 
        margin: 0;
        box-shadow: none;
        display: block; 
      }
      
      
      body.logged-out .welcome-banner {
        display: none !important;
      }
      
      
      body.logged-in .welcome-banner {
        display: block !important;
      }
      
      .app-header {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
      }
      
      .mobile-update-date {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
        display: block; 
        top: calc(var(--header-h) + 15px + 6px + 4px); 
        font-size: 12px; 
      }
      
      #tocMobile {
        padding: 10px 15px;
        margin: 0;
        box-shadow: none;
        border: none;
        top: calc(var(--header-h) + 15px + 40px + 40px + 20px + 20px - 10px - 5px - 95px + 6px + 4px + 12px); 
      }
      
      .mobile-viewing-info {
        padding: 6px 0;
        margin: 0;
        box-shadow: none;
        top: calc(var(--header-h) + 15px + 40px + 15px + 20px + 20px - 10px - 5px + 10px); 
      }
      
      
      #contentWrap {
        margin-top: calc(var(--header-h) + 15px + 40px + 40px + 40px + 20px + 20px + 20px - 10px - 5px - 95px + 6px + 4px); 
      }
      
      
      body.logged-out #contentWrap {
        margin-top: var(--header-h); 
      }
      
      
      body.viewing-report #contentWrap {
        margin-top: calc(var(--header-h) + 15px + 40px + 40px + 40px + 20px + 20px + 20px - 10px - 5px - 95px + 6px + 4px); 
      }
      
      /* Mobile search result buttons */
      .agent-result-btn {
        width: 100%;
        padding: 8px 12px;
      }
      
      .agent-result-name {
        font-size: 14px;
        line-height: 1.3;
        text-transform: uppercase;
      }
      
      .agent-result-details {
        font-size: 14px;
        line-height: 1.2;
      }
      
      .info-group {
        border-radius: 2.4px;
        margin-top: 0; 
      }
      
      .info-group-header {
        padding: 12px 15px;
      }
      
      .info-group-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
      }
      
      .info-group-title {
        font-size: 14.4px;
        text-transform: uppercase;
      }
      
      .info-group-content {
        padding: 12px;
      }
      
      .info-item-modern {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }
      
      .info-label {
        font-size: 16px;
        line-height: 1.2;
        text-align: left;
      }
      
      
      #sectionManulifePro .info-group-content.three-row-layout .info-label {
        font-size: clamp(10px, 2.5vw, 14px);
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
      }
      
      
      #sectionManulifePro .info-group-content.two-row-layout .info-label {
        font-size: clamp(10px, 2.5vw, 14px);
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
      }
      
      .info-value {
        font-size: 17px;
        font-weight: bold;
        color: #0000FF;
        text-align: left;
        width: 100%;
      }
      
      .info-note {
        font-size: clamp(12px, 2.8vw, 15px);
        line-height: 1.4;
        font-weight: bold;
        color: #dc2626;
        text-align: left;
        word-break: break-word;
      }
      
      /* Small mobile handled in top-level media blocks to avoid nested media conflicts */
      @media (max-width: 767px) {
        .info-label {
          font-size: 15px;
          text-align: left; /* Can trii cho label trin small mobile */
        }
        
        
        #sectionManulifePro .info-group-content.three-row-layout .info-label {
          font-size: clamp(9px, 2.2vw, 13px);
          line-height: 1.3;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          word-break: break-word;
        }
        
        
        #sectionManulifePro .info-group-content.two-row-layout .info-label {
          font-size: clamp(9px, 2.2vw, 13px);
          line-height: 1.3;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          word-break: break-word;
        }
        
        .info-value {
          font-size: 16px; 
          font-weight: bold; 
          color: #0000FF; /* Miu xanh duong */
          text-align: right; 
          width: 100%; 
        }
        
        .info-note {
          font-size: clamp(11px, 2.5vw, 14px);
          line-height: 1.4;
          font-weight: bold;
          color: #dc2626;
          text-align: left;
          word-break: break-word;
        }
      }
      
      .warning-section {
        margin: 0 15px;
        padding: 15px;
        border-radius: 2.4px;
        transition: margin-top 0.3s ease; 
      }
      
      
      body:not(.viewing-report) .warning-section {
        margin-top: 0; 
      }
      
      
      body.viewing-report .warning-section {
        margin-top: 0; 
      }
      
      .warning-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
      }
      
      .warning-title {
        font-size: 14px;
      }
      
      .warning-text {
        font-size: 13px;
      }
    }
      
      .selection-container {
        padding: 20px 20px 0px 20px;
        margin-top: 35px;
      }
      
      /* H2 removed - no longer needed */
      
      .search-wrapper {
        flex-direction: row;
        gap: 8px;
      }
      
      .agent-search-input {
        font-size: 14px;
        height: 40px;
      }
      
      .search-agent-btn {
        height: 40px;
        font-size: 10px; 
        min-width: 100px;
      }
      
      .view-my-report-btn {
        height: 40px;
        font-size: 10px;
        min-width: 100px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        padding: 4px 2px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .view-my-report-btn br {
        display: block;
        margin: 0;
        line-height: 1.2;
      }
      
      .search-result {
        margin-top: 15px;
        padding: 30px 15px 15px 15px;
      }
      
      .agent-name {
        font-size: 16px;
      }
      
      .agent-msdl {
        font-size: 13px;
      }
    
    /* ===== POPUP ANIMATIONS ===== */
    @keyframes popupSlideIn {
      0% {
        transform: translateY(-50px) scale(0.8);
        opacity: 0;
      }
      50% {
        transform: translateY(10px) scale(1.05);
        opacity: 0.8;
      }
      100% {
        transform: translateY(0) scale(1);
        opacity: 1;
      }
    }
    
    @keyframes popupPulse {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
      }
      50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0.1);
      }
    }
    
    .popup-animate {
      animation: popupSlideIn 0.6s ease-out, popupPulse 2s ease-in-out infinite;
    }
    
    .popup-content-animate {
      animation: popupSlideIn 0.6s ease-out;
    }

    /* Desktop: dong nhat padding cho tat ca info groups container */
    @media (min-width: 1024px) {
      .info-groups-container {
        padding: 0px !important;
      }
    }



