.ticket-match-overlay{
  position:fixed;
  inset:0;
  z-index:21000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(16,35,32,.62);
  backdrop-filter:blur(5px);
}

.ticket-match-overlay.hidden{
  display:none !important;
}

.ticket-match-modal{
  width:min(650px,100%);
  max-height:90vh;
  overflow:auto;
  padding:26px;
  background:#fff;
  border-radius:22px;
  box-shadow:0 28px 90px rgba(0,0,0,.28);
}

.ticket-match-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:20px;
}

.ticket-match-header h3{
  margin:0 0 7px;
  font-size:25px;
}

.ticket-match-header p{
  margin:0;
  color:#71807c;
}

.ticket-match-close{
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:#eef4f2;
  font-size:28px;
  cursor:pointer;
}

.ticket-match-ticket{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:18px;
  padding:12px 14px;
  background:#f2f6f5;
  border-radius:12px;
}

.ticket-match-label{
  display:block;
  margin-bottom:8px;
  font-weight:800;
}

.ticket-match-search{
  box-sizing:border-box;
  width:100%;
  min-height:54px;
  padding:0 15px;
  border:1px solid #d7e1de;
  border-radius:13px;
  font:inherit;
}

.ticket-match-search:focus{
  outline:2px solid rgba(33,76,69,.18);
  border-color:#214c45;
}

.ticket-match-help{
  margin-top:8px;
  color:#71807c;
  font-size:13px;
  line-height:1.8;
}

.ticket-match-status{
  margin-top:16px;
  padding:12px 14px;
  border-radius:12px;
  line-height:1.8;
}

.ticket-match-status.hidden{
  display:none;
}

.ticket-match-status.info{
  background:#edf4f2;
}

.ticket-match-status.success{
  background:#e9f5ee;
  color:#23603d;
}

.ticket-match-status.warning{
  background:#fff5df;
  color:#805d18;
}

.ticket-match-status.error{
  background:#fff0ed;
  color:#a44235;
}

.ticket-match-results{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.ticket-match-user-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px;
  border:1px solid #dfe7e4;
  border-radius:15px;
  background:#fff;
}

.ticket-match-user-info{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.ticket-match-user-info strong{
  font-size:17px;
}

.ticket-match-user-info span{
  color:#64736f;
  font-size:13px;
}

.ticket-match-user-info
.ticket-match-active{
  color:#28704c;
  font-weight:700;
}

.ticket-match-user-info
.ticket-match-inactive{
  color:#a44235;
  font-weight:700;
}

.ticket-match-select{
  flex:0 0 auto;
  min-height:44px;
  padding:0 16px;
  border:0;
  border-radius:12px;
  background:#214c45;
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

@media(max-width:600px){
  .ticket-match-modal{
    padding:20px;
  }

  .ticket-match-user-card{
    align-items:stretch;
    flex-direction:column;
  }

  .ticket-match-select{
    width:100%;
  }
}
