
.menu2 {
  display: none;
  position: absolute;
  opacity: 0;
  margin: 0;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
  list-style: none;
  background-color: #ffffff;
  border-radius: 4px;
}

.menu2-item {
  display: block;
  position: relative;
  min-width: 60px;
  margin: 0;
  padding: 6px 16px;
  font: bold 12px sans-serif;
  color: rgba(0, 0, 0, .87);
  cursor: pointer;
}

.menu2-item::before {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #000000;
}

.menu2-item:hover::before {
  opacity: .04;
}

.menu2 .menu2 {
  top: -8px;
  left: 100%;
}

.show-menu2, .menu2-item:hover > .menu2 {
  display: block;
  opacity: 1;
}

.zoomSlider {
  position: absolute;
  padding: 0;
  opacity: .75;
  z-index: 99;
  width: 125px;
  height: 25px;
  top: 0px;
  left: 0px;
}

.zoomButton {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding: 0;
  transition: opacity .2s;
}

.zoomRangeContainer {
  display: inline-block;
  vertical-align: top;
  padding: 0;
}

.zoomRangeInput {
  margin: 0;
  padding: 0;
  outline: none;
  transition: opacity .2s;
  background: transparent;
  -webkit-appearance: none;
}

.zoomSlider {
    top: 12px;
    left: 12px;
    width: 180px;
    height: 38px;
    opacity: 1;
    border-radius: 14px;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.zoomButton {
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #0f172a;
    font-weight: 800;
}

.zoomButton:hover {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.34);
}

.zoomRangeContainer {
    flex: 1;
}

.zoomRangeInput {
    width: 100%;
    opacity: 1;
}


.zoomRangeInput::-webkit-slider-runnable-track {
  box-sizing: border-box;
  border: none;
  width: 100%;
  height: 3px;
  background: #ccc;
}
.zoomRangeInput::-moz-range-track {
  box-sizing: border-box;
  border: none;
  width: 100%;
  height: 3px;
  background: #ccc;
}
.zoomRangeInput::-ms-track {
  box-sizing: border-box;
  border: none;
  width: 100%;
  height: 3px;
  background: #ccc;
  color: transparent;
}
.zoomRangeInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -3.33px;
  box-sizing: border-box;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.zoomRangeInput::-moz-range-thumb {
  box-sizing: border-box;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.zoomRangeInput::-ms-thumb {
  margin-top: 0;
  box-sizing: border-box;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.zoomRangeInput::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -5.5px;
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.zoomRangeInput::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.zoomRangeInput::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(148, 163, 184, 0.55);
    border-radius: 999px;
}

.zoomRangeInput::-moz-range-track {
    height: 4px;
    background: rgba(148, 163, 184, 0.55);
    border-radius: 999px;
}

.layui-layer-msg .layui-layer-content {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22) !important;
    font-size: 14px !important;
    font-weight: 700;
}

.layui-layer-tips .layui-layer-content {
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2) !important;
    font-size: 13px !important;
    font-weight: 600;
}
.zoomRangeInput::-ms-tooltip,
.zoomRangeInput::-ms-fill-lower,
.zoomRangeInput::-ms-fill-upper {
  display: none;
}
.code{
    line-height:20px;
    overflow: hidden;
    max-height: 30px;
    white-space: pre-wrap;
    display: none;
}
body{
    margin:0px;
    content-zooming:none;
    font-family: arial;
}
input {
    font-size: 20px;
}

select {
    font-size: 20px;
}
textarea {
    font-size: 20px;
}
button.btnDelete {
    border-radius: 8px;
    background-color: #f44336;
    font-size: 22px;
    padding: 2px 8px;
}
#table1 thead {
    background-color: #33aaff;
    color: yellow;
}

.redips-drag {
    cursor: move;
    margin: auto;
    background-color: white;
    text-align: center;
    font-size: 22pt; 
	padding:1px;
    height: 35px;
    line-height: 35px;
	position: relative;display: inline-block;
    
    border-radius: 12px; 
    -moz-border-radius: 4px; 
    -webkit-user-select: none;
}


.fa {
	color:#33aa33;
}

.content a {
    font-size:22px;
}


table.drag {
    background-color: #ddd;
    border-collapse: collapse;
    margin: 0px;
}
table#table2 td{
    width:120px;
}
table.drag td {
    border: 1px white solid;
    height: 50px;
    line-height:0px;
    text-align: center;
    font-size: 10pt;
    -webkit-user-select: none;
}
 
table.login td {
    border: 0px white solid;
	
	height: 20px;
	
    text-align: center;
    font-size: 10pt;
}
 


