/* Отказ от договор (tedbg_withdrawal) - собствени стилове, независими от темата
   Author: TEDBG | https://tedbg.com */
#tedbg-withdrawal .tw-wrap { max-width: 960px; margin: 0 auto 30px auto; font-size: 15px; line-height: 1.5; color: #1b2127; }
#tedbg-withdrawal .tw-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #0ba8d7; margin: 0 0 10px 0; }
#tedbg-withdrawal .tw-step i { display: inline-flex; width: 24px; height: 24px; border-radius: 6px; background: #0ba8d7; color: #fff; align-items: center; justify-content: center; font-style: normal; font-size: 12px; }
#tedbg-withdrawal h1, #tedbg-withdrawal .tw-h1 { font-size: 26px; font-weight: 800; margin: 0 0 10px 0; line-height: 1.2; }
#tedbg-withdrawal h2.tw-h2 { font-size: 17px; font-weight: 700; margin: 0 0 12px 0; line-height: 1.3; }
#tedbg-withdrawal .tw-lead { color: #4b5563; margin: 0 0 20px 0; }
#tedbg-withdrawal .tw-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 22px 24px; margin: 0 0 18px 0; box-sizing: border-box; }
#tedbg-withdrawal .tw-card.tw-muted { background: #f6f8fa; }
#tedbg-withdrawal .tw-grid { display: flex; flex-wrap: wrap; margin: 0 -9px; }
#tedbg-withdrawal .tw-col { flex: 1 1 260px; padding: 0 9px; min-width: 0; box-sizing: border-box; }
#tedbg-withdrawal .tw-field { margin: 0 0 14px 0; }
#tedbg-withdrawal .tw-field label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 5px 0; }
#tedbg-withdrawal .tw-field .tw-req:after { content: " *"; color: #c0392b; }
#tedbg-withdrawal .tw-input, #tedbg-withdrawal .tw-select, #tedbg-withdrawal .tw-textarea { display: block; width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border: 1.5px solid #d6dbe1; border-radius: 8px; background: #fff; font-size: 15px; color: #1b2127; font-family: inherit; line-height: 42px; -webkit-appearance: none; }
#tedbg-withdrawal .tw-textarea { height: auto; min-height: 90px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
#tedbg-withdrawal .tw-select { padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7480' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
#tedbg-withdrawal .tw-input:focus, #tedbg-withdrawal .tw-select:focus, #tedbg-withdrawal .tw-textarea:focus { outline: none; border-color: #0ba8d7; box-shadow: 0 0 0 3px rgba(11, 168, 215, .15); }
#tedbg-withdrawal .tw-error { color: #b42318; font-size: 13px; margin: 5px 0 0 0; }
#tedbg-withdrawal .tw-help { color: #6b7480; font-size: 13px; margin: 6px 0 0 0; }
#tedbg-withdrawal .tw-alert { padding: 12px 16px; border-radius: 8px; border: 1px solid; margin: 0 0 18px 0; font-size: 14px; }
#tedbg-withdrawal .tw-alert-danger { background: #fdecec; border-color: #f5c2c2; color: #8a1c1c; }
#tedbg-withdrawal .tw-alert-success { background: #e8f7ee; border-color: #bfe6cc; color: #14532d; }
#tedbg-withdrawal .tw-alert-info { background: #eaf6fb; border-color: #bfe3f1; color: #0a5c75; }
#tedbg-withdrawal .tw-alert-warning { background: #fff7e6; border-color: #f5dca8; color: #7a4b00; }
#tedbg-withdrawal .tw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 10px; border: 1.5px solid #0ba8d7; background: #0ba8d7; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1; box-shadow: 0 6px 16px rgba(11, 168, 215, .25); transition: background .15s, border-color .15s; }
#tedbg-withdrawal .tw-btn:hover { background: #0994bf; border-color: #0994bf; color: #fff; text-decoration: none; }
#tedbg-withdrawal .tw-btn-lg { height: 54px; padding: 0 32px; font-size: 16px; }
#tedbg-withdrawal .tw-btn-ghost { background: #fff; border-color: #d6dbe1; color: #1b2127; box-shadow: none; }
#tedbg-withdrawal .tw-btn-ghost:hover { background: #f4f6f8; color: #1b2127; border-color: #c3cad2; }
#tedbg-withdrawal .tw-btn-dark { background: #1b2127; border-color: #1b2127; box-shadow: none; }
#tedbg-withdrawal .tw-btn-dark:hover { background: #2b333b; border-color: #2b333b; }
#tedbg-withdrawal .tw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0 0 0; }
#tedbg-withdrawal .tw-actions .tw-help { margin: 0; flex: 1 1 240px; }
#tedbg-withdrawal .tw-kv { display: flex; flex-wrap: wrap; margin: 0 -9px; }
#tedbg-withdrawal .tw-kv > div { flex: 1 1 200px; padding: 0 9px 12px 9px; box-sizing: border-box; }
#tedbg-withdrawal .tw-kv span { display: block; font-size: 12px; color: #8a94a0; margin: 0 0 2px 0; }
#tedbg-withdrawal .tw-kv b { font-weight: 600; word-break: break-word; }
#tedbg-withdrawal .tw-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
#tedbg-withdrawal .tw-badge-green { background: #e7f7ee; color: #157347; }
#tedbg-withdrawal .tw-badge-amber { background: #fff4de; color: #9a5b00; }
#tedbg-withdrawal .tw-badge-red { background: #fde8e8; color: #b42318; }
#tedbg-withdrawal .tw-badge-gray { background: #eef1f4; color: #4b5563; }
#tedbg-withdrawal .tw-badge-blue { background: #e6f6fc; color: #0a7fa3; }
#tedbg-withdrawal .tw-radio { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 14px 0; }
#tedbg-withdrawal .tw-radio label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; cursor: pointer; margin: 0; }
#tedbg-withdrawal .tw-radio input, #tedbg-withdrawal .tw-check input { width: 18px; height: 18px; margin: 0; accent-color: #0ba8d7; cursor: pointer; }
#tedbg-withdrawal .tw-products { list-style: none; margin: 0; padding: 0; }
#tedbg-withdrawal .tw-product { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #e3e6ea; border-radius: 10px; margin: 0 0 10px 0; background: #fff; }
#tedbg-withdrawal .tw-product.tw-disabled { opacity: .6; background: #f6f8fa; }
#tedbg-withdrawal .tw-product .tw-check { display: flex; align-items: center; }
#tedbg-withdrawal .tw-product .tw-name { flex: 1 1 200px; min-width: 0; }
#tedbg-withdrawal .tw-product .tw-name b { display: block; font-weight: 600; }
#tedbg-withdrawal .tw-product .tw-name small { display: block; color: #8a94a0; font-size: 12px; }
#tedbg-withdrawal .tw-product .tw-qty { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4b5563; white-space: nowrap; }
#tedbg-withdrawal .tw-product .tw-qty input { width: 64px; height: 36px; border: 1.5px solid #d6dbe1; border-radius: 8px; text-align: center; font-size: 14px; padding: 0 6px; }
#tedbg-withdrawal .tw-product .tw-price { font-weight: 700; white-space: nowrap; }
#tedbg-withdrawal .tw-table { width: 100%; border-collapse: collapse; margin: 0 0 12px 0; font-size: 14px; }
#tedbg-withdrawal .tw-table th, #tedbg-withdrawal .tw-table td { padding: 10px 12px; border-bottom: 1px solid #eceff2; text-align: left; vertical-align: top; }
#tedbg-withdrawal .tw-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #6b7480; background: #f6f8fa; }
#tedbg-withdrawal .tw-table .tw-right { text-align: right; white-space: nowrap; }
#tedbg-withdrawal .tw-table .tw-center { text-align: center; }
#tedbg-withdrawal .tw-table tfoot td { font-weight: 700; border-bottom: 0; }
#tedbg-withdrawal .tw-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
#tedbg-withdrawal .tw-number { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
#tedbg-withdrawal .tw-section-title { font-size: 15px; font-weight: 700; margin: 18px 0 6px 0; }
#tedbg-withdrawal .tw-text { color: #374151; font-size: 14px; }
#tedbg-withdrawal .tw-orders .tw-table td { vertical-align: middle; }
#tedbg-withdrawal .tw-btn-sm { height: 38px; padding: 0 16px; font-size: 14px; box-shadow: none; }
#tedbg-withdrawal a.tw-link { color: #0a7fa3; text-decoration: underline; }
@media (max-width: 600px) {
  #tedbg-withdrawal .tw-card { padding: 16px; border-radius: 10px; }
  #tedbg-withdrawal h1, #tedbg-withdrawal .tw-h1 { font-size: 22px; }
  #tedbg-withdrawal .tw-product { flex-wrap: wrap; }
  #tedbg-withdrawal .tw-product .tw-price { flex-basis: 100%; text-align: right; }
  #tedbg-withdrawal .tw-btn { width: 100%; }
  #tedbg-withdrawal .tw-table th:nth-child(n+4), #tedbg-withdrawal .tw-table td:nth-child(n+4) { display: none; }
  #tedbg-withdrawal .tw-orders .tw-table th:last-child, #tedbg-withdrawal .tw-orders .tw-table td:last-child { display: table-cell; }
}
