/* CCID V31 — fully native admin order form; no embedded page or iframe */
#ccid31[hidden],#ccid31Dialog[hidden]{display:none!important}
#ccid31{color:#f5edff;font-family:inherit;width:100%;min-width:0}
#ccid31 *,#ccid31 *::before,#ccid31 *::after,#ccid31Dialog *{box-sizing:border-box}
#ccid31 .c31-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px;color:#c7b6d8;font-size:13px;line-height:1.7}
#ccid31 .c31-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
#ccid31 .c31-stat{min-width:0;background:rgba(87,48,117,.12);border:1px solid rgba(191,134,237,.18);border-radius:17px;padding:18px}
#ccid31 .c31-stat small{display:block;color:#bca8cf;font-size:12px;margin-bottom:12px}
#ccid31 .c31-stat strong{font-size:clamp(18px,2vw,25px);font-weight:850;overflow-wrap:anywhere}
#ccid31 .c31-toolbar{border:1px solid rgba(182,128,231,.20);border-radius:20px;background:rgba(61,34,84,.10);padding:18px;margin:0 0 17px}
#ccid31 .c31-filter{display:grid;grid-template-columns:1.5fr repeat(3,minmax(130px,1fr));gap:9px;margin-bottom:13px}
#ccid31 input[type="search"],#ccid31 select,#ccid31Dialog input,#ccid31Dialog select{background:#130b21!important;color:#f5ecff!important;border:1px solid rgba(195,149,244,.23)!important;border-radius:12px;padding:11px 12px;font:inherit;min-width:0;width:100%;min-height:44px}
#ccid31 input:focus-visible,#ccid31 select:focus-visible,#ccid31 button:focus-visible,#ccid31Dialog button:focus-visible{outline:2px solid #b581f7;outline-offset:2px}
#ccid31 .c31-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#ccid31 button,#ccid31 .c31-button,#ccid31Dialog button{background:rgba(71,39,101,.42);color:#f5eafd;border:1px solid rgba(192,142,230,.25);border-radius:11px;padding:10px 13px;font-size:12px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;white-space:normal}
#ccid31 button:hover,#ccid31 .c31-button:hover,#ccid31Dialog button:hover{background:rgba(105,61,149,.62)}
#ccid31 .c31-danger{color:#ffb4c3!important;border-color:rgba(255,132,158,.28)!important;background:rgba(133,40,65,.25)!important}
#ccid31 .c31-primary,#ccid31Dialog button[type=submit]{color:white!important;background:linear-gradient(120deg,#9252d4,#6f3db9)!important}
#ccid31 .c31-all{display:flex;align-items:center;gap:7px;margin-left:auto;color:#c8b8d8;font-size:12px}
#ccid31 input[type=checkbox]{width:16px;height:16px;accent-color:#ad73f3;flex-shrink:0}
#ccid31 .c31-list{display:grid;gap:13px}
#ccid31 .c31-row{display:flex;align-items:flex-start;gap:12px;min-width:0;border:1px solid rgba(187,129,235,.2);border-left:4px solid #cbafed;border-radius:19px;padding:16px;background:linear-gradient(135deg,rgba(57,32,76,.5),rgba(23,13,37,.65))}
#ccid31 .c31-row.is-verified{border-left-color:#4edda0}#ccid31 .c31-row.is-pending{border-left-color:#e4b95d}#ccid31 .c31-row.is-rejected{border-left-color:#f07d95}
#ccid31 .c31-num{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(150deg,#f1e0ff,#a76de7);color:#200e31;font-weight:900}
#ccid31 .c31-body{min-width:0;flex:1}
#ccid31 .c31-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 6px}
#ccid31 .c31-title strong{font-size:15px;overflow-wrap:anywhere}
#ccid31 .c31-badge{border:1px solid rgba(189,136,238,.25);background:rgba(116,82,143,.18);color:#e1ceee;border-radius:50px;padding:4px 9px;font-size:10px;font-weight:850;white-space:nowrap}
#ccid31 .c31-badge.ok{color:#83eabb;background:rgba(35,126,87,.21);border-color:rgba(65,199,131,.23)}
#ccid31 .c31-badge.warn{color:#f9cf7d;background:rgba(142,95,31,.20);border-color:rgba(214,149,62,.23)}
#ccid31 .c31-badge.bad{color:#ffabbc;background:rgba(135,43,65,.20);border-color:rgba(221,83,105,.24)}
#ccid31 .c31-meta{color:#bbabd0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
#ccid31 .c31-details{display:flex;gap:8px 18px;flex-wrap:wrap;color:#d2c2e0;font-size:12px;margin:10px 0 0}
#ccid31 .c31-details b{color:#fff}
#ccid31 .c31-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:320px}
#ccid31 .c31-empty{border:1px dashed rgba(178,125,229,.25);padding:30px 18px;border-radius:19px;text-align:center;color:#cbbad9;line-height:1.8}
#ccid31 .c31-empty strong{display:block;margin:0 0 8px;color:#fff}
#ccid31 .c31-bottom{color:#aa99bc;font-size:12px;padding:15px 0;line-height:1.75}
#ccid31Dialog{position:fixed;inset:0;z-index:999900;background:rgba(3,2,7,.8);backdrop-filter:blur(7px);display:grid;place-items:center;padding:16px;color:#f5edff}
#ccid31Dialog .c31-dialog{background:linear-gradient(145deg,#281736,#110a20);border:1px solid rgba(197,140,242,.31);border-radius:22px;padding:22px;width:min(540px,100%);max-height:92dvh;overflow:auto;box-shadow:0 22px 65px rgba(0,0,0,.45)}
#ccid31Dialog .c31-dialog h2{margin:0 0 17px;font-size:22px}
#ccid31Dialog label{display:grid;gap:7px;font-size:13px;color:#d6c7e1;margin:0 0 13px}
#ccid31Dialog .c31-dialogbuttons{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}
#ccid31Dialog .c31-dialogerror{color:#ff9aaf;min-height:1.2em;font-size:12px;line-height:1.6}
@media(max-width:1100px){#ccid31 .c31-filter{grid-template-columns:repeat(2,minmax(0,1fr))}#ccid31 .c31-row{flex-wrap:wrap}#ccid31 .c31-actions{max-width:none;width:100%;justify-content:flex-start}}
@media(max-width:650px){#ccid31 .c31-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#ccid31 .c31-filter{grid-template-columns:1fr}#ccid31 .c31-toolbar{padding:12px}#ccid31 .c31-row{padding:12px;gap:8px}#ccid31 .c31-body{flex:1 1 calc(100% - 65px)}#ccid31 .c31-actions{gap:7px}#ccid31 .c31-actions>*{flex:1 1 115px}#ccid31 .c31-all{margin-left:0}}