div.edit{
	padding-top: 7px;	
	padding-right: 7px;
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}
div.redips-drag:hover .edit {
	display: block;
}

table.link {
    border-collapse: collapse;
	width:100%;
	height:100%;
    margin: 0px;
}
table.link td {
    border: 0px blue solid;
	height: 20px;
    text-align: center;
    font-size: 10pt;
}



.green {
    border: 2px solid #499B33;
}


a {

}

.top-toolbar-shell {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.floating-panel {
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16) !important;
    overflow: hidden;
}

.floating-panel-nav {
    width: 190px !important;
}

.floating-panel-nav .floating-panel-body {
    max-height: calc(100vh - 130px);
    overflow: auto;
}

.floating-panel-nav .panel-action-btn {
    min-height: 30px;
    padding: 0 10px;
    margin: 0 6px 6px 0;
    font-size: 12px !important;
}

.floating-panel-nav .diagram-toolbar-search {
    height: 30px;
    font-size: 12px !important;
}

.floating-panel-clipboard {
    min-width: 400px;
    min-height: 300px;
}

.floating-panel-clipboard .ui-resizable-handle {
    z-index: 90;
}

.floating-panel-clipboard .ui-resizable-se {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, transparent 50%, #94a3b8 50%);
    border-bottom-right-radius: 5px;
}

.floating-panel-clipboard .ui-resizable-sw {
    width: 16px;
    height: 16px;
    background: linear-gradient(225deg, transparent 50%, #94a3b8 50%);
    border-bottom-left-radius: 5px;
}

.floating-panel-clipboard .ui-resizable-ne {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, transparent 50%, #94a3b8 50%);
    border-top-right-radius: 5px;
}

.floating-panel-clipboard .ui-resizable-nw {
    width: 16px;
    height: 16px;
    background: linear-gradient(315deg, transparent 50%, #94a3b8 50%);
    border-top-left-radius: 5px;
}

.floating-panel-header,
.output-panel-header {
    background: linear-gradient(135deg, #eff6ff, #f8fafc) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
    color: #0f172a;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    padding: 10px 12px !important;
}

.floating-panel-body {
    padding: 12px !important;
}

.floating-panel-footer {
    background: rgba(248, 250, 252, 0.88);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    height: auto !important;
    min-height: 54px;
    padding: 10px 12px !important;
}

.floating-panel-canvas {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.panel-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: #475569;
    font-weight: 700;
    transition: all 0.18s ease;
}

.panel-icon-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a;
}

.panel-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 6px 8px 0;
    padding: 0 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #1e293b;
    font-size: 13px !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    transition: all 0.18s ease;
}

.panel-action-btn:hover {
    transform: translateY(-1px);
    background: #f8fbff !important;
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.12);
}

.panel-action-btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.panel-action-btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    color: #ffffff;
}

.panel-action-btn-clear {
    margin-bottom: 10px;
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.panel-action-btn-clear:hover {
    background: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(239, 68, 68, 0.32);
}

.diagram-main-canvas {
    border: none !important;
    border-radius: 18px 18px 0 0;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 24%),
        linear-gradient(180deg, #f8fbff, #eef4fb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.diagram-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 68px !important;
    padding: 10px 12px !important;
    background: rgba(248, 250, 252, 0.96) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.04);
}

.diagram-toolbar-compact {
    min-height: 54px !important;
    padding: 8px 10px !important;
    gap: 6px;
}

.diagram-toolbar-compact .diagram-toolbar-btn {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px !important;
}

.diagram-toolbar-compact .diagram-toolbar-search {
    height: 30px;
    font-size: 12px !important;
}

.toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.toolbar-row-links {
    padding-top: 2px;
}

.toolbar-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.toolbar-group-search {
    margin-left: auto;
}

.toolbar-group-more {
    flex: 0 0 auto;
}

.toolbar-more {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.diagram-toolbar-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: #ffffff !important;
    color: #0f172a;
    font-size: 13px !important;
    font-weight: 600;
    transition: all 0.18s ease;
}

.diagram-toolbar-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.34) !important;
    background: #f8fbff !important;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.diagram-toolbar-label {
    margin-left: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.diagram-toolbar-search {
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    font-size: 14px !important;
    background: #ffffff;
}

.diagram-toolbar-links {
    display: flex;
    flex: 1 1 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 0;
    font-size: 13px;
    line-height: 1.8;
}

.diagram-toolbar-links a {
    color: #334155 !important;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.diagram-toolbar-links a:hover {
    color: #1d4ed8 !important;
    background: #eff6ff;
}

