/* Tiam List Request - form (prefix: tlr-) */
.tlr-wrap{--tlr-p:#1d7b94;--tlr-pd:#145a6c;--tlr-s:#fbbc34;--tlr-t:#242424;--tlr-m:#767676;--tlr-b:#e3e8ea;--tlr-bg:#f6f9fa;--tlr-r:14px;max-width:760px;margin:0 auto 40px;font-family:inherit;color:var(--tlr-t)}
.tlr-wrap *,.tlr-wrap *::before,.tlr-wrap *::after{box-sizing:border-box}
.tlr-card{background:#fff;border-radius:20px;box-shadow:0 10px 40px rgba(20,60,72,.10);overflow:hidden;border:1px solid #edf1f2}

.tlr-head{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,var(--tlr-p),var(--tlr-pd));color:#fff;padding:26px 28px 24px;border-bottom:4px solid var(--tlr-s)}
.tlr-head-icon{flex:0 0 52px;height:52px;border-radius:14px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:var(--tlr-s)}
.tlr-wrap .tlr-title{color:#fff;margin:2px 0 6px;font-size:22px;line-height:1.5}
.tlr-sub{margin:0;color:rgba(255,255,255,.88);font-size:14px;line-height:1.9}

.tlr-form{padding:8px 28px 28px;margin:0}
.tlr-sec{border:0;margin:0;padding:22px 0 6px;border-bottom:1px dashed var(--tlr-b);min-width:0}
.tlr-sec:last-of-type{border-bottom:0}
.tlr-sec-title{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;padding:0;margin:0 0 14px;color:var(--tlr-t);width:100%}
.tlr-step{width:28px;height:28px;border-radius:50%;background:var(--tlr-s);color:#3a2a00;display:inline-flex;align-items:center;justify-content:center;font-size:14px;flex:0 0 28px}
.tlr-opt{font-weight:400;color:var(--tlr-m);font-size:13px}
.tlr-hint{margin:-4px 0 14px;color:var(--tlr-m);font-size:13px;line-height:1.8}

.tlr-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.tlr-field{margin-bottom:16px}
.tlr-field label{display:block;font-weight:600;font-size:14px;margin-bottom:7px;color:var(--tlr-t)}
.tlr-field label b{color:#d63638;font-weight:700}
.tlr-wrap input[type=text],.tlr-wrap input[type=tel],.tlr-wrap textarea{width:100%;height:48px;border:1px solid var(--tlr-b);border-radius:12px;background:var(--tlr-bg);padding:0 14px;font-family:inherit;font-size:14px;color:var(--tlr-t);transition:border-color .2s,box-shadow .2s,background .2s;box-shadow:none;margin:0}
.tlr-wrap textarea{height:auto;min-height:90px;padding:12px 14px;line-height:1.8;resize:vertical}
.tlr-wrap input:focus,.tlr-wrap textarea:focus{outline:0;border-color:var(--tlr-p);background:#fff;box-shadow:0 0 0 3px rgba(29,123,148,.14)}
.tlr-wrap input::placeholder,.tlr-wrap textarea::placeholder{color:#a8b0b3}
.tlr-wrap input[dir=ltr]{text-align:left}
.tlr-wrap input[dir=ltr]::placeholder{text-align:left}
.tlr-wrap .tlr-err{border-color:#d63638!important;background:#fff7f7!important}

/* rows */
.tlr-rows{display:flex;flex-direction:column;gap:10px}
.tlr-row{display:flex;align-items:flex-start;gap:10px;background:var(--tlr-bg);border:1px solid var(--tlr-b);border-radius:var(--tlr-r);padding:10px;animation:tlr-in .25s ease}
@keyframes tlr-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.tlr-row-num{flex:0 0 28px;height:44px;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--tlr-p);font-size:15px}
.tlr-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.tlr-row .tlr-i-name,.tlr-row .tlr-i-note{background:#fff}
.tlr-row .tlr-i-note{height:40px;font-size:13px}
.tlr-row.is-linked .tlr-i-name{border-color:var(--tlr-p);padding-left:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%231d7b94' d='m9.5 16.2-4.2-4.2-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") no-repeat 10px center}

.tlr-qty{flex:0 0 auto;display:flex;align-items:center;height:44px;border:1px solid var(--tlr-b);border-radius:12px;background:#fff;overflow:hidden}
.tlr-wrap .tlr-qty-btn{width:34px;height:44px;border:0;background:transparent;color:var(--tlr-p);font-size:20px;line-height:1;cursor:pointer;padding:0;min-height:0;box-shadow:none}
.tlr-wrap .tlr-qty-btn:hover{background:#eef6f8}
.tlr-wrap .tlr-qty .tlr-i-qty{width:46px;height:42px;border:0;border-radius:0;background:transparent;text-align:center;padding:0;font-weight:700;font-size:15px}
.tlr-wrap .tlr-qty .tlr-i-qty:focus{box-shadow:none}
.tlr-wrap .tlr-del{flex:0 0 40px;height:44px;border:0;border-radius:12px;background:transparent;color:#b0b7ba;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;min-height:0;box-shadow:none}
.tlr-wrap .tlr-del:hover{background:#fdecec;color:#d63638}
.tlr-rows .tlr-row:only-child .tlr-del{visibility:hidden}

.tlr-wrap .tlr-add{margin:12px 0 16px;width:100%;height:46px;border:1.5px dashed var(--tlr-p);border-radius:12px;background:#f2f9fb;color:var(--tlr-p);font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .2s;min-height:0;box-shadow:none;text-transform:none}
.tlr-wrap .tlr-add:hover{background:#e3f2f6}
.tlr-add span{font-size:20px;line-height:1}

/* autocomplete */
.tlr-ac-wrap{position:relative}
.tlr-ac{position:absolute;z-index:50;top:calc(100% + 4px);right:0;left:0;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--tlr-b);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.12);max-height:320px;overflow:auto}
.tlr-ac li{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:8px;cursor:pointer;font-size:13px;line-height:1.6;margin:0}
.tlr-ac li::before{display:none}
.tlr-ac li:hover,.tlr-ac li.is-active{background:#eef6f8}
.tlr-ac img,.tlr-ac .tlr-ac-noimg{width:38px;height:38px;flex:0 0 38px;border-radius:6px;object-fit:cover;background:#f0f3f4}
.tlr-ac .tlr-ac-t{flex:1;min-width:0}
.tlr-ac .tlr-ac-oos{font-size:11px;color:#b26200;background:#fff4e0;border-radius:4px;padding:0 6px;white-space:nowrap}
.tlr-ac .tlr-ac-free{color:var(--tlr-m);font-size:12px}

/* files */
.tlr-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;border:1.5px dashed #c9b27a;border-radius:var(--tlr-r);background:#fdf9ef;padding:24px 16px;text-align:center;cursor:pointer;color:#a5833a;transition:background .2s,border-color .2s;margin-bottom:12px}
.tlr-drop:hover,.tlr-drop.is-over{background:#fbf2dc;border-color:var(--tlr-s)}
.tlr-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.tlr-drop-t{color:var(--tlr-t);font-size:14px;font-weight:600}
.tlr-drop-t u{color:#a5833a}
.tlr-drop-s{color:var(--tlr-m);font-size:12px}
.tlr-file-list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:6px}
.tlr-file-list li{display:flex;align-items:center;gap:10px;background:var(--tlr-bg);border:1px solid var(--tlr-b);border-radius:10px;padding:6px 10px;font-size:13px;margin:0}
.tlr-file-list li::before{display:none}
.tlr-file-list img,.tlr-file-list .tlr-fx{width:36px;height:36px;border-radius:6px;object-fit:cover;flex:0 0 36px;background:#e6f1f4;color:var(--tlr-p);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}
.tlr-file-list .tlr-fn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:right}
.tlr-file-list .tlr-fs{color:var(--tlr-m);font-size:12px;white-space:nowrap}
.tlr-wrap .tlr-file-list button{border:0;background:transparent;color:#b0b7ba;cursor:pointer;font-size:18px;padding:0 4px;min-height:0;box-shadow:none}
.tlr-wrap .tlr-file-list button:hover{color:#d63638}

/* messages + submit */
.tlr-msg{border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.8;margin:6px 0 12px;background:#fdecec;color:#a4191b;border:1px solid #f5c2c3}
.tlr-wrap .tlr-submit{position:relative;width:100%;height:54px;border:0;border-radius:14px;background:var(--tlr-s);color:#2b2000;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .2s,background .2s;box-shadow:0 8px 20px rgba(251,188,52,.35);margin-top:8px;text-transform:none}
.tlr-wrap .tlr-submit:hover{background:#f6b11a;transform:translateY(-1px)}
.tlr-wrap .tlr-submit:disabled{opacity:.75;cursor:wait;transform:none}
.tlr-spin{display:none;position:absolute;left:20px;top:50%;width:20px;height:20px;margin-top:-10px;border:2.5px solid rgba(43,32,0,.25);border-top-color:#2b2000;border-radius:50%;animation:tlr-rot .7s linear infinite}
.tlr-submit.is-loading .tlr-spin{display:block}
@keyframes tlr-rot{to{transform:rotate(360deg)}}

.tlr-trust{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px}
.tlr-trust li{position:relative;padding-right:20px;color:var(--tlr-m);font-size:12.5px;margin:0}
.tlr-trust li::before{content:"";position:absolute;right:0;top:50%;width:14px;height:14px;margin-top:-7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d7b94' d='m9.5 16.2-4.2-4.2-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center/contain}

.tlr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* success */
.tlr-success{padding:44px 28px 40px;text-align:center}
.tlr-success-ic{width:76px;height:76px;margin:0 auto 18px;border-radius:50%;background:#e7f6ec;color:#1a8a3f;display:flex;align-items:center;justify-content:center;animation:tlr-pop .4s ease}
@keyframes tlr-pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.tlr-success h3{font-size:20px;margin:0 0 12px;color:var(--tlr-t)}
.tlr-success p{margin:0 0 8px;color:var(--tlr-m);font-size:14px;line-height:1.9}
.tlr-success .tlr-code{display:inline-block;color:var(--tlr-p);font-size:20px;background:#eef6f8;border-radius:8px;padding:2px 14px;margin-right:4px;direction:ltr;letter-spacing:1px}
.tlr-success-call a{color:var(--tlr-p);font-weight:700}
.tlr-wrap .tlr-again{margin-top:18px;border:1px solid var(--tlr-p);background:#fff;color:var(--tlr-p);border-radius:10px;padding:0 22px;height:42px;font-family:inherit;font-weight:600;cursor:pointer;min-height:0;box-shadow:none;text-transform:none}
.tlr-wrap .tlr-again:hover{background:#eef6f8}

@media (max-width:640px){
	.tlr-wrap{margin-bottom:24px}
	.tlr-card{border-radius:16px}
	.tlr-head{padding:20px 18px 18px;gap:12px}
	.tlr-head-icon{flex-basis:44px;height:44px}
	.tlr-wrap .tlr-title{font-size:18px}
	.tlr-sub{font-size:13px}
	.tlr-form{padding:4px 16px 20px}
	.tlr-grid2{grid-template-columns:1fr}
	.tlr-row{flex-wrap:wrap;padding:10px 8px;gap:8px}
	.tlr-row-num{flex-basis:22px;height:22px;order:0}
	.tlr-row-main{order:1;flex:1 1 calc(100% - 30px)}
	.tlr-qty{order:2;margin-right:30px}
	.tlr-wrap .tlr-del{order:3;margin-right:auto}
	.tlr-wrap input[type=text],.tlr-wrap input[type=tel]{font-size:16px} /* no iOS zoom */
	.tlr-row .tlr-i-note{font-size:14px}
}
