/* TaxExemptWorld search pages (2026-11-16): searchable dropdowns (js/tsel.js) and the criteria box layout */
.crit{max-width:760px;margin:0 auto;text-align:left}
.crit-row{display:flex;flex-wrap:wrap;gap:16px 20px}
.crit-col{flex:1 1 280px;min-width:0}
.crit-label{display:block;margin:0 0 7px 6px;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#7d7471}
.crit-hint{margin:10px 6px 0;font-size:13px;color:#8a7f7c}

/* text searches (name, EIN, ZIP): the header's pill box, a little bigger */
.crit .hs .hs-input{height:54px;padding:0 128px 0 50px;border-radius:27px;font-size:17px}
.crit .hs .hs-ico{left:19px;top:18px}
.crit .hs .hs-btn{top:7px;right:7px;height:40px;padding:0 24px;border-radius:20px;font-size:13px}
.crit .hs .fb-list{width:100%;min-width:0}

/* searchable dropdown */
.tsel{position:relative;min-width:0}
.tsel-input{display:block;width:100%;height:54px;margin:0;padding:0 48px 0 20px;border:2px solid #F3D3CC;border-radius:27px;background:#fff;
  font-size:17px;color:#373737;outline:none;box-shadow:none;cursor:pointer;text-overflow:ellipsis;-webkit-appearance:none;appearance:none;
  transition:border-color .15s ease-out,box-shadow .15s ease-out}
.tsel-input:hover{border-color:#EBB3A7}
.tsel-input:focus{border-color:#E85C41;box-shadow:0 0 0 4px rgba(232,92,65,.12);cursor:text}
.tsel-input::placeholder{color:#958a87;opacity:1}
.tsel-caret{position:absolute;right:21px;top:50%;width:10px;height:10px;margin-top:-8px;border-right:2.5px solid #E85C41;border-bottom:2.5px solid #E85C41;
  transform:rotate(45deg);cursor:pointer;transition:transform .15s ease-out,margin-top .15s ease-out}
.tsel-open .tsel-caret{transform:rotate(225deg);margin-top:-3px}
.tsel-list{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:1050;max-height:340px;overflow-y:auto;padding:6px;
  background:#fff;border:1px solid #F3D3CC;border-radius:14px;box-shadow:0 18px 40px rgba(55,55,55,.16);-webkit-overflow-scrolling:touch}
.tsel-open .tsel-list{display:block}
.tsel-item{padding:9px 14px;border-radius:9px;font-size:15px;line-height:1.35;color:#373737;cursor:pointer}
.tsel-item b{color:#C2432B;font-weight:800}
.tsel-item:hover,.tsel-item.tsel-on{background:#FDECE8}
.tsel-item.tsel-sel{font-weight:700}
.tsel-item.tsel-sel:after{content:"\2713";float:right;color:#E85C41;font-weight:800;margin-left:10px}
.tsel-note{padding:9px 14px;font-size:13px;color:#8a7f7c}
.tsel-off .tsel-input{background:#FAF6F5;border-color:#EFE3E0;cursor:not-allowed}
.tsel-off .tsel-caret{border-color:#D9C9C5}
.tsel-busy .tsel-caret{border:2.5px solid #F3D3CC;border-top-color:#E85C41;border-radius:50%;width:16px;height:16px;margin-top:-8px;right:18px;transform:none;animation:tsel-spin .7s linear infinite}
@keyframes tsel-spin{to{transform:rotate(360deg)}}
@media (max-width:767px){
  .crit .hs .hs-input,.tsel-input{height:50px;font-size:16px}
  .crit .hs .hs-input{padding-right:104px}
  .crit .hs .hs-ico{top:16px}
  .crit .hs .hs-btn{top:5px;padding:0 18px}
  .tsel-list{max-height:55vh}
}

/* multi-select: chips in the box, checkboxes in the list */
.tsel-multi .tsel-box{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:54px;padding:7px 46px 7px 12px;border:2px solid #F3D3CC;
  border-radius:27px;background:#fff;cursor:text;transition:border-color .15s ease-out,box-shadow .15s ease-out}
.tsel-multi .tsel-box:hover{border-color:#EBB3A7}
.tsel-multi.tsel-focus .tsel-box{border-color:#E85C41;box-shadow:0 0 0 4px rgba(232,92,65,.12)}
.tsel-multi .tsel-chips{display:contents}
.tsel-multi .tsel-input{flex:1 1 90px;min-width:90px;width:0;height:36px;padding:0 6px;border:0;border-radius:0;background:transparent;box-shadow:none !important;cursor:text}
.tsel-chip{display:inline-flex;align-items:center;max-width:100%;padding:3px 4px 3px 11px;border-radius:14px;background:#FDECE8;color:#8F2F1D;
  font-size:13px;font-weight:700;line-height:1.3}
.tsel-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tsel-chip button{margin:0 0 0 2px;padding:0 6px;border:0;background:transparent;color:#C2432B;font-size:16px;font-weight:700;line-height:1;cursor:pointer}
.tsel-chip button:hover{color:#373737}
.tsel-multi .tsel-item{position:relative;padding-left:40px}
.tsel-multi .tsel-item:before{content:"";position:absolute;left:13px;top:50%;width:17px;height:17px;margin-top:-9px;border:2px solid #E3C2BA;border-radius:5px;background:#fff}
.tsel-multi .tsel-item.tsel-sel:before{border-color:#E85C41;background:#E85C41}
.tsel-multi .tsel-item.tsel-sel:after{content:"";float:none;position:absolute;left:19px;top:50%;width:5px;height:9px;margin:-7px 0 0;border:solid #fff;
  border-width:0 2px 2px 0;transform:rotate(45deg)}
.tsel-multi .tsel-item.tsel-sel{font-weight:600}
.tsel-off.tsel-multi .tsel-box{background:#FAF6F5;border-color:#EFE3E0;cursor:not-allowed}

/* compact size (data-tsel="sm"), for forms with many fields */
.tsel-sm .tsel-input{height:42px;padding:0 40px 0 14px;border-radius:10px;font-size:15px}
.tsel-sm .tsel-caret{right:16px;width:9px;height:9px}
.tsel-sm.tsel-multi .tsel-box{min-height:42px;padding:4px 38px 4px 6px;border-radius:10px}
.tsel-sm.tsel-multi .tsel-input{height:30px;padding:0 8px;font-size:15px}
.tsel-sm .tsel-chip{padding:2px 3px 2px 9px;font-size:12.5px}
.tsel-sm .tsel-list{border-radius:10px}
.tsel-sm .tsel-item{font-size:14px;padding:8px 12px}
.tsel-sm.tsel-multi .tsel-item{padding-left:38px}
@media (max-width:767px){.tsel-sm .tsel-input,.tsel-sm.tsel-multi .tsel-input{font-size:16px}}