.output-panel {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2) !important;
}

.output-panel-docked {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 260px;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: 0 -14px 40px rgba(15, 23, 42, 0.18) !important;
}

.output-panel-floating {
    border-radius: 18px !important;
}

.output-panel-docked .output-panel-content {
    border-radius: 0 !important;
}

.output-panel-docked .output-panel-links {
    border-radius: 0 !important;
}

.output-panel-docked .output-panel-header {
    border-radius: 0 !important;
}

.output-panel-docked.ui-resizable > .ui-resizable-n {
    height: 10px;
    top: -6px;
    cursor: ns-resize;
}

.output-panel-docked.ui-resizable > .ui-resizable-n::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 3px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.6);
}

.output-panel-title {
    color: #0f172a;
    font-size: 14px;
}

.output-panel-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wss-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.75);
    color: #334155;
    white-space: nowrap;
}

.wss-badge-on {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #166534;
}

.wss-badge-off {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.22);
    color: #991b1b;
}

.wss-badge-warn {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    color: #92400e;
}

.wss-queue {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.75);
    color: #475569;
    white-space: nowrap;
}

.log-line {
    padding: 2px 0;
}

.log-out {
    color: #cbd5e1;
}

.log-info {
    color: #93c5fd;
}

.log-ok {
    color: #86efac;
}

.log-warn {
    color: #fdba74;
}

.log-err {
    color: #fca5a5;
}

.output-panel-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.output-panel-subbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.output-subbar-spacer {
    flex: 1 1 auto;
}

.output-links-btn {
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.output-links-btn:hover {
    border-color: rgba(59, 130, 246, 0.32);
    background: #ffffff;
    color: #1d4ed8;
}

.output-links-pop {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 520px;
    max-width: calc(100% - 20px);
    max-height: 240px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    z-index: 10000;
}

.output-links-pop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
}

.output-links-pop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    max-height: 190px;
    overflow: auto;
}

.output-tab-btn {
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.output-tab-btn:hover {
    border-color: rgba(59, 130, 246, 0.32);
    background: #ffffff;
    color: #1d4ed8;
}

.output-tab-btn-active {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
    color: #1d4ed8;
}

.output-tab-attn {
    border-color: rgba(239, 68, 68, 0.38) !important;
    background: rgba(239, 68, 68, 0.12) !important;
    color: #b91c1c !important;
}

.output-panel-body-row {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.output-side-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 8px;
    background: rgba(248, 250, 252, 0.92);
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    flex: 0 0 auto;
}

.output-side-tabs .output-tab-btn {
    width: 54px;
}

.output-panel-floating .output-side-tabs {
    border-bottom-left-radius: 18px;
}

.output-panel-main {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}

.output-panel-main .output-panel-content {
    flex: 1 1 auto;
    min-height: 0;
}

.output-panel-floating .output-panel-main .output-panel-content {
    border-bottom-left-radius: 0 !important;
}

.output-panel-content {
    padding: 12px 14px !important;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.98)) !important;
    color: #dbeafe;
    font-size: 13px !important;
    line-height: 1.7;
    border-radius: 0 0 18px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}

/* legacy output-panel-links removed (replaced by output-links-pop) */

.output-link-item {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 10px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #1d4ed8 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.output-link-item:hover {
    background: #dbeafe;
    border-color: rgba(37, 99, 235, 0.35);
}

/* legacy output-panel-links-clear removed */

.output-panel-content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.output-panel-content::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}

#myOverviewDiv {
    width: 100% !important;
    height: 240px !important;
    margin-top: 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.72);
}

.layui-layer.make-layer {
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.22) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

.layui-layer.make-layer .layui-layer-title {
    background: linear-gradient(135deg, #eff6ff, #f8fafc) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
    font-weight: 800;
    color: #0f172a;
}

.layui-layer.make-layer .layui-layer-content {
    background: #ffffff;
    padding: 0 !important;
}

.make-layer-body {
    height: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
}

.make-layer-body input[type="text"] {
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff;
}

.make-layer-body button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    margin: 0 6px 8px 0;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.18s ease;
}

.make-layer-body button:hover {
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.12);
}

.make-layer-body textarea {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.98));
    color: #dbeafe;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
    font-size:16px;
    white-space: nowrap;
}


.redips-drag {
	cursor: move;
	margin: auto;
	z-index: 10;
	text-align: center;
	font-size: 16pt; 
	opacity: 0.7;
	filter: alpha(opacity=70);
	
	
	width: 200px;
	height: 35px;
	line-height: 35px;
}



