#wp-xpath-tester *{        
box-sizing:border-box;        
}        
        
#wp-xpath-tester{        
background:#f8fafc;        
color:#111;        
font-family:Arial,sans-serif;        
padding:0;        
border-radius:12px;        
}        
        
#wp-xpath-tester .header{        
background:#fff;        
padding:20px 20px 10px;        
border-radius:10px;        
margin-bottom:15px;        
border:1px solid #e2e8f0;        
}        
        
#wp-xpath-tester h2{        
margin:0 0 10px;        
font-size:22px;        
}        
        
#wp-xpath-tester .layout{        
display:grid;        
grid-template-columns:1fr;        
gap:15px;        
}        
        
#wp-xpath-tester .panel{        
background:#fff;        
border:1px solid #dbe3ee;        
border-radius:10px;        
overflow:hidden;        
}        
        
#wp-xpath-tester .panel-header{        
padding:15px;        
background:#e2e8f0;        
color:#000;        
font-weight:bold;        
}        
        
#wp-xpath-tester .content{        
padding:15px;        
}        
        
#wp-xpath-tester label{        
display:block;        
margin-bottom:8px;        
font-size:14px;        
font-weight:bold;        
color:#111;        
}        
        
#wp-xpath-tester input[type="file"],        
#wp-xpath-tester input[type="text"],        
#wp-xpath-tester select{        
width:100%;        
border:1px solid #ddd;        
border-radius:8px;        
padding:12px;        
background:#fff;        
font-size:14px;        
color:#111;        
}        
        
#wp-xpath-tester input[type="file"]::file-selector-button{        
border:none;        
background:#eee;        
color:#555;        
padding:10px 14px;        
border-radius:6px;        
margin-right:12px;        
cursor:pointer;        
font-weight:bold;        
}        
        
#wp-xpath-tester .grid{        
display:grid;        
grid-template-columns:1fr;        
gap:15px;        
}        
        
#wp-xpath-tester .controls{        
display:flex;        
flex-wrap:wrap;        
gap:10px;        
margin-top:15px;        
}        
        
#wp-xpath-tester button{        
border:none;
    border-radius:5px;
    padding:10px 20px;
    background:#1b6997;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
  font-size: 14px !important;
    font-weight: 500;
}        
        
#wp-xpath-tester button:hover{        
opacity:.9;        
background:#d95a00 !important;        
}        
        
#wp-xpath-tester .results{        
padding:15px;        
}        
        
#wp-xpath-tester .result{        
padding:12px;        
border-radius:8px;        
margin-bottom:10px;        
font-size:14px;        
line-height:1.5;        
}        
        
#wp-xpath-tester .error{        
background:#fee2e2;        
border-left:5px solid #ef4444;        
color:#7f1d1d;        
}        
        
#wp-xpath-tester .success{        
background:#dcfce7;        
border-left:5px solid #22c55e;        
color:#14532d;        
}        
        
#wp-xpath-tester .warning{        
background:#fef3c7;        
border-left:5px solid #f59e0b;        
color:#92400e;        
}        
        
#wp-xpath-tester .CodeMirror{        
height:320px;
    font-size:14px;
    background:#fff;
    color:#111;
	padding: 5px;
    border:1px solid #ddd;
    margin-top:10px;
    margin-bottom:10px;
}

  #wp-xpath-tester .xml-editor {
	height: 320px;
	font-size: 14px;
	font-family: monospace;
	background: #fff;
	color: #111;
	border: 1px solid #ddd;
	border-radius: 0;
	outline: none;
	padding: 10px;
	margin-top: 0;
	margin-bottom: 0;
	width: 100%;
}


#wp-xpath-tester .xml-editor:focus {
	outline: none;
}       
        
#wp-xpath-tester .CodeMirror-gutters{        
background:#fff;        
border-right:1px solid #e2e8f0;        
}        
        
#wp-xpath-tester .CodeMirror-placeholder{        
color:#777 !important;        
opacity:1 !important;        
}        
        
#xpath-output-box{        
display:none;        
margin-top:25px;        
background:#fff;        
border:1px solid #dbe3ee;        
border-radius:10px;        
overflow:hidden;        
}        
        
#xpath-output-box .CodeMirror{        
height:450px !important;        
margin:10px;        
font-size:12px;        
}        
        
#xpath-output-box .CodeMirror-scroll{        
overflow-x:hidden !important;        
overflow-y:auto !important;        
}        
        
#wp-xpath-tester .switch-wrap{      
    display:flex;      
    align-items:center;      
    gap:12px;      
    margin-top:25px;      
}      
        
@media(max-width:900px){        
        
#wp-xpath-tester .grid{        
grid-template-columns:1fr;        
}        
        
}        
        
#wp-xpath-tester .xpath-expression{        
display:block !important;        
width:100% !important;        
height:44px !important;        
padding:12px !important;        
border:1px solid #ddd !important;        
border-radius:8px !important;        
background:#fff !important;        
color:#111 !important;        
font-size:14px !important;        
outline:none;        
}        
      
      
#wp-xpath-tester .toggle-switch{      
    position:relative;      
    display:inline-block;      
    width:54px;      
    height:30px;      
    flex-shrink:0;      
}      
      
#wp-xpath-tester .toggle-switch input{      
    opacity:0;      
    width:0;      
    height:0;      
}      
      
#wp-xpath-tester .toggle-slider{      
    position:absolute;      
    inset:0;      
    cursor:pointer;      
    background:#cbd5e1;      
    border-radius:999px;      
    transition:.25s;      
}      
      
#wp-xpath-tester .toggle-slider:before{      
    content:"";      
    position:absolute;      
    width:24px;      
    height:24px;      
    left:3px;      
    top:3px;      
    background:#fff;      
    border-radius:50%;      
    transition:.25s;      
}      
      
#wp-xpath-tester .toggle-switch input:checked + .toggle-slider{      
    background:#1b6997;      
}      
      
#wp-xpath-tester .toggle-switch input:checked + .toggle-slider:before{      
    transform:translateX(24px);      
}      
      
#wp-xpath-tester .toggle-text{      
    font-size:14px;      
    color:#111;      
}      
	
	#wp-xpath-tester .xml-error-line{
    background:#fee2e2 !important;
}

  #wp-xpath-tester .loading{        
background:#dbeafe;        
border-left:5px solid #1b6997;        
color:#1b6997;        
display:flex;        
align-items:center;        
gap:12px;        
}        
        
#wp-xpath-tester .spinner{        
width:18px;        
height:18px;        
border:3px solid #93c5fd;        
border-top:3px solid #1b6997;        
border-radius:50%;        
animation:qrSpinner .8s linear infinite;        
flex-shrink:0;        
}        
        
@keyframes qrSpinner{        
from{        
transform:rotate(0deg);        
}        
to{        
transform:rotate(360deg);        
}        
}