  /* Modal backdrop blur */
    .modal-backdrop.show { opacity: 0.6; }

    .modal-content {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    }

    /* Header */
    .modal-header {
      background: #ffffff;
      border-bottom: 1px solid #e8ecf0;
      padding: 20px 24px 0;
      flex-direction: column;
      align-items: flex-start;
    }

    .modal-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      width: 100%;
    }

    .brand-icon {
      width: 40px;
      height: 40px;
      background: #EEF4FF;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3B5BDB;
      font-size: 18px;
      flex-shrink: 0;
    }

    .brand-title {
      font-size: 16px;
      font-weight: 600;
      color: #1a202c;
      margin: 0;
      line-height: 1.2;
    }

    .brand-subtitle {
      font-size: 12px;
      color: #6c757d;
      margin: 0;
    }

    .btn-close-custom {
      background: none;
      border: none;
      padding: 6px;
      border-radius: 8px;
      color: #9ca3af;
      cursor: pointer;
      font-size: 18px;
      margin-left: auto;
      margin-top: -36px;
      transition: all 0.15s;
    }
    .btn-close-custom:hover { background: #f3f4f6; color: #374151; }

    /* Tabs */
    .modal-tabs {
      display: flex;
      gap: 0;
      border-bottom: none;
      width: 100%;
    }

    .modal-tabs .nav-link {
      font-size: 13px;
      font-weight: 500;
      color: #6c757d;
      padding: 10px 18px;
      border: none;
      border-bottom: 2px solid transparent;
      border-radius: 0;
      background: none;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s;
    }

    .modal-tabs .nav-link:hover { color: #3B5BDB; background: #f8f9ff; }
    .modal-tabs .nav-link.active {
      color: #3B5BDB;
      border-bottom-color: #3B5BDB;
      background: none;
    }

    /* Body */
    .modal-body {
      background: #ffffff;
      padding: 24px;
      max-height: 420px;
      overflow-y: auto;
    }

    .modal-body::-webkit-scrollbar { width: 5px; }
    .modal-body::-webkit-scrollbar-track { background: #f1f3f4; }
    .modal-body::-webkit-scrollbar-thumb { background: #c1c7d0; border-radius: 10px; }

    /* Info banner */
    .info-banner {
      background: #EEF4FF;
      border: 1px solid #c5d3f8;
      border-radius: 10px;
      padding: 10px 14px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: #2d4cc8;
    }

    .success-banner {
      background: #ECFDF5;
      border: 1px solid #a7f3d0;
      border-radius: 10px;
      padding: 10px 14px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: #065f46;
    }

    /* Section heading */
    .section-heading {
      font-size: 14px;
      font-weight: 600;
      color: #1a202c;
      margin: 0 0 10px;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .section-heading i { color: #6c757d; font-size: 15px; }

    /* Data grid cards */
    .data-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 22px;
    }

    .data-card {
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      padding: 12px 14px;
    }

    .data-card-title {
      font-size: 12px;
      font-weight: 600;
      color: #374151;
      margin: 0 0 3px;
    }

    .data-card-desc {
      font-size: 12px;
      color: #6c757d;
      margin: 0;
    }

    /* List items */
    .check-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }

    .check-item {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 10px 12px;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      background: #ffffff;
    }

    .check-item-icon { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
    .check-item-icon.success { color: #10b981; }
    .check-item-icon.danger  { color: #ef4444; }

    .check-item-title { font-size: 13px; font-weight: 600; color: #1a202c; margin: 0 0 2px; }
    .check-item-desc  { font-size: 12px; color: #6c757d; margin: 0; line-height: 1.55; }

    /* Rights cards */
    .right-card {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 14px;
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      margin-bottom: 10px;
    }

    .right-icon {
      width: 34px;
      height: 34px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      flex-shrink: 0;
    }

    .right-icon.blue   { background: #EEF4FF; color: #3B5BDB; }
    .right-icon.yellow { background: #FFFBEB; color: #d97706; }
    .right-icon.red    { background: #FEF2F2; color: #dc2626; }
    .right-icon.green  { background: #ECFDF5; color: #059669; }
    .right-icon.gray   { background: #f3f4f6; color: #6b7280; }

    .right-title { font-size: 13px; font-weight: 600; color: #1a202c; margin: 0 0 3px; }
    .right-desc  { font-size: 12px; color: #6c757d; margin: 0; line-height: 1.55; }

    /* Footer */
    .modal-footer {
      background: #f8f9fa;
      border-top: 1px solid #e9ecef;
      padding: 14px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .consent-label {
      font-size: 12.5px;
      color: #4b5563;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
    }

    .consent-label input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: #3B5BDB;
      cursor: pointer;
      flex-shrink: 0;
    }

    .btn-accept {
      padding: 9px 22px;
      font-size: 13px;
      font-weight: 600;
      border-radius: 9px;
      background: #3B5BDB;
      color: #fff;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .btn-accept:hover:not(:disabled) { background: #2f4ac2; }
    .btn-accept:disabled {
      background: #d1d5db;
      color: #9ca3af;
      cursor: not-allowed;
    }

    /* Toast */
    .toast-success {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      background: #065f46;
      color: #fff;
      padding: 10px 22px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 9999;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }

    .toast-success.show { opacity: 1; }

    /* Trigger button on demo page */
    .demo-btn {
      padding: 14px 32px;
      background: #3B5BDB;
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 24px rgba(59,91,219,0.4);
      transition: all 0.2s;
    }
    .demo-btn:hover { background: #2f4ac2; transform: translateY(-1px); }