div#redips-drag table {
	border-collapse: collapse;
	
	margin: 0px auto;
}
		
		div#redips-drag #table2 {
			
			margin-left: auto;
			width: 430px;
		}



div#redips-drag table td,th {
	border-style: double;
	height: 50px;
	text-align: center;
	font-size: 10pt;
}


div#redips-drag table td {
    border-color: #DDC5B5;
    font-weight: normal;
}


div#redips-drag table th {
    border-width: 3px 0px 0px 3px;
    border-color: #DDC5B5;
    font-weight: normal;
}


div#redips-drag table .upper_right {
    border-width: 0px;
}


div#redips-drag table .lower_left {
    border-width: 0px;
}




.drag_green {
    border: 2px solid #499B33;
    background-color: #499B33;
}

.drag_orange {
    border: 2px solid #BF6A30;
    background-color: #FFAA30;
}

.drag_blue {
    border: 2px solid #306ABF;
}

.drag_red {
    border: 2px solid #FF7799;
    background-color: #FF77AA;
}


#main_container {
    margin: auto;
    width: 99%;
}

#redips-drag {
    
    border: 0px dashed SteelBlue;
    width: 100%;
    height: 700px;
    padding: 3px;
}


#main_container #left {
    width: 880px;
    height: 710px;
    float: left;
    margin-right: 20px;
    
    border: 0px solid SlateGray;
    background-color: #eee;
}

#main_container #middle {
    width: 260px;
    height: 700px;
    float: left;
    
    border: 0px solid SlateGray;
    background-color: #eee;
}

#main_container #right {
    width: 150px;
    height: 700px;
    float: right;
    
    border: 0px solid SlateGray;
    background-color: #eee;
}



#main_container #left,#right,#middle{
                overflow: auto;
    position: relative;
}
.redips-row {
    width: 20px;
    margin: 2px;
    border: 2px solid LightBlue;
    background-color: SteelBlue;
    border-radius: 14px;
    -moz-border-radius: 14px;
}
.redips-rowhandler {
    background-color: #76ACDA;
}

/* ============ layer_edit 编辑弹窗（紧凑现代风） ============ */
.layui-layer .layer_edit {
    height: 100%;
    overflow: hidden;
}

.layui-layer-rim .layui-layer-content {
    overflow: hidden;
}

.layer_edit .edit-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: #ffffff;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.layer_edit .edit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}

.layer_edit .edit-row-2col {
    flex-wrap: wrap;
    gap: 10px 14px;
}

.layer_edit .edit-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.layer_edit .edit-label {
    flex: 0 0 64px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-align: right;
    box-sizing: border-box;
}

.layer_edit .edit-label-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.layer_edit .edit-field {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.layer_edit .edit-input,
.layer_edit .edit-input-small,
.layer_edit .edit-select {
    height: 30px;
    padding: 0 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.layer_edit .edit-input {
    flex: 1 1 auto;
    min-width: 0;
}

.layer_edit .edit-input-small {
    width: 60px;
    flex: 0 0 60px;
}

.layer_edit .edit-select {
    min-width: 110px;
    max-width: 180px;
}

.layer_edit .edit-input:focus,
.layer_edit .edit-input-small:focus,
.layer_edit .edit-select:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.layer_edit .edit-textarea {
    flex: 1 1 auto;
    min-height: 60px;
    max-height: 220px;
    padding: 6px 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.layer_edit .edit-textarea:focus {
    border-color: rgba(59, 130, 246, 0.6);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.layer_edit .edit-row-code {
    align-items: flex-start;
}

.layer_edit .edit-row-code .edit-label {
    padding-top: 6px;
}

.layer_edit .edit-mini-btn {
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.layer_edit .edit-mini-btn:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: #eff6ff;
    color: #1d4ed8;
}

.layer_edit .edit-save-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border-color: transparent;
}

.layer_edit .edit-save-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
}

.layer_edit .edit-emoji-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.7);
}

.layer_edit .emoji-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.layer_edit .emoji-btn:hover {
    background: rgba(59, 130, 246, 0.14);
}

.layer_edit .edit-row-actions {
    justify-content: flex-end;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.layer_edit .edit-save-big {
    min-width: 110px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
    transition: all 0.18s ease;
}

.layer_edit .edit-save-big:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.32);
}

.layer_edit .edit-save-big:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.layer_edit #color option,
.layer_edit #color_font option {
    padding: 4px 8px;
}

.layer_edit .edit-tip {
    font-size: 11px;
    color: #64748b;
    margin-left: 8px;
}
