#wtm-calculator{color: #fff;width: 100%;padding: 24px;box-shadow: 0 10px 30px #00000080;background: #171717;border: 1px solid #ffffff1a;}
#wtm-calc{width:100%;padding:12px;border:0;border-radius:20px;background:linear-gradient(90deg,#AA5A04 0%,#F8A302 100%);cursor:pointer;line-height:1;color: #fff;height: 45px;}
.wtm-table{width:100%;margin-top:15px;border-collapse:collapse}
.wtm-table th,.wtm-table td{padding:8px;border-color: transparent;border-bottom:1px solid #333;text-align:right;font-size:12px;}
.wtm-table th:first-child,.wtm-table td:first-child{text-align:left}
.wtm-top{background:#4ade8026}
.wtm-bad{opacity:.45}
.wtm-row{display: grid;grid-template-columns: repeat(3, 1fr);gap:10px;margin-bottom:12px}
.wtm-row select,.wtm-row input{flex: 1;background-color: #202020;border: 1px solid #ffffff1a;padding: 10px 15px;border-radius: 20px;color: #ffff;height: 45px;}
#wtm-asic{flex:2}
.wtm-currency-switch{display:flex;border:1px solid #333;border-radius:20px;overflow:hidden;background:#1b1b1b;min-width:180px}
.wtm-currency-option{background: linear-gradient(0deg, #202020, #202020);flex:1;padding:0 10px;text-align:center;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height: 1;}
.wtm-currency-option:hover, .wtm-currency-option.active{background:linear-gradient(90deg, #AA5A04 0%, #F8A302 100%);color:#000;font-weight:600}
.wtm-currency-option span{font-size:14px;font-weight:500}
.wtm-rate{font-size:10px;opacity:.7;font-weight:400}
.wtm-currency-option.active .wtm-rate{color:#000;opacity:.8}
.wtm-error{color:#ff6b6b;background:#ff6b6b1a;padding:10px;border-radius:20px;text-align:center;margin-top:15px}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.wtm-table th:first-child, .wtm-table td:first-child{position:sticky;left:0;z-index:2;}
.wtm-table th:first-child, .wtm-table td:first-child{white-space:nowrap;padding:10px 12px}




/* Кастомные селекты */
#wtm-calculator .calc-select {position: relative;min-width: 150px;}
#wtm-calculator .calc-select .select-selected {background: #202020;border: 1px solid #ffffff1a;padding: 10px 32px 10px 15px;cursor: pointer;user-select: none;position: relative;border-radius: 20px;color: #fff;font-size: 14px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
#wtm-calculator .calc-select .select-selected:after {content:'';position:absolute;right: 15px;top: 50%;transform: translateY(-50%);border: 5px solid transparent;border-top-color: #ccc;transition: transform 0.2s;}
#wtm-calculator .calc-select .select-selected.active:after {transform: translateY(-50%) rotate(180deg);}
#wtm-calculator .calc-select .select-items {position: absolute;top: calc(100% - 15px);left: 0;right: 0;background: #1d1f21;border: 1px solid #ffffff1a;border-top: none;border-radius: 0 0 20px 20px;max-height: 200px;overflow-y: auto;display: none;z-index:9;box-shadow: 0 4px 8px rgba(0,0,0,0.3);}
#wtm-calculator .calc-select .select-items.open {display: block;}
#wtm-calculator .calc-select .select-item {padding: 10px 15px;cursor: pointer;color: #fff;border-top: 1px solid #ffffff1a;font-size: 14px;transition: background 0.2s;}
#wtm-calculator .calc-select .select-item:first-child {margin-top: 20px;border-top: none;}
#wtm-calculator .calc-select .select-item:last-child {border-bottom: none;}
#wtm-calculator .calc-select .select-item:hover {background-color: #2a2a2a;}
#wtm-calculator .calc-select .select-item.selected {background-color: rgba(var(--e-global-color-primary-rgb, 213, 123, 39), 0.2);color: #ffa726;}



#wtm-calculator .select-items.open::-webkit-scrollbar {width: 6px;}
#wtm-calculator .select-items.open::-webkit-scrollbar-track {background: #f1f1f1;border-radius: 3px;}
#wtm-calculator .select-items.open::-webkit-scrollbar-thumb {background: rgb(248, 163, 2);border-radius: 3px;}

#wtm-asic-custom {flex: 2;}









@media (max-width: 767px) {
.calc-select {width: 100%;min-width: auto;}
#wtm-asic-custom {flex: 1;}	
.wtm-row{grid-template-columns:1fr;}
.wtm-asic-info{flex-direction:column;align-items:flex-start;gap:5px}
.table-wrap{overflow-x:auto}
.wtm-table th:first-child,.wtm-table td:first-child{background:#1d1f21;border-left: 0;}
.wtm-currency-option {height: 45px;}
.wtm-table th {min-width: 76px;line-height: 1.5;text-align: center;}
}

