﻿/* ===== MODULE: _footer.css ===== */
    /* ===== FOOTER ===== */
    #pageFooter{ 
      position:fixed; left:0; right:0; bottom:0; 
      min-height:var(--footer-h); 
      display:flex; flex-direction:row; align-items:center; justify-content:space-between; 
      background:#f4f6f8; color:#0b3a2a; border-top:1px solid #e3e7eb; z-index:var(--z-footer); 
      padding:4px 16px 6px; font-weight:800; font-size: 12px;
    }

    
    .footer-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      text-align: center;
    }
    
    .footer-right {
      display: flex;
      align-items: center;
    }
    
    #supportFooter {
      background: #04604e;
      color: #fff;
      padding: 8px 16px;
      border-radius: 3px;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
      transition: all 0.2s ease;
      white-space: nowrap;
      height: 28px; 
      line-height: 1.2;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    #supportFooter:hover {
      background: #025b48;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(0, 224, 229, 0.3);
    }
    
     .print-btn {
       display: inline-block !important;
       background: #04604e;
       color: #fff;
       padding: 6px 12px;
       border: none;
       border-radius: 3px;
       font-weight: 600;
       font-size: 12px;
       cursor: pointer;
       transition: all 0.2s ease;
       white-space: nowrap;
      
    }

    .popup-close {
      background: none;
      border: none;
      font-size: 24px;
      color: #6b7280;
      cursor: pointer;
      padding: 4px;
      line-height: 1;
    }

    .popup-close:hover {
      color: #374151;
    }

    .popup-body {
      padding: 20px 24px 24px;
    }

    .popup-body p {
      margin: 0 0 20px;
      color: #6b7280;
      font-size: 16px;
    }

    .popup-buttons {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .popup-btn {
      display: flex;
      align-items: center;
      padding: 16px;
      border: 2px solid #e5e7eb;
      border-radius: 2.4px;
      background: #fff;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
    }

    .popup-btn:hover {
      border-color: #025b48;
      background: #f0fdf4;
      transform: translateY(-1px);
    }

    .current-btn:hover {
      border-color: #025b48;
      background: #f0fdf4;
    }

    .full-btn:hover {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .btn-icon {
      font-size: 24px;
      margin-right: 12px;
      flex-shrink: 0;
    }

    .btn-text {
      flex: 1;
    }

    .btn-title {
      font-weight: 800;
      font-size: 16px;
      color: #0b3d2c;
      margin-bottom: 4px;
    }

  .btn-desc {
    font-size: 14px;
    color: #6b7280;
  }

  /* ===== GROUP PRINT BUTTON ===== */
   .group-print-btn {
     display: inline-block !important;
     background: #04604e;
     color: #fff;
     padding: 6px 12px;
     border: none;
     border-radius: 3px;
     font-weight: 600;
     font-size: 12px;
     cursor: pointer;
     transition: all 0.2s ease;
     white-space: nowrap;
     margin-left: 8px;
   }

  .group-print-btn:hover {
    background: #025b48;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 224, 229, 0.3);
  }

  .group-print-btn:active {
    transform: translateY(0);
  }
    
    #pageFooter img{ height:18px; width:auto; display:block; }

    
    #supportDesk{ 
      position:fixed; 
      right:18px; 
      bottom:calc(var(--footer-h) + 8px); 
      background:#04604e;
      color:#fff;
      padding:10px 14px;
      border-radius:24px;
      font-weight:900;
      font-size:12px;
      text-decoration:none;
      box-shadow:0 4px 12px rgba(0,0,0,.18); 
      z-index:var(--z-support); 
      display:none; 
    }

    
    #errorTop{ display:none; margin:0; border-top:1px solid #f5c2c7; background:#fff5f5; color:#b91c1c; font-weight:800; padding:8px 12px; }
    #errorTop.show{ display:block; }

    
    .li-label{
      font-weight:800; color:#0b3d2c;
      white-space:normal; overflow-wrap:anywhere; line-height:1.3;
    }
    #sectionInfo .info-item .val { font-weight: 900; color: #10b981; }

    /* ===== REFACTOR: CHAN TRANG RESPONSIVE TOKEN ===== */
    #pageFooter {
      z-index: var(--z-footer);
      min-height: var(--footer-h);
    }

    #supportFooter,
    .print-btn,
    .group-print-btn {
      line-height: 1.2;
      white-space: nowrap;
    }

    @media (max-width: var(--bp-portrait)) {
      #pageFooter {
        min-height: var(--footer-h-mobile);
        flex-direction: column;
        gap: 2px;
        padding: 3px 10px 4px;
      }

      .footer-left,
      .footer-right {
        justify-content: center;
        text-align: center;
      }

      #supportFooter,
      .print-btn,
      .group-print-btn {
        height: 20px;
        font-size: 10px;
        padding: 4px 8px;
      }

      #supportDesk {
        bottom: calc(var(--footer-h-mobile) + 8px);
      }
    }

    @media (min-width: var(--bp-medium)) {
      #supportFooter,
      .print-btn,
      .group-print-btn {
        height: 28px;
        font-size: 12px;
      }
    }

    @media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 11/10) and (max-width: 1023px) {
      #pageFooter {
        padding-left: 8px;
        padding-right: 8px;
      }
    }



