﻿/* --- OVERLAY --- */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
       /* nếu bạn muốn dùng class hidden thay cho inline style */
    .hidden { display: none !important; }
    /* --- POPUP CONTAINER --- */
    .popup {
      background: #fff;
      border-radius: 12px;
      width: 90%;
      max-width: 520px;
      padding: 24px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      animation: fadeIn 0.3s ease;
    }

    .popup h2 {
      text-align: center;
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 20px;
      color: #1a1a1a;
    }

    /* --- MESSAGE BLOCKS --- */
    .popup .info-block {
      background: #f9fafb;
      border-radius: 8px;
      padding: 12px 14px;
      margin-bottom: 14px;
      font-size: 0.95rem;
      color: #333;
      line-height: 1.5;
    }

    .popup .info-block strong {
      color: #111827;
    }

    /* --- BUTTONS --- */
    .popup .buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      gap: 10px;
    }

    .popup button {
      flex: 1;
      border: none;
      border-radius: 8px;
      padding: 10px 0;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .popup .btn-cancel {
      background: #e5e7eb;
      color: #111827;
    }

    .popup .btn-cancel:hover {
      background: #d1d5db;
    }

    .popup .btn-accept {
      background: #2563eb;
      color: white;
    }

    .popup .btn-accept:hover {
      background: #1e40af;
    }

    /* --- ANIMATION --- */
    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 480px) {
      .popup {
        padding: 18px;
      }
      .popup h2 {
        font-size: 1.1rem;
      }
    }