:root {

--phpandajs-blue: #0d6efd;
--phpandajs-indigo: #6610f2;
--phpandajs-purple: #6f42c1;
--phpandajs-pink: #d63384;
--phpandajs-red: #dc3545;
--phpandajs-orange: #fd7e14;
--phpandajs-yellow: #ffc107;
--phpandajs-green: #198754;
--phpandajs-teal: #20c997;
--phpandajs-cyan: #0dcaf0;
--phpandajs-white: #fff;
--phpandajs-gray: #6c757d;
--phpandajs-gray-dark: #343a40;

--phpandajs-primary: #0d6efd;
--phpandajs-secondary: #6c757d;
--phpandajs-success: #198754;
--phpandajs-info: #0dcaf0;
--phpandajs-warning: #ffc107;
--phpandajs-danger: #dc3545;
--phpandajs-light: #f8f9fa;
--phpandajs-dark: #212529;

--phpandajs-bg-primary: #0d6efd;
--phpandajs-bg-secondary: #6c757d;
--phpandajs-bg-success: #198754;
--phpandajs-bg-info: #0dcaf0;
--phpandajs-bg-warning: #ffc107;
--phpandajs-bg-danger: #dc3545;
--phpandajs-bg-light: #f8f9fa;
--phpandajs-bg-dark: #212529;

--phpandajs-font-family: Arial;
--phpandajs-font-size: 1rem;
--phpandajs-font-weight: 400;
--phpandajs-line-height: 1.5;

 --transition-duration: 0.3s;
 --transition-easing: ease;
 --animation-duration: 0.5s;
 --animation-easing: ease;
 --animation-fill-mode: forwards;
 

--cf-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
--cf-line-height: 1.3;
--cf-color-text: #222;
--cf-color-muted: #6b7280;
--cf-color-border: #d1d5db;
--cf-color-bg: #fff;
--cf-radius: 6px;
--cf-gap: 8px;
--cf-transition: 180ms cubic-bezier(.2,.9,.3,1);
--cf-focus-ring: 0 0 0 4px rgba(59,130,246,0.12);
--cf-chip-bg: #f3f4f6;
--cf-chip-border: #e5e7eb;
--cf-required-color: #e11d48; 

 

 
/* PHPANDAJS STATUS COLOR */
--phpandajs-color-primary: #66C736;
--phpandajs-color-success: #66C736;
--phpandajs-color-danger: #dc3545;
--phpandajs-color-warning: #ffc107;
--phpandajs-color-info: #3498db;
 
}

.phpandajs-status-primary {background: #3498db;}
.phpandajs-status-success {background: #28a745;}
.phpandajs-status-danger {background: #dc3545;}
.phpandajs-status-warning {background: #ffc107;}
.phpandajs-status-info {background: #17a2b8;}

/* COLUMNS */
[class*="xxs-col-"] {flex: 0 0 auto;}

/* VISUALLYIMPARED */
.phpandajs-visuallyimpared-trigger {width: 150px; height: 48px; display: inline-block; align-items: center; justify-content: center; background: #ffffff; border: 1px solid #ccc; border-radius: 50%; font-size: 24px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 10001; transition: transform 0.2s ease;}
.phpandajs-visuallyimpared-trigger:hover {transform: scale(1.05);}

/* INTERNET STATUS */
.internetstatus {position:fixed; bottom:0px; left:0px; z-index:1000; width:100%; background-color: #ff4444; color: white; padding: 15px; text-align: center; font-family: Arial, sans-serif; font-size: 16px; font-weight: bold; display: none; opacity: 0; transition: opacity 250ms ease;}
.internetstatus.internetstatus--visible {display: block; opacity: 1;}
body.offline [id^="favorite_"], body.offline [id^="cartbutton_"] {display: none !important;}

/* ADDCART */
.phpandajs-addcart, .phpandajs-addcart-active {display:inline-block; width:30px; height:30px; font-size:30px; font-weight:bold; z-index:1; cursor:pointer;}
.phpandajs-addfavorite {color:#CFCFCF;}
.phpandajs-addfavorite::before {content: "\f417"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: 400 !important; font-variant: normal; text-transform: none; line-height: 1; vertical-align: -.125em;}
.phpandajs-addfavorite-active {color:red;}
.phpandajs-addcart-active::before {content: "\f415"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: 400 !important; font-variant: normal; text-transform: none; line-height: 1; vertical-align: -.125em;}

/* ADDFAVORITE */
.phpandajs-addfavorite, .phpandajs-addfavorite-active {display:inline-block; width:30px; height:30px; font-size:30px; font-weight:bold; z-index:1; cursor:pointer;}
.phpandajs-addfavorite {color:#CFCFCF;}
.phpandajs-addfavorite::before {content: "\f417"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: 400 !important; font-variant: normal; text-transform: none; line-height: 1; vertical-align: -.125em;}
.phpandajs-addfavorite-active {color:red;}
.phpandajs-addfavorite-active::before {content: "\f415"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: 400 !important; font-variant: normal; text-transform: none; line-height: 1; vertical-align: -.125em;}

/* SEARCHBAR */
.phpandajs-searchbar {position: relative; float: right; width: 100%; max-width: calc(100% - 550px); min-height: 50px; overflow: visible; display: block;}
.phpandajs-searchbar-inner {position: relative; width: 100%; height: 46px; margin:10px 0px 0px 0px;}
.phpandajs-searchbar-input {position: absolute; right: 0; width: 100%; height: 46px; padding: 0 38px 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 14px; outline: none; transform: translateX(0); opacity: 0; transition: transform .25s ease, opacity .25s ease, border-width .25s ease; z-index: 5;}
.phpandajs-searchbar-input.expanded {transform: translateX(0); opacity: 1; border-width: 1px;}
.phpandajs-searchbar-icon {position: absolute; right: 6px; top: 5px; font-size:30px; width: 28px; height: 28px; border: none; background: none; cursor: pointer; z-index: 10; padding: 0;}
.phpandajs-searchbar-input:focus + .phpandajs-searchbar-icon::before {color: #66C736;}

.phpandajs-searchbar-list {position: absolute;
top: calc(100% + 6px);
left: 0;
width: 100%;
max-height: 260px; 
overflow-y: auto;
background: #fff;
 border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); z-index: 9999; display: none;}
.phpandajs-searchbar-list .active {background: #eee;}
.phpandajs-searchbar mark {background: #66C736; color:#fff; padding: 0 2px;}


/* PRELOADER */
.phpandajs-preloader {position: relative;}
.preloader-active {position: relative; pointer-events: none; opacity: 0.6;}
.preloader-active::after {content: ""; position: absolute; inset: 0; margin: auto; width: 50px; height: 50px; border: 5px solid #ccc; border-top-color: #000; border-radius: 50%; animation: preloader-spin 0.8s linear infinite;}
@keyframes preloader-spin {to {transform: rotate(360deg);}}

/* LOADING BAR */
.phpandajs-loader-bar {background: #FFCC33; position: fixed; z-index: 100000000; top: 0; left: 0; width: 100%; height: 4px; pointer-events: none;}
.phpandajs-loader-peg {display: block; position: absolute; right: 0px; width: 4px; height: 4px; background: #FFCC33; border-radius:50%; opacity: 1.0; -webkit-transform: rotate(3deg) translate(0px, -4px); -ms-transform: rotate(3deg) translate(0px, -4px); transform: rotate(3deg) translate(0px, -4px);}
.phpandajs-loader-spinner {display: none; position: fixed; z-index: 1031; top: 15px; right: 15px;}
.phpandajs-loader-spinner-icon {width: 18px; height: 18px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #FFCC33; border-left-color: #FFCC33; border-radius: 50%; -webkit-animation: loadpagebar-spinner 400ms linear infinite; animation: loadpagebar-spinner 400ms linear infinite;}
@-webkit-keyframes loadpagebar-spinner {0% {-webkit-transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);}}
@keyframes loadpagebar-spinner {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}}

/* Animation Transition CSS */
.phpandajs-transition {transition: all var(--transition-duration) var(--transition-easing);}
.phpandajs-transition-opacity {transition: opacity var(--transition-duration) var(--transition-easing);}
.phpandajs-transition-transform {transition: transform var(--transition-duration) var(--transition-easing);}
.phpandajs-transition-colors {transition: color var(--transition-duration) var(--transition-easing), background-color var(--transition-duration) var(--transition-easing), border-color var(--transition-duration) var(--transition-easing);}
.phpandajs-transition-size {transition: width var(--transition-duration) var(--transition-easing), height var(--transition-duration) var(--transition-easing);}
.phpandajs-transition-shadow {transition: box-shadow var(--transition-duration) var(--transition-easing);}
.phpandajs-duration-100 {transition-duration: 0.1s;}
.phpandajs-duration-200 {transition-duration: 0.2s;}
.phpandajs-duration-300 {transition-duration: 0.3s;}
.phpandajs-duration-500 {transition-duration: 0.5s;}
.phpandajs-duration-700 {transition-duration: 0.7s;}
.phpandajs-duration-1000 {transition-duration: 1s;}
.phpandajs-delay-0 {transition-delay: 0s;}
.phpandajs-delay-100 {transition-delay: 0.1s;}
.phpandajs-delay-200 {transition-delay: 0.2s;}
.phpandajs-delay-300 {transition-delay: 0.3s;}
.phpandajs-delay-500 {transition-delay: 0.5s;}
.phpandajs-ease-linear {transition-timing-function: linear;}
.phpandajs-ease-in {transition-timing-function: cubic-bezier(0.4, 0, 1, 1);}
.phpandajs-ease-out {transition-timing-function: cubic-bezier(0, 0, 0.2, 1);}
.phpandajs-ease-in-out {transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}
.phpandajs-ease-bounce {transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);}
@keyframes phpandajs-fadeIn {from {opacity: 0;} to {opacity: 1;}}
@keyframes phpandajs-fadeOut {from {opacity: 1;} to {opacity: 0;}}
@keyframes phpandajs-slideInLeft {from {transform: translateX(-100%);} to {transform: translateX(0);}}
@keyframes phpandajs-slideInRight {from {transform: translateX(100%);} to {transform: translateX(0);}}
@keyframes phpandajs-slideInUp {from {transform: translateY(100%);} to {transform: translateY(0);}}
@keyframes phpandajs-slideInDown {from {transform: translateY(-100%);} to {transform: translateY(0);}}
@keyframes phpandajs-slideOutLeft {from {transform: translateX(0);} to {transform: translateX(-100%);}}
@keyframes phpandajs-slideOutRight {from {transform: translateX(0);} to {transform: translateX(100%);}}
@keyframes phpandajs-slideOutUp {from {transform: translateY(0);} to {transform: translateY(-100%);}}
@keyframes phpandajs-slideOutDown {from {transform: translateY(0);} to {transform: translateY(100%);}}
@keyframes phpandajs-zoomIn {from {opacity: 0; transform: scale(0.8);} to {opacity: 1; transform: scale(1);}}
@keyframes phpandajs-zoomOut {from {opacity: 1; transform: scale(1);} to {opacity: 0; transform: scale(0.8);}}
@keyframes phpandajs-rotateIn {from {opacity: 0; transform: rotate(-180deg);} to {opacity: 1; transform: rotate(0);}}
@keyframes phpandajs-rotateOut {from {opacity: 1; transform: rotate(0);} to {opacity: 0; transform: rotate(180deg);}}
@keyframes phpandajs-pulse {0% {transform: scale(1);} 50% {transform: scale(1.05);} 100% {transform: scale(1);}}
@keyframes phpandajs-shake {0%, 100% {transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);} 20%, 40%, 60%, 80% {transform: translateX(5px);}}
@keyframes phpandajs-bounce {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-20px);}}
.phpandajs-animate-fade-in {animation: phpandajs-fadeIn var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-fade-out {animation: phpandajs-fadeOut var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-in-left {animation: phpandajs-slideInLeft var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-in-right {animation: phpandajs-slideInRight var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-in-up {animation: phpandajs-slideInUp var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-in-down {animation: phpandajs-slideInDown var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-out-left {animation: phpandajs-slideOutLeft var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-out-right {animation: phpandajs-slideOutRight var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-out-up {animation: phpandajs-slideOutUp var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-slide-out-down {animation: phpandajs-slideOutDown var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-zoom-in {animation: phpandajs-zoomIn var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-zoom-out {animation: phpandajs-zoomOut var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-rotate-in {animation: phpandajs-rotateIn var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-rotate-out {animation: phpandajs-rotateOut var(--animation-duration) var(--animation-easing) var(--animation-fill-mode);}
.phpandajs-animate-pulse {animation: phpandajs-pulse 0.8s ease-in-out infinite;}
.phpandajs-animate-shake {animation: phpandajs-shake 0.5s ease-in-out infinite;}
.phpandajs-animate-bounce {animation: phpandajs-bounce 0.6s ease-in-out infinite;}
.phpandajs-animation-duration-100 {animation-duration: 0.1s;}
.phpandajs-animation-duration-200 {animation-duration: 0.2s;}
.phpandajs-animation-duration-300 {animation-duration: 0.3s;}
.phpandajs-animation-duration-500 {animation-duration: 0.5s;}
.phpandajs-animation-duration-700 {animation-duration: 0.7s;}
.phpandajs-animation-duration-1000 {animation-duration: 1s;}
.phpandajs-animation-delay-0 {animation-delay: 0s;}
.phpandajs-animation-delay-100 {animation-delay: 0.1s;}
.phpandajs-animation-delay-200 {animation-delay: 0.2s;}
.phpandajs-animation-delay-300 {animation-delay: 0.3s;}
.phpandajs-animation-delay-500 {animation-delay: 0.5s;}
.phpandajs-animation-once {animation-iteration-count: 1;}
.phpandajs-animation-twice {animation-iteration-count: 2;}
.phpandajs-animation-infinite {animation-iteration-count: infinite;}
.phpandajs-animation-normal {animation-direction: normal;}
.phpandajs-animation-reverse {animation-direction: reverse;}
.phpandajs-animation-alternate {animation-direction: alternate;}
.phpandajs-animation-alternate-reverse {animation-direction: alternate-reverse;}
.phpandajs-animation-fill-none {animation-fill-mode: none;}
.phpandajs-animation-fill-forwards {animation-fill-mode: forwards;}
.phpandajs-animation-fill-backwards {animation-fill-mode: backwards;}
.phpandajs-animation-fill-both {animation-fill-mode: both;}
.phpandajs-animation-ease-linear {animation-timing-function: linear;}
.phpandajs-animation-ease-in {animation-timing-function: cubic-bezier(0.4, 0, 1, 1);}
.phpandajs-animation-ease-out {animation-timing-function: cubic-bezier(0, 0, 0.2, 1);}
.phpandajs-animation-ease-in-out {animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}
.phpandajs-animation-running {animation-play-state: running;}
.phpandajs-animation-paused {animation-play-state: paused;}


/* ALERT */
.phpandajs-alert-modal {position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity .25s; z-index: 999999; text-align:center; width:100%;}
.phpandajs-alert-modal.visible {opacity: 1;}
.phpandajs-alert-modal-container {background: #fff; display:inline-block; margin-top:100px; border-radius: 8px; padding: 20px; width: 320px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform .25s;}
.phpandajs-alert-modal.visible .phpandajs-alert-modal-container {transform: translateY(0);}
.phpandajs-alert-modal-content {display: flex; flex-direction: column; gap: 20px;}
.phpandajs-alert-modal-btn {padding: 10px 20px; border: none; border-radius: 6px; color: #fff; cursor: pointer; outline: none; opacity:0.9;}
.phpandajs-alert-toast-container {position: fixed; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 999999;}
.phpandajs-alert-toast {width: 300px; background: #fff; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; transform: translateX(20px); transition: opacity .25s, transform .25s;}
.phpandajs-alert-toast.visible {opacity: 1; transform: translateX(0);}
.phpandajs-alert-toast-body {padding: 12px; display: flex; justify-content: space-between; align-items: center;}
.phpandajs-alert-toast-btn {padding: 6px 14px; border: none; border-radius: 4px; color: #fff; cursor: pointer; outline: none; opacity:0.9;}
.phpandajs-alert-modal-btn:hover, .phpandajs-alert-toast-btn:hover {opacity:1.0;}


/* TOAST */
.phpandajs-toast-container {position: fixed; z-index: 999999; display: flex; flex-direction: column; gap: 0.75rem; pointer-events: none;}
.phpandajs-toast-pos-top-right, .phpandajs-toast-pos-right-top {top: 1rem; right: 1rem; align-items: flex-end;}
.phpandajs-toast-pos-top-left, .phpandajs-toast-pos-left-top {top: 1rem; left: 1rem; align-items: flex-start;}
.phpandajs-toast-pos-bottom-right, .phpandajs-toast-pos-right-bottom {bottom: 1rem; right: 1rem; align-items: flex-end;}
.phpandajs-toast-pos-bottom-left, .phpandajs-toast-pos-left-bottom {bottom: 1rem; left: 1rem; align-items: flex-start;}
.phpandajs-toast-pos-center {top: 50%; left: 50%; transform: translate(-50%, -50%); align-items: center;}
.phpandajs-toast {min-width: 260px; max-width: 380px; background: #fff; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); pointer-events: auto; opacity: 0; transform: translateY(0.5rem) scale(0.95); transition: opacity 0.2s ease, transform 0.2s ease; overflow: hidden; backdrop-filter: blur(0);}
.phpandajs-toast-show {opacity: 1; transform: translateY(0) scale(1);}
.phpandajs-toast-hide {opacity: 0; transform: translateY(0.5rem) scale(0.95); transition: opacity 0.15s ease, transform 0.15s ease;}
.phpandajs-toast-info {border-left: 4px solid var(--phpandajs-color-info, #17a2b8);}
.phpandajs-toast-success {border-left: 4px solid var(--phpandajs-color-success, #28a745);}
.phpandajs-toast-warning {border-left: 4px solid var(--phpandajs-color-warning, #ffc107);}
.phpandajs-toast-error {border-left: 4px solid var(--phpandajs-color-error, #dc3545);}
.phpandajs-toast-primary {border-left: 4px solid var(--phpandajs-color-primary, #007bff);}
.phpandajs-toast-secondary {border-left: 4px solid var(--phpandajs-color-secondary, #6c757d);}
.phpandajs-toast-body {display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem;}
.phpandajs-toast-text {flex: 1; font-size: 0.875rem; line-height: 1.4; color: #1f2937; word-break: break-word;}
.phpandajs-toast-buttons {display: flex; gap: 0.5rem; margin-top: 0.5rem; padding: 0 1rem 0.75rem 1rem;}
.phpandajs-toast-btn {padding: 0.375rem 0.75rem; border: none; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: background 0.2s; background: var(--phpandajs-color-primary, #007bff); color: #fff;}
.phpandajs-toast-btn:hover {filter: brightness(0.9);}
.phpandajs-toast-progress {height: 3px; background: rgba(0, 0, 0, 0.1); width: 100%; transform-origin: left; transition: transform linear;}
.phpandajs-toast-progress::after {content: ''; display: block; height: 100%; width: 100%; background: var(--phpandajs-color-primary, #007bff); transform: scaleX(1); transform-origin: left;}
.phpandajs-toast-pos-center .phpandajs-toast {transform: translateY(0) scale(0.95);}
.phpandajs-toast-pos-center .phpandajs-toast-show {transform: translateY(0) scale(1);}
.phpandajs-toast-pos-center .phpandjs-toast-hide {transform: translateY(0) scale(0.95);}



/* MODAL */
.phpandajs-modal {position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; justify-content: center; align-items: center; z-index: 99990; opacity: 0; pointer-events: none; transition: opacity .25s ease;}
.phpandajs-modal.show {opacity: 1; pointer-events: auto;}
.phpandajs-modal.hide {opacity: 0; pointer-events: none;}
.phpandajs-modal-container {background: #fff; border-radius: 10px; width: 600px; max-width: 90%; max-height: 90%; display: flex; flex-direction: column; overflow: hidden; transform: scale(0.92); opacity: 0; transition: transform .25s ease, opacity .25s ease;}
.phpandajs-modal-container h1 {display:none !important;}
.phpandajs-modal.show .phpandajs-modal-container {transform: scale(1); opacity: 1;}
.phpandajs-modal-header {padding: 14px 18px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center;}
.phpandajs-modal-title {font-size: 18px; font-weight: 600; color: #333;}
.phpandajs-modal-close-btn {background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #666; transition: color .2s ease;}
.phpandajs-modal-close-btn:hover {color: #000;}
.phpandajs-modal-content {padding: 20px; overflow-y: auto; flex: 1;}
.phpandajs-modal-error {padding: 20px; background: #ffecec; border: 1px solid #ffb3b3; color: #b30000; border-radius: 6px;}
.phpandajs-modal-content::-webkit-scrollbar {width: 8px;}
.phpandajs-modal-content::-webkit-scrollbar-thumb {background: #ccc; border-radius: 4px;}




/* CONFIRM */
.phpandajs-confirm-modal {position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 9999;}
.phpandajs-confirm-modal.visible {opacity: 1; pointer-events: auto;}
.phpandajs-confirm-container {background: #fff; border-radius: 8px; min-width: 320px; max-width: 420px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transform: translateY(20px); transition: transform .2s ease;}
.phpandajs-confirm-modal.visible .phpandajs-confirm-container {transform: translateY(0);}
.phpandajs-confirm-container.status-primary {border-top: 4px solid #007bff;}
.phpandajs-confirm-container.status-success {border-top: 4px solid #28a745;}
.phpandajs-confirm-container.status-danger {border-top: 4px solid #dc3545;}
.phpandajs-confirm-container.status-warning {border-top: 4px solid #ffc107;}
.phpandajs-confirm-text {font-size: 16px; margin-bottom: 20px; color: #333;}
.phpandajs-confirm-buttons {display: flex; justify-content: flex-end; gap: 10px;}
.phpandajs-confirm-btn {padding: 8px 16px; border-radius: 4px; border: none; cursor: pointer; font-weight: 600; font-size: 14px; transition: background .15s ease, color .15s ease;}
.phpandajs-confirm-btn.ok {background: #007bff; color: #fff;}
.phpandajs-confirm-btn.ok:hover {background: #0069d9;}
.phpandajs-confirm-btn.cancel {background: #e0e0e0; color: #333;}
.phpandajs-confirm-btn.cancel:hover {background: #d5d5d5;}

/* CONSOLETYPING */
.phpandajs-consoletyping {display:block; width:100%; height:auto; min-height:40px; background:#000; padding:10px; border-radius:8px; display:block; clear:both; scrollbar-width: thin; scrollbar-color: #999 #e0e0e0;}
.phpandajs-consoletyping-text {color:#ffffff; font: 400 14px/16px 'Lucida COnsole';}

/* CUSTOMFIELD */
.phpandajs-input, .phpandajs-color-input, .phpandajs-select-hidden, .phpandajs-file-real, .phpandajs-select-search {font-family: 'Arial'; font-size: 14px; line-height: 30px; color: #222; box-sizing: border-box;}
.phpandajs-input-container {position: relative; display: block; margin: 0 0 12px 0;}
.phpandajs-input {width: 100%; padding: 12px 12px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; outline: none; transition: border-color 180ms cubic-bezier(.2,.9,.3,1), 180ms cubic-bezier(.2,.9,.3,1); -webkit-appearance: none; appearance: none;}
.phpandajs-input-label { position: absolute; left: 12px; top: 8px; transform: none; font-size: 14px; color: var(--cf-color-muted); pointer-events: none; transition: top 180ms cubic-bezier(.2,.9,.3,1), font-size 180ms cubic-bezier(.2,.9,.3,1), color 180ms; background: transparent; padding: 0 4px; line-height: 1; white-space: nowrap;}
.phpandajs-input-container .phpandajs-label-active { top: -8px; font-size: 12px; color: var(--cf-color-muted); background: var(--cf-color-bg);}
.phpandajs-input {padding-top: 8px; transition: padding-top 180ms;}
.phpandajs-input--compact { padding-top: 20px;}
.phpandajs-customfield-required {color: var(--cf-required-color); margin-left: 4px; font-size: 12px; vertical-align: middle;}
.phpandajs-input:focus {border-color: #3b82f6; box-shadow: var(--cf-focus-ring);}
.phpandajs-input[rows], textarea.phpandajs-input {min-height: 80px;}
.phpandajs-color-container { position: relative; margin-bottom: 12px;}
.phpandajs-color-input { padding-left: 12px; padding-right: 12px; margin-right:10px;}
:root{
 --lkz-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
 --lkz-size: 18px;
 --lkz-bg: #fff;
 --lkz-text: #111827;
 --lkz-muted: #6b7280;
 --lkz-focus: 0 0 0 4px rgba(59,130,246,0.12);
 --lkz-check-color: #fff;
 --lkz-checkmark-stroke: rgba(0,0,0,0.9);
 --lkz-transition: 160ms cubic-bezier(.2,.9,.3,1);
}
.phpandajs-checkbox-container, .phpandajs-radio-container {display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; vertical-align: middle; line-height: 1.5; font-family: var(--lkz-font-family); color: var(--lkz-text); margin-bottom:10px;}
.phpandajs-checkbox-container input[type="checkbox"], .phpandajs-radio-container input[type="radio"] {position: absolute; opacity: 0; width: 0; height: 0; margin: 0; pointer-events: none;}
.phpandajs-checkbox-mark, .phpandajs-radio-mark {display: inline-flex; align-items: center; justify-content: center; width: var(--lkz-size); height: var(--lkz-size); box-sizing: border-box; flex: 0 0 var(--lkz-size); transition: background var(--lkz-transition), border-color var(--lkz-transition), transform var(--lkz-transition), box-shadow var(--lkz-transition); background: var(--lkz-bg); border: 1px solid #d1d5db; color: var(--lkz-check-color);}
.phpandajs-checkbox-mark {border-radius: 4px;}
.phpandajs-radio-mark {border-radius: 50%;}
.phpandajs-checkbox-mark::after {content: ""; display: block; width: 10px; height: 6px; border-left: 2px solid var(--lkz-check-color); border-bottom: 2px solid var(--lkz-check-color); transform: rotate(-45deg) scale(0); transform-origin: center; transition: transform var(--lkz-transition) ease; opacity: 0; margin-bottom: 2px;}
.phpandajs-radio-mark::after {content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--lkz-check-color); transform: scale(0); transition: transform var(--lkz-transition) ease; opacity: 0;}
.phpandajs-checkbox-container input[type="checkbox"]:checked + .phpandajs-checkbox-mark::after {transform: rotate(-45deg) scale(1); opacity: 1;}
.phpandajs-radio-container input[type="radio"]:checked + .phpandajs-radio-mark::after {transform: scale(1); opacity: 1;}
.phpandajs-checkbox-container input[type="checkbox"]:checked + .phpandajs-checkbox-mark {background: var(--checkbox-color, #2563eb); border-color: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);}
.phpandajs-radio-container input[type="radio"]:checked + .phpandajs-radio-mark {background: var(--radio-color, #2563eb); border-color: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);}
.phpandajs-checkbox-container.colorcheckbox-mode .phpandajs-checkbox-mark {background: var(--cf-color, transparent); border-color: transparent;}
.phpandajs-checkbox-container.colorcheckbox-mode input[type="checkbox"]:checked + .phpandajs-checkbox-mark {background: var(--cf-color, #f97316); border-color: transparent;}
.phpandajs-radio-container.colorradio-mode .phpandajs-radio-mark {background: var(--cf-color, transparent); border-color: transparent;}
.phpandajs-radio-container.colorradio-mode input[type="radio"]:checked + .phpandajs-radio-mark {background: var(--cf-color, #f97316); border-color: transparent;}
.phpandajs-checkbox-container:hover .phpandajs-checkbox-mark, .phpandajs-radio-container:hover .phpandajs-radio-mark {border-color: #9ca3af; transform: translateY(-1px);}
.phpandajs-checkbox-container input[type="checkbox"]:focus + .phpandajs-checkbox-mark, .phpandajs-radio-container input[type="radio"]:focus + .phpandajs-radio-mark {box-shadow: var(--lkz-focus); border-color: #3b82f6;}
.phpandajs-checkbox-container[aria-disabled="true"], .phpandajs-radio-container[aria-disabled="true"], .phpandajs-checkbox-container input[disabled] + .phpandajs-checkbox-mark, .phpandajs-radio-container input[disabled] + .phpandajs-radio-mark {opacity: 0.6; cursor: not-allowed;}
.phpandajs-required {color: #e11d48; margin-left: 6px; font-size: 12px; vertical-align: middle;}
.phpandajs-checkbox-mark.small, .phpandajs-radio-mark.small { width: 14px; height: 14px;}
.phpandajs-checkbox-mark.large, .phpandajs-radio-mark.large { width: 22px; height: 22px;}
@media (max-width: 480px) {
:root { --lkz-size: 16px;}
.phpandajs-checkbox-container, .phpandajs-radio-container { gap: 6px;}
}
.phpandajs-file-container {display: flex; align-items: center; gap: 12px; border: 1px solid #cccccc; padding: 10px; border-radius: 6px; background: #fff; position: relative; margin: 8px 0;}
.phpandajs-file-real {position: absolute; left: 8px; top: 8px; opacity: 0; width: 1px; height: 1px; pointer-events: none;}
.phpandajs-file-wrapper {display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1 1 auto;}
.phpandajs-file-display {flex: 1 1 auto; color: var(--cf-color-text); font-size: 14px; min-height: 20px; display: flex; align-items: center;}
.phpandajs-file-icon {width: 36px; height: 36px; border-radius: 6px; background: #fff; border: 1px solid var(--cf-color-border); display: inline-flex; align-items: center; justify-content: center; color: var(--cf-color-muted); flex: 0 0 36px;}
.phpandajs-file-label {color: var(--cf-color-muted); font-size: 13px; white-space: nowrap;}
.phpandajs-file-container.phpandajs-active {border-style: solid; border-color: #10b981; background: #f0fdf4;}
.phpandajs-file-display.phpandajs-has-file { font-weight: 600; color: #065f46;}
.phpandajs-select-container {position: relative; width: 100%; font-family: inherit;}
.phpandajs-select-hidden {position: absolute; opacity: 0; pointer-events: none; width: 100%; height: 100%; top: 0; left: 0;}
.phpandajs-select-legend {position: absolute; left: 0.75rem; top: 0.75rem; font-size: 1rem; color: #6c757d; transition: all 0.2s ease; pointer-events: none; background: transparent; padding: 0 0.25rem; transform-origin: left top; white-space: nowrap;}
.phpandajs-select-legend.phpandajs-label-active {top: -0.5rem; left: 0.5rem; font-size: 0.75rem; color: #007bff; background: #fff; padding: 0 0.25rem;}
.phpandajs-select-display {width: 100%; min-height: 42px; padding: 0.75rem 2rem 0.75rem 0.75rem; border: 1px solid #ced4da; border-radius: 0.375rem; background: #fff; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; font-size: 1rem; line-height: 1.5; color: #212529; word-break: break-word;}
.phpandajs-select-container.phpandajs-select-focused .phpandajs-select-display {border-color: #007bff; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);}
.phpandajs-select-placeholder {color: #6c757d;}
.phpandajs-select-value {color: #212529;}
.phpandajs-select-display::after {content: "\25BC"; position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); font-size: 0.75rem; color: #6c757d; pointer-events: none; transition: transform 0.2s;}
.phpandajs-select-container.phpandajs-select-focused .phpandajs-select-display::after {transform: translateY(-50%) rotate(180deg);}
.phpandajs-select-dropdown {position: absolute; top: calc(100% + 0.25rem); left: 0; width: 100%; max-height: 250px; overflow-y: auto; background: #fff; border: 1px solid #ced4da; border-radius: 0.375rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); z-index: 1000; display: none;}
.phpandajs-select-dropdown.phpandajs-open {display: block;}
.phpandajs-select-search {width: calc(100% - 1rem); margin: 0.5rem; padding: 0.5rem 0.75rem; border: 1px solid #ced4da; border-radius: 0.25rem; font-size: 0.875rem; outline: none;}
.phpandajs-select-search:focus {border-color: #007bff; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);}
.phpandajs-select-option {padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.875rem; color: #212529; transition: background 0.15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.phpandajs-select-option:hover {background: #f8f9fa;}
.phpandajs-select-option.phpandajs-selected {background: #e9ecef; color: #007bff; font-weight: 500;}
.phpandajs-select-option[style*="display: none"] {display: none !important;}
.phpandajs-select-chip {display: inline-flex; align-items: center; gap: 0.25rem; background: #e9ecef; color: #212529; border-radius: 2rem; padding: 0.25rem 0.5rem; margin: 0.125rem; font-size: 0.75rem;}
.phpandajs-select-chip-remove {cursor: pointer; font-weight: bold; font-size: 1rem; line-height: 1; color: #6c757d; margin-left: 0.25rem;}
.phpandajs-select-chip-remove:hover {color: #dc3545;}
.phpandajs-select-no-results {padding: 0.75rem; text-align: center; color: #6c757d; font-size: 0.875rem;}
.phpandajs-select-container.disabled .phpandajs-select-display {background: #e9ecef; cursor: not-allowed; opacity: 0.65;}
.phpandajs-select-container.disabled .phpandajs-select-display::after {opacity: 0.5;}
@media (max-width: 768px) {
.phpandajs-select-display {min-height: 38px; padding: 0.5rem 2rem 0.5rem 0.75rem; font-size: 0.875rem;}
.phpandajs-select-legend {top: 0.625rem; font-size: 0.875rem;}
.phpandajs-select-legend.phpandajs-label-active {top: -0.5rem; font-size: 0.7rem;}
}
.phpandajs-input[disabled], .phpandajs-select-display[aria-disabled="true"], .phpandajs-checkbox-container[aria-disabled="true"] {opacity: 0.6; cursor: not-allowed;}
.phpandajs-input--compact { padding: 8px; font-size: 13px;}
@media (max-width: 480px) {
.phpandajs-select-dropdown { max-height: 240px;}
.phpandajs-file-icon { width: 30px; height: 30px; flex: 0 0 30px;}
.phpandajs-select-chip { padding: 5px 7px; font-size: 12px;}
}
.phpandajs-input:focus-visible, .phpandajs-select-display:focus-visible, .phpandajs-select-search:focus-visible, .phpandajs-file-wrapper:focus-visible {outline: none; box-shadow: var(--cf-focus-ring);}
@media (forced-colors: active) {
.phpandajs-input, .phpandajs-select-display, .phpandajs-file-container {border: 1px solid WindowText; background: Window; color: WindowText;}
}

/* DIGITSPINNER */
.phpandajs-digitspinner-container {display: inline-flex; align-items: stretch; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-family: system-ui, -apple-system, sans-serif; box-sizing: border-box;}
.phpandajs-digitspinner-input {width: 80px; padding: 6px 8px; border: none; text-align: center; font-size: 14px; outline: none; background: transparent; color: #111;}
.phpandajs-digitspinner-buttons {display: flex; flex-direction: column; border-left: 1px solid #ccc;}
.phpandajs-digitspinner-buttons-arrows, .phpandajs-digitspinner-buttons-plusminus {flex-direction: row;}
.phpandajs-digitspinner-btn {background: #f5f5f5; border: none; padding: 4px 10px; cursor: pointer; font-size: 14px; line-height: 1; transition: background 0.2s ease; coly : ?? ; font-weight: normal; text-align: center;}
.phpandajs-digitspinner-btn:hover {background: #e0e0e0;}
.phpandajs-digitspinner-btn:active {background: #ccc;}
.phpandajs-digitspinner-buttons-arrows .phpandajs-digitspinner-btn, .phpandajs-digitspinner-buttons-plusminus .phpandajs-digitspinner-btn {padding: 6px 12px; min-width: 32px;}
.phpandajs-digitspinner-buttons-arrows .phpandajs-digitspinner-btn:first-child, .phpandajs-digitspinner-buttons-plusminus .phpandajs-digitspinner-btn:first-child {border-left: none;}
.phpandajs-digitspinner-buttons-updown .phpandajs-digitspinner-btn {padding: 3px 10px; font-size: 12px;}

/* DATEPICKER */
.phpandajs-datepicker-container {position: relative; width: 250px; height:275px;}
.phpandajs-datepicker-calendar {position: absolute; top: 100%; left: 0; z-index: 1000; width: 100%; max-width:250px; background: white; border: 1px solid #ccc; border-radius: 4px; padding: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.2);}
.phpandajs-datepicker-header {display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;}
.phpandajs-datepicker-nav {background: none; border: none; cursor: pointer; font-size: 16px; padding: 5px; color: #4a4a4a;}
.phpandajs-datepicker-nav:hover {color: #945FCB;}
.phpandajs-datepicker-title {cursor: pointer; font-weight: bold;}
.phpandajs-datepicker-title span {margin: 0 2px;}
.phpandajs-datepicker-title span:hover {color: #945FCB;}
.phpandajs-datepicker-weekdays {display: grid; grid-template-columns: repeat(7, 30px); gap: 2px; margin-bottom: 5px;}
.phpandajs-datepicker-weekday {width: 30px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold;}
.phpandajs-datepicker-days {display: grid; grid-template-columns: repeat(7, 30px); gap: 2px;}
.phpandajs-datepicker-day {width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 3px;}
.phpandajs-datepicker-day:hover {background-color: #f0f0f0;}
.phpandajs-datepicker-day.selected {background-color: #945FCB; color: white;}
.phpandajs-datepicker-day.disabled {color: #ccc; cursor: not-allowed;}
.phpandajs-datepicker-day.other-month {color: #999;}
.phpandajs-datepicker-months {display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;}
.phpandajs-datepicker-month {padding: 10px; text-align: center; cursor: pointer; border-radius: 3px;}
.phpandajs-datepicker-month:hover {background-color: #f0f0f0;}
.phpandajs-datepicker-month.disabled {color: #ccc; cursor: not-allowed;}
.phpandajs-datepicker-years {display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; max-height: 200px; overflow-y: auto;}
.phpandajs-datepicker-year {padding: 10px; text-align: center; cursor: pointer; border-radius: 3px;}
.phpandajs-datepicker-year:hover {background-color: #f0f0f0;}
.phpandajs-datepicker-year.disabled {color: #ccc; cursor: not-allowed;}

/* TIMEPICKER */
.phpandajs-datetimepicker {position: absolute; width: 250px; height:275px; z-index: 99999; background: #fff; border: 1px solid #dcdcdc; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); overflow: visible; padding: 0; font-family: sans-serif;}
.phpandajs-datetimepicker-clearbar {padding: 6px 10px; border-top: 1px solid #e5e5e5; text-align: right; background: #fafafa;}
.phpandajs-datetimepicker-clearbar button {background: #f44336; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 13px;}
.phpandajs-datetimepicker-clearbar button:hover {background: #d32f2f;}
.phpandajs-datetimepicker-time {padding: 10px; width: 250px; background: #fff;}
.phpandajs-datetimepicker-time-labels {display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #444;}
.phpandajs-datetimepicker-time-wheels {display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px;}
.phpandajs-datetimepicker-wheel {width: 50%; height: 160px; overflow: hidden; position: relative; border: 1px solid #ddd; border-radius: 6px; background: #fafafa;}
.phpandajs-datetimepicker-wheel-list {position: absolute; top: 0; left: 0; width: 100%;}
.phpandajs-datetimepicker-wheel-item {height: 32px; line-height: 32px; text-align: center; font-size: 16px; color: #333; cursor: pointer;}
.phpandajs-datetimepicker-wheel-item.active {background: #1976d2; color: #fff; font-weight: bold; border-radius: 4px;}
.phpandajs-datetimepicker-wheel-item.disabled {color: #bbb; pointer-events: none;}
.phpandajs-datetimepicker-time-buttons {display: flex; justify-content: space-between; margin-top: 10px;}
.phpandajs-datetimepicker-time-buttons button {flex: 1; margin: 0 4px; padding: 8px 0; font-size: 14px; border-radius: 6px; border: none; cursor: pointer;}
.phpandajs-datetimepicker-time-buttons button:first-child {background: #e0e0e0; color: #333;}
.phpandajs-datetimepicker-time-buttons button:first-child:hover {background: #d5d5d5;}
.phpandajs-datetimepicker-apply {background: #4caf50 !important; color: #fff !important;}
.phpandajs-datetimepicker-apply:hover {background: #43a047 !important;}

/* SLIDER */
.phpandajs-slider {position: relative; width: 100%; height: 32px; user-select: none; touch-action: none;}
.phpandajs-slider-track {position: relative; background: #e5e5e5; border-radius: 4px; cursor: pointer; overflow: visible;}
.phpandajs-slider-track.horizontal {width: 100%; height: 6px; top: 50%; transform: translateY(-50%);}
.phpandajs-slider-track.vertical {width: 6px; height: 100%; left: 50%; transform: translateX(-50%);}
.phpandajs-slider-fill {position: absolute; background: #3b82f6; border-radius: 4px; transition: width .15s ease, height .15s ease;}
.phpandajs-slider-fill.horizontal {height: 100%; width: 0%;}
.phpandajs-slider-fill.vertical {width: 100%; bottom: 0; height: 0%;}
.phpandajs-slider-handle {position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid #3b82f6; border-radius: 50%; cursor: grab; transition: box-shadow .15s ease, transform .15s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.15);}
.phpandajs-slider-handle:active {cursor: grabbing; box-shadow: 0 4px 10px rgba(0,0,0,0.25); transform: scale(1.05);}
.phpandajs-slider-track.horizontal .phpandajs-slider-handle {top: 50%; transform: translate(-50%, -50%);}
.phpandajs-slider-track.vertical .phpandajs-slider-handle {left: 50%; transform: translate(-50%, 50%);}
.phpandajs-slider-value {position: absolute; background: #3b82f6; color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 11px; white-space: nowrap; pointer-events: none; transition: opacity .15s ease, transform .15s ease; opacity: 0.95;}
.phpandajs-slider-value.horizontal {top: -26px; left: 50%; transform: translateX(-50%);}
.phpandajs-slider-value.vertical {left: 26px; top: 50%; transform: translateY(-50%);}
.phpandajs-slider:hover .phpandajs-slider-handle {box-shadow: 0 3px 8px rgba(0,0,0,0.2);}
.phpandajs-slider:hover .phpandajs-slider-fill {background: #2563eb;}
.phpandajs-slider[disabled] {opacity: 0.5; pointer-events: none;}

/* COPY */
.phpandajs-copy-btn {display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; font-size: 12px; line-height: 1.4; border-radius: 4px; border: 1px solid #ccc; background: rgba(255,255,255,0.9); color: #333; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;}
.phpandajs-copy-btn:hover {background: #fff; border-color: #66C736; color: #000;}
.phpandajs-copy-btn-success {border-color: #66C736; background:#66C736; color: #ffffff;}

/* CODEMARKUP */
.phpandajs-code {background: #1e1e1e; color: #dcdcdc; padding: 12px 14px; border-radius: 6px; overflow-x: auto; font-family: Consolas, Monaco, monospace; font-size: 14px; line-height: 1.5;}
.cm-keyword {color: #569cd6;}
.cm-string {color: #ce9178;}
.cm-tag {color: #4ec9b0;}

/* SHOWMORE */
[data-phpandajs-showmore] {overflow: hidden; transition: max-height 0.3s ease-out;}
[data-phpandajs-showmore].collapsed {overflow: hidden;}
.showmore-button {display: inline-block; margin-top: 0.75rem; padding: 0.5rem 1rem; background: #f0f0f0; border: 1px solid #ccc; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; color: #333; cursor: pointer; transition: all 0.2s ease; user-select: none;}
.showmore-button:hover {background: #e6e6e6; border-color: #aaa;}
.showmore-button:active {transform: scale(0.98);}
.showmore-button.hidden {display: none;}
.showmore-button[data-state="collapsed"]::before {content: "Р Р†РІР‚вЂњРЎВ"; display: inline-block; margin-right: 0.5rem; font-size: 0.75rem; transition: transform 0.2s;}
.showmore-button[data-state="expanded"]::before {content: "Р Р†РІР‚вЂњР вЂ "; display: inline-block; margin-right: 0.5rem; font-size: 0.75rem; transition: transform 0.2s;}
.showmore-error {background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; border-radius: 0.375rem; padding: 0.75rem; margin-top: 0.5rem; font-size: 0.875rem;}
.showmore-error .showmore-retry {background: #dc3545; color: #fff; border: none; border-radius: 0.25rem; padding: 0.25rem 0.75rem; margin-left: 0.75rem; cursor: pointer; font-size: 0.75rem;}
.showmore-error .showmore-retry:hover {background: #bd2130;}
[data-phpandajs-showmore] {will-change: max-height;}
[data-phpandajs-showmore].collapsed {max-height: var(--showmore-collapsed-height, 200px);}
@media (max-width: 768px) {
.showmore-button {padding: 0.4rem 0.8rem; font-size: 0.8rem;}
.showmore-error {font-size: 0.75rem;}
}

/* TABS */
.phpandajs-tabs {position: relative; width: 100%; box-sizing: border-box; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #222; background: #fff;}
.phpandajs-tabs.tabs-horizontal {display: flex; flex-direction: column;}
.phpandajs-tabs.tabs-vertical {display: flex; flex-direction: row; min-height: 260px;}
.phpandajs-tabs-titles {display: flex; flex-wrap: nowrap; align-items: stretch; background: #f5f5f7; border-bottom: 1px solid #dcdce0; overflow: hidden; position: relative; z-index: 2;}
.phpandajs-tabs.tabs-horizontal .phpandajs-tabs-titles {flex-direction: row;}
.phpandajs-tabs.tabs-vertical .phpandajs-tabs-titles {flex-direction: column; width: 220px; flex-shrink: 0; border-right: 1px solid #dcdce0; border-bottom: none; overflow-y: auto;}
.phpandajs-tabs-title {padding: 10px 16px; cursor: pointer; white-space: nowrap; box-sizing: border-box; border: none; background: transparent; color: #555; font-size: 14px; line-height: 1.4; transition: background 0.15s ease, color 0.15s ease; user-select: none;}
.phpandajs-tabs.tabs-horizontal .phpandajs-tabs-title {border-right: 1px solid #e5e5e8;}
.phpandajs-tabs.tabs-vertical .phpandajs-tabs-title {border-bottom: 1px solid #e5e5e8;}
.phpandajs-tabs-title:hover {background: #ececf0;}
.phpandajs-tabs-title.active {background: #ffffff; color: #000; font-weight: 600; position: relative;}
.phpandajs-tabs.tabs-horizontal .phpandajs-tabs-title.active::after {content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #2684ff;}
.phpandajs-tabs.tabs-vertical .phpandajs-tabs-title.active::after {content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 3px; background: #2684ff;}
.phpandajs-tabs-title:focus {outline: 2px solid #2684ff; outline-offset: -2px;}
.phpandajs-tabs-contents {position: relative; flex: 1 1 auto; padding: 16px 18px; background: #ffffff; box-sizing: border-box; min-height: 60px;}
.phpandajs-tabs.tabs-vertical .phpandajs-tabs-contents {overflow-y: auto;}
.phpandajs-tabs-content {display: none; opacity: 0; transform: translateY(4px); transition: opacity 0.18s ease, transform 0.18s ease;}
.phpandajs-tabs-content.active {display: block; opacity: 1; transform: translateY(0);}
.tabs-error {padding: 12px 14px; border-radius: 4px; background: #fff3f3; color: #b00020; font-size: 13px;}
.tabs-scroll-left, .tabs-scroll-right {position: absolute; top: 0; bottom: 0; width: 28px; border: none; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); cursor: pointer; z-index: 3; display: none; align-items: center; justify-content: center; color: #444; font-size: 16px; transition: background 0.15s ease;}
.tabs-scroll-left:hover, .tabs-scroll-right:hover {background: rgba(240,240,240,0.9);}
.tabs-scroll-left {left: 0; border-right: 1px solid #ddd;}
.tabs-scroll-right {right: 0; border-left: 1px solid #ddd;}
.phpandajs-tabs.tabs-vertical .tabs-scroll-left, .phpandajs-tabs.tabs-vertical .tabs-scroll-right {left: 0; right: 0; width: 100%; height: 28px;}
.phpandajs-tabs.tabs-vertical .tabs-scroll-left {top: 0; border-bottom: 1px solid #ddd;}
.phpandajs-tabs.tabs-vertical .tabs-scroll-right {bottom: 0; top: auto; border-top: 1px solid #ddd;}
@media (max-width: 767.98px) {
.phpandajs-tabs.tabs-mobile {display: flex; flex-direction: column;}
.phpandajs-tabs.tabs-mobile .phpandajs-tabs-titles {flex-direction: row; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #ddd; border-right: none;}
.phpandajs-tabs.tabs-mobile .phpandajs-tabs-title {border-bottom: none; border-right: 1px solid #e5e5e8;}
.tabs-scroll-left, .tabs-scroll-right {height: 100%; top: 0; bottom: 0;}
}

/* ACCORDION */
.phpandajs-accordion-title {position: relative; cursor: pointer; padding: 12px 40px 12px 12px; background: #f3f3f3; border-bottom: 1px solid #ddd; user-select: none;}
.phpandajs-accordion-title.active {background: #e8e8e8;}
.phpandajs-accordion-icon {position: absolute; right: 12px; top: 50%; transform: translateY(-50%);}
.phpandajs-accordion-content {overflow: hidden; max-height: 0; padding: 0 12px; border-bottom: 1px solid #ddd;}
.phpandajs-accordion-content.active {padding: 12px;}
.accordion-animated {transition: max-height .25s ease;}
.accordion-fixed-height {max-height: var(--accordion-height); overflow: auto;}

/* TREEVIEW */
.phpandajs-treeview {list-style: none; padding-left: 0; font-family: sans-serif;}
.tree-node {margin: 4px 0;}
.tree-title {cursor: pointer; padding: 6px 8px; background: #f3f3f3; border: 1px solid #ddd; position: relative; user-select: none;}
.tree-node.open > .tree-title {background: #e8e8e8;}
.tree-icon {position: absolute; right: 8px; top: 50%; transform: translateY(-50%);}
.tree-children {overflow: hidden; padding-left: 20px;}
.tree-animated {transition: max-height .25s ease;}

/* RANGESLIDER */
.phpandajs-rangeslider {position: relative; box-sizing: border-box; user-select: none; display: block;}
.phpandajs-rangeslider-disabled {opacity: 0.5; pointer-events: none;}
.phpandajs-rangeslider-track {position: relative; background: #ddd; border-radius: 3px; overflow: visible;}
.phpandajs-rangeslider-track.horizontal {height: 4px; margin: 14px 0;}
.phpandajs-rangeslider-track.vertical {width: 4px; height: 100%; margin: 0 auto;}
.phpandajs-rangeslider-fill {position: absolute; background: #4a90e2; border-radius: 3px; transition: left .15s ease, width .15s ease, top .15s ease, height .15s ease;}
.phpandajs-rangeslider-fill.horizontal {height: 4px;}
.phpandajs-rangeslider-fill.vertical {width: 4px;}
.phpandajs-rangeslider-handle {position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid #4a90e2; border-radius: 50%; box-sizing: border-box; cursor: pointer; transform: translate(-50%, -50%); transition: border-color .15s ease, background .15s ease; touch-action: none;}
.phpandajs-rangeslider-handle:hover, .phpandajs-rangeslider-handle:focus {border-color: #2d6bb3; outline: none;}
.phpandajs-rangeslider-track.horizontal .phpandajs-rangeslider-handle {top: 50%;}
.phpandajs-rangeslider-track.vertical .phpandajs-rangeslider-handle {left: 50%;}
.phpandajs-rangeslider-value {position: absolute; font-size: 11px; color: #333; white-space: nowrap; pointer-events: none;}
.phpandajs-rangeslider-value.horizontal {top: -18px; left: 50%; transform: translateX(-50%);}
.phpandajs-rangeslider-value.vertical {left: 22px; top: 50%; transform: translateY(-50%);}
.phpandajs-rangeslider-tooltip {position: absolute; background: #4a90e2; color: #fff; padding: 2px 6px; font-size: 11px; border-radius: 4px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -120%); transition: opacity .15s ease; opacity: 1;}
.phpandajs-rangeslider-tooltip.horizontal {top: -6px;}
.phpandajs-rangeslider-tooltip.vertical {left: 22px; top: 50%; transform: translateY(-50%);}
.phpandajs-rangeslider-handle:focus-visible {outline: 2px solid #4a90e2; outline-offset: 2px;}

/* MOBILE KEYBOARD */
.phpandajs-mobilekeyboard {display: inline-block; width:100%; background: #ffffff; padding: 5px; user-select: none;}
.phpandajs-mobilekeyboard-grid {display: flex; flex-direction: column; gap: 12px;}
.phpandajs-mobilekeyboard-row {display: flex; gap: 12px; justify-content: center;}
.phpandajs-mobilekeyboard-btn {width: 55px; height: 55px; font-size: 30px; font-weight: bold; border: none; border-radius: 8px; background: white; box-shadow: 0 2px 4px rgba(0,0,0,0.1); cursor: pointer; transition: 0.1s; font-family: monospace; color:#767676;}
.phpandajs-mobilekeyboard-btn:hover, .phpandajs-mobilekeyboard-btn:active {background: #66C736; color:#ffffff;}
.phpandajs-mobilekeyboard-clear-btn {background: #ffebee; color: #c62828;}
.phpandajs-mobilekeyboard-enter-btn {background: #e8f5e9; color: #2e7d32;}
.phpandajs-mobilekeyboard-enter-btn.disabled {background: #ccc; color: #aaa; opacity:0.5;}
.phpandajs-mobilekeyboard-input {border: none !important; outline: none !important; background: #ffffff !important; width:100%; text-align:center; color: #767676; font: 600 18px/24px 'Mulish';}
@media (max-width: 480px) {
.phpandajs-mobilekeyboard-btn {width: 50px; height: 50px; font-size: 20px;}
}



















/* -------------------------------
  Media Viewer Overlay
-------------------------------- */
.phpandajs-media-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.9);
 z-index: 100000;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 0.3s ease;
 pointer-events: none;
}

.phpandajs-media-overlay.active {
 opacity: 1;
 pointer-events: auto;
}

/* -------------------------------
  Main Container
-------------------------------- */
.phpandajs-media-container {
 position: relative;
 width: 90%;
 height: 90%;
 max-width: 1200px;
 max-height: 90vh;
 background: transparent;
 border-radius: 8px;
 overflow: hidden;
 display: flex;
 flex-direction: column;
}

/* -------------------------------
  Wrapper for media content
-------------------------------- */
.phpandajs-media-wrapper {
 flex: 1;
 display: flex;
 align-items: center;
 justify-content: center;
 background: transparent;
 overflow: hidden;
 position: relative;
}

/* -------------------------------
  Caption & Counter
-------------------------------- */
.phpandajs-media-caption {
 padding: 10px 20px;
 background: rgba(0,0,0,0.7);
 color: #fff;
 font-size: 14px;
 text-align: center;
 border-top: 1px solid #333;
}

.phpandajs-media-counter {
 position: absolute;
 top: 15px;
 right: 60px;
 background: rgba(0,0,0,0.6);
 color: #fff;
 padding: 4px 10px;
 border-radius: 20px;
 font-size: 12px;
 z-index: 10;
}

/* -------------------------------
  Navigation Buttons (Prev/Next)
-------------------------------- */
.phpandajs-media-nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0,0,0,0.6);
 color: #fff;
 border: none;
 font-size: 36px;
 width: 50px;
 height: 80px;
 cursor: pointer;
 z-index: 20;
 transition: background 0.2s;
 display: flex;
 align-items: center;
 justify-content: center;
 pointer-events: auto; /* Р В Р’В Р РЋРІР‚СћР В Р’В Р вЂ™Р’В±Р В Р Р‹Р В Р РЏР В Р’В Р вЂ™Р’В·Р В Р’В Р вЂ™Р’В°Р В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’ВµР В Р’В Р вЂ™Р’В»Р В Р Р‹Р В Р вЂ°Р В Р’В Р В РІР‚В¦Р В Р’В Р РЋРІР‚Сћ */
}

.phpandajs-media-nav:hover {
 background: rgba(0,0,0,0.9);
}

.phpandajs-media-prev {
 left: 0;
 border-radius: 0 8px 8px 0;
}

.phpandajs-media-next {
 right: 0;
 border-radius: 8px 0 0 8px;
}

/* -------------------------------
  CLOSE BUTTON (Р В Р’В Р РЋРІР‚СњР В Р Р‹Р В РІР‚С™Р В Р’В Р вЂ™Р’ВµР В Р Р‹Р В РЎвЂњР В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р РЋРІР‚ВР В Р’В Р РЋРІР‚Сњ) Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљ Р В Р’В Р РЋРІР‚СњР В Р Р‹Р В РІР‚С™Р В Р’В Р РЋРІР‚ВР В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р РЋРІР‚ВР В Р Р‹Р Р†Р вЂљР Р‹Р В Р’В Р вЂ™Р’ВµР В Р Р‹Р В РЎвЂњР В Р’В Р РЋРІР‚СњР В Р’В Р РЋРІР‚В Р В Р’В Р В РІР‚В Р В Р’В Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В¶Р В Р’В Р В РІР‚В¦Р В Р’В Р РЋРІР‚Сћ
-------------------------------- */
.phpandajs-media-close {
 position: absolute;
 top: 15px;
 right: 15px;
 width: 40px;
 height: 40px;
 background: rgba(0,0,0,0.7);
 border: none;
 color: #fff;
 font-size: 28px;
 font-weight: bold;
 cursor: pointer;
 z-index: 30;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background 0.2s;
 pointer-events: auto; /* Р В Р’В Р РЋРІР‚вЂњР В Р’В Р вЂ™Р’В°Р В Р Р‹Р В РІР‚С™Р В Р’В Р вЂ™Р’В°Р В Р’В Р В РІР‚В¦Р В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р РЋРІР‚ВР В Р Р‹Р В Р РЏ Р В Р’В Р РЋРІР‚СњР В Р’В Р вЂ™Р’В»Р В Р’В Р РЋРІР‚ВР В Р’В Р РЋРІР‚СњР В Р’В Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В±Р В Р’В Р вЂ™Р’ВµР В Р’В Р вЂ™Р’В»Р В Р Р‹Р В Р вЂ°Р В Р’В Р В РІР‚В¦Р В Р’В Р РЋРІР‚СћР В Р Р‹Р В РЎвЂњР В Р Р‹Р Р†Р вЂљРЎв„ўР В Р’В Р РЋРІР‚В */
 line-height: 1;
}

.phpandajs-media-close:hover {
 background: #c00;
}

/* -------------------------------
  Thumbnails
-------------------------------- */
.phpandajs-media-thumbnails {
 display: flex;
 gap: 8px;
 overflow-x: auto;
 padding: 10px;
 background: #111;
 border-top: 1px solid #333;
 scrollbar-width: thin;
}

.phpandajs-media-thumbnail {
 width: 60px;
 height: 60px;
 object-fit: cover;
 cursor: pointer;
 border: 2px solid transparent;
 border-radius: 4px;
 transition: border 0.2s;
 pointer-events: auto;
}

.phpandajs-media-thumbnail.active {
 border-color: #fff;
}

/* -------------------------------
  Media Content Styles
-------------------------------- */
.phpandajs-media-image,
.phpandajs-media-video,
.phpandajs-media-audio,
.phpandajs-media-pdf,
.phpandajs-media-embed,
.phpandajs-media-iframe {
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
}

/* -------------------------------
  Responsive adjustments
-------------------------------- */
@media (max-width: 768px) {
 .phpandajs-media-container {
 width: 95%;
 height: 80%;
}
 .phpandajs-media-nav {
 width: 40px;
 font-size: 28px;
}
 .phpandajs-media-close {
 width: 36px;
 height: 36px;
 font-size: 24px;
 top: 8px;
 right: 8px;
}
 .phpandajs-media-counter {
 top: 8px;
 right: 50px;
}
}





/* SLIDESHOW */
.phpandajs-slideshow {position: relative; width: 100%; overflow: hidden; user-select: none;}
.phpandajs-slideshow-wrapper {display: flex; flex-wrap: nowrap; transition: transform 0.5s ease; will-change: transform;}
.phpandajs-slideshow-slide {flex: 0 0 100%; position: relative; overflow: hidden;}
.phpandajs-slideshow:not(.phpandajs-slideshow-fade) .phpandajs-slideshow-slide {flex: 0 0 calc(100% / var(--slides-count, 1));}
.phpandajs-slideshow-item {position: relative; width: 100%; height: auto; min-height:100px; background-size: contain; background-position: top center; background-repeat: no-repeat; transition: background-image 0.3s ease;}
.phpandajs-slideshow-content {position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(0,0,0,0.6); color: white; padding: 10px 15px; border-radius: 8px; font-size: 1rem; text-align: center; pointer-events: none;}
.phpandajs-slideshow-fade .phpandajs-slideshow-slide {flex: 0 0 100%; transition: opacity 0.5s ease;}
.phpandajs-slideshow-fade .phpandajs-slideshow-slide:not(.phpandajs-slideshow-active) {opacity: 0; visibility: hidden; position: absolute; top: 0; left: 0; width: 100%;}
.phpandajs-slideshow-fade .phpandajs-slideshow-slide.phpandajs-slideshow-active {opacity: 1; visibility: visible; position: relative;}
.phpandajs-slideshow-controls {position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; z-index: 10;}
.phpandajs-slideshow-arrow {pointer-events: auto; background: rgba(0,0,0,0.5); color: white; border: none; font-size: 2rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s;}
.phpandajs-slideshow-arrow:hover {background: rgba(0,0,0,0.8);}
.phpandajs-slideshow-arrow:active {transform: scale(0.95);}
.phpandajs-slideshow-dots {position: absolute; bottom: 15px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 10;}
.phpandajs-slideshow-dot {width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: background 0.3s, transform 0.2s; padding: 0;}
.phpandajs-slideshow-dot.phpandajs-slideshow-active {background: white; transform: scale(1.2);}
.phpandajs-slideshow-dot:hover {background: rgba(255,255,255,0.9);}
.phpandajs-slideshow-item[data-lazy-bg] {background-image: none !important;}
.phpandajs-slideshow-item {transition: background-image 0.2s ease;}
@media (max-width: 768px) {
.phpandajs-slideshow:not(.phpandajs-slideshow-fade) .phpandajs-slideshow-slide {flex-basis: calc(100% / min(var(--slides-count, 1), 2));}
.phpandajs-slideshow-arrow {width: 32px; height: 32px; font-size: 1.5rem;}
.phpandajs-slideshow-content {font-size: 0.8rem; bottom: 10px; left: 10px; right: 10px; padding: 6px 10px;}
}

/* DATATABLE */
.phpandajs-datatable{display:flex; flex-direction:column; gap:16px; font-family:Arial, sans-serif; font-size:14px;}
.phpandajs-datatable-header{display:block;}

.phpandajs-datatable-search {
 margin-bottom: 12px;
}
.phpandajs-datatable-search-input {
 width: 100%;
 padding: 8px 12px;
 border: 1px solid #ccc;
 border-radius: 4px;
 font-size: 14px;
 box-sizing: border-box;
}
.phpandajs-datatable-search-input:focus {
 border-color: #007bff;
 outline: none;
}

/* -----   () ----- */
.phpandajs-datatable-filters,
.phpandajs-datatable-externalfilters {
 display: flex;
 flex-wrap: wrap;
 gap: 16px 20px;
 margin-bottom: 16px;
 padding: 12px;
 background: transparent;
 border-radius: 6px;
 align-items: flex-end;
}
.phpandajs-datatable-filterrow {
 display: flex;
 flex-direction: column;
 gap: 4px;
 min-width: 160px;
}
.phpandajs-datatable-filterrow h6 {
 margin: 0;
 font-size: 13px;
 font-weight: 600;
 color: #333;
}

/* -----  SELECT (   selectbox-) ----- */
.phpandajs-datatable-custom-select {
 position: relative;
 display: inline-block;
 min-width: 180px;
 width: 100%;
}

/*   */
.phpandajs-datatable-custom-select .phpandajs-select-legend {
 position: absolute;
 left: 12px;
 top: 50%;
 transform: translateY(-50%);
 font-size: 14px;
 color: #999;
 pointer-events: none;
 transition: all 0.2s ease;
 background: #fff;
 padding: 0 4px;
 z-index: 1;
}
.phpandajs-datatable-custom-select .phpandajs-select-legend.phpandajs-label-active {
 top: -8px;
 font-size: 11px;
 color: #007bff;
 background: #fff;
 transform: translateY(0);
 padding: 0 4px;
}

/* Display- ( ) */
.phpandajs-datatable-custom-select .phpandajs-select-display {
 padding: 8px 12px;
 border: 1px solid #ccc;
 border-radius: 4px;
 background: #fff;
 cursor: pointer;
 min-height: 38px;
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 4px;
 transition: border-color 0.2s;
 font-size: 14px;
 color: #333;
}
.phpandajs-datatable-custom-select .phpandajs-select-display:focus-within {
 border-color: #007bff;
 outline: none;
}

/*   */
.phpandajs-datatable-custom-select .phpandajs-select-dropdown {
 position: absolute;
 top: 100%;
 left: 0;
 right: 0;
 background: #fff;
 border: 1px solid #ccc;
 border-radius: 4px;
 max-height: 200px;
 overflow-y: auto;
 display: none;
 z-index: 1000;
 margin-top: 2px;
 box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.phpandajs-datatable-custom-select .phpandajs-select-dropdown.open {
 display: block;
}

/*   dropdown */
.phpandajs-datatable-custom-select .phpandajs-select-search {
 width: 100%;
 padding: 6px 10px;
 border: none;
 border-bottom: 1px solid #ddd;
 outline: none;
 box-sizing: border-box;
 font-size: 13px;
}

/*   */
.phpandajs-datatable-custom-select .phpandajs-select-options {
 max-height: 160px;
 overflow-y: auto;
}

/*   */
.phpandajs-datatable-custom-select .phpandajs-select-option {
 padding: 6px 12px;
 cursor: pointer;
 font-size: 14px;
}
.phpandajs-datatable-custom-select .phpandajs-select-option:hover {
 background: #f0f0f0;
}
.phpandajs-datatable-custom-select .phpandajs-select-option.selected {
 background: #e0e0e0;
}

/*     */
.phpandajs-datatable-custom-select .phpandajs-select-chip {
 background: #e0e0e0;
 padding: 2px 8px;
 border-radius: 12px;
 display: inline-flex;
 align-items: center;
 gap: 4px;
 font-size: 13px;
}
.phpandajs-datatable-custom-select .phpandajs-select-chip span {
 cursor: pointer;
 font-weight: bold;
}


.phpandajs-datatable-filters .phpandajs-datatable-custom-select {max-width:300px;}




/* ----- Rangeslider () ----- */
.phpandajs-rangeslider {
 position: relative;
 height: 30px;
 margin: 10px 0;
 width: 100%;
 min-width: 150px;
}
.phpandajs-rangeslider-track {
 position: absolute;
 top: 50%;
 left: 0;
 right: 0;
 height: 4px;
 background: #ddd;
 transform: translateY(-50%);
 border-radius: 2px;
}
.phpandajs-rangeslider-fill {
 position: absolute;
 top: 50%;
 height: 4px;
 background: #007bff;
 transform: translateY(-50%);
 border-radius: 2px;
}
.phpandajs-rangeslider-handle {
 position: absolute;
 top: 50%;
 width: 16px;
 height: 16px;
 background: #007bff;
 border-radius: 50%;
 transform: translate(-50%, -50%);
 cursor: pointer;
 z-index: 2;
}
.phpandajs-rangeslider-handle:hover {
 background: #0056b3;
}
.phpandajs-rangeslider-value {
 text-align: center;
 font-size: 14px;
 margin-top: 4px;
}

/* ----- Checkbox  ----- */
.phpandajs-datatable-checkbox {
 display: flex;
 flex-direction: column;
 gap: 4px;
 min-width: 140px;
}
.phpandajs-datatable-checkbox-title {
 cursor: pointer;
 font-weight: 600;
 font-size: 13px;
 color: #333;
 padding: 4px 0;
}
.phpandajs-datatable-checkbox-list {
 display: none;
 padding: 6px 0;
}
.phpandajs-datatable-checkbox-list label {
 display: flex;
 align-items: center;
 gap: 6px;
 font-size: 14px;
 cursor: pointer;
 padding: 2px 0;
}

/* ----- Footer (  ) ----- */
.phpandajs-datatable-footer {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 12px 0;
 flex-wrap: wrap;
 gap: 8px;
 border-top: 1px solid #eee;
 margin-top: 12px;
}
.phpandajs-datatable-footer select {
 padding: 4px 8px;
 border: 1px solid #ccc;
 border-radius: 4px;
 font-size: 13px;
}
.phpandajs-datatable-pagination {
 display: flex;
 gap: 4px;
 flex-wrap: wrap;
}
.phpandajs-datatable-pagination button {
 padding: 4px 10px;
 border: 1px solid #ccc;
 background: #fff;
 cursor: pointer;
 border-radius: 4px;
 font-size: 13px;
}
.phpandajs-datatable-pagination button:hover {
 background: #f0f0f0;
}
.phpandajs-datatable-pagination button.active {
 background: #007bff;
 color: #fff;
 border-color: #007bff;
}
.phpandajs-datatable-info {
 font-size: 14px;
 color: #555;
}

@keyframes fadeIn{from{opacity:0; transform:translateY(5px);} to{opacity:1; transform:translateY(0);}}

/* PANEL */
.phpandajs-panel-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 99999998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;}
.phpandajs-panel-overlay.active {opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s linear 0s;}
.phpandajs-panel {position: fixed; background: #ffffff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); z-index: 99999999; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, opacity 0.3s ease;}
.phpandajs-panel:not(.active) {visibility: hidden;}
.phpandajs-panel.active {visibility: visible;}
.phpandajs-panel-left {top: 0; left: 0; height: 100%; transform: translateX(-100%);}
.phpandajs-panel-left.active {transform: translateX(0);}
.phpandajs-panel-right {top: 0; right: 0; height: 100%; transform: translateX(100%);}
.phpandajs-panel-right.active {transform: translateX(0);}
.phpandajs-panel-top {left: 0; top: 0; width: 100%; transform: translateY(-100%);}
.phpandajs-panel-top.active {transform: translateY(0);}
.phpandajs-panel-bottom {left: 0; bottom: 0; width: 100%; transform: translateY(100%);}
.phpandajs-panel-bottom.active {transform: translateY(0);}
.phpandajs-panel.fade {opacity: 0; transform: none !important;}
.phpandajs-panel.fade.active {opacity: 1;}
.phpandajs-panel-header {position: fixed; top: 5; right:5px; z-index: 10; background: transparent; display: block; align-items: center; flex-shrink: 0;}
.phpandajs-panel-close {background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #999999; transition: color 0.2s; padding: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center;}
.phpandajs-panel-close:hover {color: #ff0000;}
.phpandajs-panel-content {flex: 1; overflow-y: auto; overflow-x: hidden; padding: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #999 #e0e0e0;}
.phpandajs-panel-error {color: #d9534f; background: #f2dede; border: 1px solid #ebccd1; padding: 1rem; border-radius: 4px; margin: 1rem;}
.phpandajs-panel-push {transition: margin-left 0.3s ease; margin-left: 300px;}
.phpandajs-panel-push-reverse {transition: margin-right 0.3s ease; margin-right: 300px;}
.phpandajs-panel-left { width: 300px;}
.phpandajs-panel-right {width: 300px;}
@media (max-width: 768px) {
.phpandajs-panel-left, .phpandajs-panel-right {width: 100% !important;}
.phpandajs-panel-top, .phpandajs-panel-bottom {height: 100% !important;}
.phpandajs-panel-header {padding: 0.5rem 0.75rem;}
.phpandajs-panel-content {padding: 0.75rem;}
}

/* PRELOADER */
.preloader-active {position: relative;}
.phpandajs-preloader {position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 9999;}
.preloader-active .phpandajs-preloader {opacity: 1; pointer-events: auto;}
.phpandajs-preloader::after {content: ""; width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgba(0,0,0,0.15); border-top-color: rgba(0,0,0,0.55); animation: phpandajs-preloader-spin .8s linear infinite;}
@keyframes phpandajs-preloader-spin {to {transform: rotate(360deg);}}
@media (prefers-color-scheme: dark) {
.phpandajs-preloader {background: rgba(0,0,0,0.45);}
.phpandajs-preloader::after {border: 3px solid rgba(255,255,255,0.2); border-top-color: rgba(255,255,255,0.8);}
}
.preloader-active.small .phpandajs-preloader::after {width: 20px; height: 20px; border-width: 2px;}
.preloader-active.large .phpandajs-preloader::after {width: 48px; height: 48px; border-width: 4px;}

/* CATALOG MENU */
.phpandajs-catalog-menu {position: absolute; width:100%; max-width:1400px; margin-top:7px; z-index: 99999; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease;}
.phpandajs-catalog-menu.active {opacity: 1; transform: translateY(0);}
.phpandajs-catalog-menu__levels {display: flex; min-height: 320px;}
.phpandajs-catalog-menu__level--full-width {display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 20px; width: 100%;}
.phpandajs-catalog-menu__level--left-column {width: 25%; border-right: 1px solid #f0f0f0; padding: 16px; overflow-y: auto; text-align: left;}
.phpandajs-catalog-menu__level--right-column {flex: 1; padding: 20px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;}
.phpandajs-catalog-menu__category {cursor: pointer; display: block; max-height: 300px; align-items: center; text-align: center; padding: 10px; border-radius: 6px; transition: background .2s ease;}
.phpandajs-catalog-menu__level--left-column .phpandajs-catalog-menu__category {text-align: left;}
.phpandajs-catalog-menu__level--right-column .phpandajs-catalog-menu__category {height: 155px; text-align: center;}
.phpandajs-catalog-menu__category:hover {background: #f7f7f7;}
.phpandajs-catalog-menu__category-image {width: 80px; height: 80px; object-fit: contain; margin-bottom: 8px;}
.phpandajs-catalog-menu__category-content {display: flex; flex-direction: column; align-items: center;}
.phpandajs-catalog-menu__category-name {font-size: 14px; font-weight: 500; margin-top: 4px;}
.phpandajs-catalog-menu__arrow {opacity: .5; float:right;}
.phpandajs-catalog-menu__list-item {display: flex; align-items: center; padding: 10px 6px; cursor: pointer; border-radius: 4px; transition: background .2s ease;}
.phpandajs-catalog-menu__list-item:hover {background: #f7f7f7;}
.phpandajs-catalog-menu__category-icon {width: 20px; height: 20px; margin-right: 8px; display:inline-block; float: left;}
.phpandajs-catalog-menu__list-item .phpandajs-catalog-menu__category-name {flex: 1; font-size: 14px;}
@media (max-width: 768px) {
.phpandajs-catalog-menu {position: fixed; top: 0; left: 0; right: 0; bottom: 0; border-radius: 0; transform: translateY(100%); opacity: 1; transition: transform .35s ease;}
.phpandajs-catalog-menu.active {transform: translateY(0);}
.phpandajs-catalog-menu__header {display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #f7f7f7; border-bottom: 1px solid #e5e5e5;}
.phpandajs-catalog-menu__title {font-size: 18px; font-weight: 600;}
.phpandajs-catalog-menu__back, .phpandajs-catalog-menu__close {background: none; border: none; font-size: 16px; cursor: pointer; padding: 6px 10px;}
.phpandajs-catalog-menu__content {padding: 12px 16px; overflow-y: auto; height: calc(100vh - 60px);}
.phpandajs-catalog-menu__category {display: flex; align-items: center; padding: 12px 4px; border-bottom: 1px solid #f0f0f0; cursor: pointer;}
.phpandajs-catalog-menu__category-icon {width: 22px; height: 22px; margin-right: 10px;}
.phpandajs-catalog-menu__category-name {flex: 1; font-size: 16px;}
.phpandajs-catalog-menu__arrow {font-size: 16px; opacity: .5;}
}
.phpandajs-catalog-menu__category.active, .phpandajs-catalog-menu__list-item.active {background: #eaf4ff !important; border-left: 3px solid #3b82f6;}
.phpandajs-catalog-menu__level--left-column::-webkit-scrollbar, .phpandajs-catalog-menu__level--right-column::-webkit-scrollbar, .phpandajs-catalog-menu__content::-webkit-scrollbar {width: 6px;}
.phpandajs-catalog-menu__level--left-column::-webkit-scrollbar-thumb, .phpandajs-catalog-menu__level--right-column::-webkit-scrollbar-thumb, .phpandajs-catalog-menu__content::-webkit-scrollbar-thumb {background: #ccc; border-radius: 3px;}

/* TIMER */
.phpandajs-timer {display: flex; flex-wrap: wrap; gap: 20px; font-family: 'Courier New', monospace; background: #fff; color: #111; padding: 20px; border-radius: 12px; justify-content: center;}
.phpandajs-timer-prepend, .phpandajs-timer-append {font-size: 24px; font-weight: bold; align-self: center;}
.phpandajs-timer-spinner {display: flex; flex-wrap: wrap; gap: 15px; justify-content: center;}
.phpandajs-timer-year, .phpandajs-timer-month, .phpandajs-timer-day, .phpandajs-timer-hour,
.phpandajs-timer-minute, .phpandajs-timer-second {display: flex; flex-direction: column; align-items: center; background: #ccc; border-radius: 8px; padding: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.5);}
.phpandajs-timer-flip-container {perspective: 600px; width: 80px; height: 80px; margin-bottom: 8px;}
.phpandajs-timer-flipper {position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.3);}
.phpandajs-timer-front, .phpandajs-timer-back {position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: bold; background: linear-gradient(145deg, #333, #1a1a1a); border-radius: 8px; color: #ffcc00; text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.phpandajs-timer-front {transform: rotateX(0deg);}
.phpandajs-timer-back {transform: rotateX(0deg);}
.phpandajs-timer-flip-container.phpandajs-timer-flip .phpandajs-timer-flipper {transform: rotateX(0deg);}
.phpandajs-timer-flip-label {font-size: 14px; text-transform: uppercase; letter-spacing: 1px; background: rgba(0,0,0,0.7); padding: 4px 8px; border-radius: 20px; margin-top: 6px; font-weight: normal; color: #ccc;}
@media (max-width: 768px) {
.phpandajs-timer {gap: 10px; padding: 10px;}
.phpandajs-timer-flip-container {width: 60px; height: 60px;}
.phpandajs-timer-front, .phpandajs-timer-back {font-size: 32px;}
.phpandajs-timer-flip-label {font-size: 10px;}
}

/* LEFTCLICK */
.phpandajs-leftclick-menu {position: fixed; z-index: 10000; background-color: #fff; border: 1px solid #ccc; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); border-radius: 4px; padding: 5px 0; min-width: 150px; display: none;}
.phpandajs-leftclick-menu.active {display: block;}
.phpandajs-leftclick-item {padding: 5px 15px; cursor: pointer; display: flex; align-items: center; gap: 8px;}
.phpandajs-leftclick-item:hover {background-color: #f0f0f0;}
.phpandajs-leftclick-item:active {background-color: #e0e0e0;}

/* RIGHTCLICK */
.phpandajs-rightclick-menu {position: fixed; z-index: 10000; background-color: #fff; border: 1px solid #ccc; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); border-radius: 4px; padding: 5px 0; min-width: 150px;}
.phpandajs-rightclick-item {padding: 5px 15px; cursor: pointer; display: flex; align-items: center; gap: 8px;}
.phpandajs-rightclick-item:hover {background-color: #f0f0f0;} 
.phpandajs-rightclick-item:active {background-color: #e0e0e0;}

/* ADMINMENU */
.phpandajs-adminmenu-panel {position: fixed; left: 0; top: 0; width: 300px; height: 100vh; background: #ffffff; color: #767676; z-index: 10000; overflow-y: auto; box-shadow: 2px 0 10px rgba(0,0,0,0.2); transition: transform 0.3s ease; transform: translateX(-100%);}
@media (max-width: 400px) {.phpandajs-adminmenu-panel {width: 100%;}} 
.phpandajs-adminmenu-panel.open {transform: translateX(0);}
.phpandajs-adminmenu-header {text-align: right; position: relative;}
.phpandajs-adminmenu-close {background: none; border: none; font-size: 20px; line-height: 20px; color: #767676; cursor: pointer; padding: 0; width: 24px; height: 24px; border-radius: 50%; transition: background 0.2s; margin:3px 5px;}
.phpandajs-adminmenu-close:hover {background: #767676; color:#ffffff;}
.phpandajs-adminmenu-content {padding: 5px 0px 20px 0px;}
.phpandajs-adminmenu-section-header {padding: 5px; cursor: pointer; font-weight: 500; background:#e8e8e8; margin:3px 5px; border-radius:5px;}
.phpandajs-adminmenu-section-header:has(> a) {padding: 0px;}
.phpandajs-adminmenu-section-header a {display: block; padding:5px; border-radius:5px; text-decoration: none; color: #767676;}
.phpandajs-adminmenu-section-header a:hover {color: #767676;}
.phpandajs-adminmenu-section-header i {margin-right: 10px; width: 20px; text-align: center;}
.phpandajs-adminmenu-section-header.has-sub::after {content: '\25B2'; float: right; font-size: 12px; transition: transform 0.2s;}
.phpandajs-adminmenu-section-header.has-sub.expanded::after {transform: rotate(180deg);}
.phpandajs-adminmenu-submenu {display: none; background: #ffffff;}
.phpandajs-adminmenu-submenu.open {display: block; margin-bottom:10px;}
.phpandajs-adminmenu-submenu a {display: block; padding: 5px 0px 5px 10px; margin:1px 5px; text-decoration: none; color: #767676; border-radius:5px;}
.phpandajs-adminmenu-submenu a:hover {color: #2563eb;}
.phpandajs-adminmenu-submenu a.active {background: #2563eb; color:#ffffff !important;}
.phpandajs-adminmenu-section-header a.active {background: #2563eb; color:#ffffff !important;}

/* VIDEOPLAYER */
.phpandajs-videoplayer {position: relative; width: 100%; background: #000; overflow: hidden; font-family: system-ui, sans-serif; display: inline-block;}
.phpandajs-videoplayer-video-container {position: relative; width: 100%; height: 100%; background: #000; display: flex; justify-content: center; align-items: center;}
.phpandajs-videoplayer-video, .phpandajs-videoplayer-preview {max-width: 100%; max-height: 100%; object-fit: contain;}
.phpandajs-videoplayer-preview {display: block;}
.phpandajs-videoplayer-video {display: none;}
.phpandajs-videoplayer-rewind-left, .phpandajs-videoplayer-rewind-right {position: absolute; top: 0; bottom: 0; width: 10%; display: flex; align-items: center; justify-content: center; background: transparent; opacity: 0; transition: opacity 0.3s; cursor: pointer; z-index: 2;}
.phpandajs-videoplayer-rewind-left {left: 0;}
.phpandajs-videoplayer-rewind-right {right: 0;}
.phpandajs-videoplayer-rewind-left span, .phpandajs-videoplayer-rewind-right span {background: rgba(0,0,0,0.7); color: white; padding: 8px 12px; border-radius: 20px; font-size: 14px; pointer-events: none;}
.phpandajs-videoplayer-video-container:hover .phpandajs-videoplayer-rewind-left, .phpandajs-videoplayer-video-container:hover .phpandajs-videoplayer-rewind-right {opacity: 0.8;}
.phpandajs-videoplayer-center-play {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: rgba(0,0,0,0.6); border: none; cursor: pointer; transition: opacity 0.2s, background 0.2s; opacity: 1; z-index: 2;}
.phpandajs-videoplayer-center-play.playing {opacity: 0;}
.phpandajs-videoplayer-video-container:hover .phpandajs-videoplayer-center-play.playing {opacity: 1;}
.phpandajs-videoplayer-center-play:hover {background: rgba(255,0,0,0.8);}
.phpandajs-videoplayer-center-play::after {content: ''; display: block; width: 0; height: 0; margin: auto; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 30px solid white; position: relative; top: 50%; left: 55%; transform: translate(-50%, -50%);}
.phpandajs-videoplayer-center-play.playing::after {border-left: none; content: 'вќљвќљ'; font-size: 40px; line-height: 1; color: white; border: none; width: auto; height: auto; margin: 0; top: auto; left: auto; transform: none;}
.phpandajs-videoplayer-topbar {position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent); color: white; font-size: 14px; z-index: 3; transition: transform 0.3s ease;}
.phpandajs-videoplayer.controls-hidden .phpandajs-videoplayer-topbar {transform: translateY(-100%);}
.phpandajs-videoplayer-title {font-weight: 500; text-shadow: 0 1px 2px black; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;}
.phpandajs-videoplayer-episodes {background: rgba(0,0,0,0.6); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: 12px;}
.phpandajs-videoplayer-controls {position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: rgba(0,0,0,0.8); color: white; font-size: 14px; transition: transform 0.3s ease; z-index: 3; flex-wrap: nowrap;}
.phpandajs-videoplayer-left-group {display: flex; align-items: center; gap: 1px;}
.phpandajs-videoplayer-progress {flex: 1; min-width: 80px;}
.phpandajs-videoplayer-right-group {display: flex; align-items: center; gap: 1px; margin-left: auto;}
.phpandajs-videoplayer.controls-hidden .phpandajs-videoplayer-controls {transform: translateY(100%);}
.phpandajs-videoplayer-volume-group {position: relative; display: inline-flex; align-items: center;}
.phpandajs-videoplayer-volume-slider-vertical {position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: 4px; height: 80px; margin-bottom: 0px; -webkit-appearance: slider-vertical; appearance: slider-vertical; background: rgba(255,255,255,0.3); border-radius: 2px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;}
.phpandajs-videoplayer-volume-group:hover .phpandajs-videoplayer-volume-slider-vertical {opacity: 1; visibility: visible;}
.phpandajs-videoplayer-volume-slider-vertical::-webkit-slider-thumb {-webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #f00; cursor: pointer;}
.phpandajs-videoplayer-volume-slider-vertical::-moz-range-thumb {width: 12px; height: 12px; border-radius: 50%; background: #f00; cursor: pointer;}
.phpandajs-videoplayer-btn {background: none; border: none; width: 32px; height: 32px; cursor: pointer; opacity: 0.8; transition: opacity 0.2s;}
.phpandajs-videoplayer-btn:hover {opacity: 1;}
.phpandajs-videoplayer-play::after {content: 'в–¶'; font-size: 18px; color: white;}
.phpandajs-videoplayer-play.playing::after {content: 'вќљвќљ';} 
.phpandajs-videoplayer-prev::after {content: 'вЏ®'; font-size: 18px; color: white;}
.phpandajs-videoplayer-next::after {content: 'вЏ­'; font-size: 18px; color: white;}
.phpandajs-videoplayer-volume::after {content: 'рџ”Љ'; font-size: 18px; color: white;}
.phpandajs-videoplayer-volume.muted::after {content: 'рџ”‡';}
.phpandajs-videoplayer-download::after {content: 'в¬‡'; font-size: 18px; color: white;}
.phpandajs-videoplayer-fullscreen::after {content: 'в›¶'; font-size: 22px; color: white;}
.phpandajs-videoplayer-btn:disabled {opacity: 0.3; cursor: default;}
.phpandajs-videoplayer-loop {position: relative;}
.phpandajs-videoplayer-loop::after {content: 'вџі'; font-size: 18px; color: white;}
.phpandajs-videoplayer-loop.loop-one::after {content: '1'; font-size: 18px; font-weight: bold;}
.phpandajs-videoplayer-loop.loop-all::after {content: 'в€ћ'; font-size: 20px;}
.phpandajs-videoplayer-progress {flex: 1; height: 6px; background: rgba(255,255,255,0.3); border-radius: 3px; cursor: pointer; position: relative;}
.phpandajs-videoplayer-progress-buffer {position: absolute; left: 0; top: 0; height: 100%; background: rgba(255,255,255,0.4); border-radius: 3px; width: 0;}
.phpandajs-videoplayer-progress-fill {position: absolute; left: 0; top: 0; height: 100%; background: #f00; border-radius: 3px; width: 0; z-index: 1;}
.phpandajs-videoplayer-time {font-family: monospace; margin: 0 4px; white-space:nowrap;}
.phpandajs-videoplayer.fullscreen {width: 100vw; height: 100vh; max-width: none; border-radius: 0;}
.phpandajs-videoplayer.fullscreen .phpandajs-videoplayer-video-container {height: 100%;}
.phpandajs-videoplayer.fullscreen .phpandajs-videoplayer-video, .phpandajs-videoplayer.fullscreen .phpandajs-videoplayer-preview {max-height: 100%; height: 100%;}
.phpandajs-videoplayer.fullscreen .phpandajs-videoplayer-preview {object-fit: cover;}

/* PDFVIEWER */
.phpandajs-pdfviewer-overlay {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 100000; display: flex; align-items: center; justify-content: center;}
.phpandajs-pdfviewer-viewer {width: 95%; height: 95%; background: #2c3e50; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(0,0,0,0.5);}
.phpandajs-pdfviewer-header {padding: 5px 10px; background: #F9F9FA; color: #15141A; font-weight: 400; font-size: 16px; display: flex; justify-content: space-between; align-items: center;}
.phpandajs-pdfviewer-close {background: none; border: none; color: #15141A; font-size: 28px; cursor: pointer; line-height: 24px; height:26px; padding: 3px 10px 6px 10px;}
.phpandajs-pdfviewer-close:hover {color: #ffffff; background:#E81123;}
.phpandajs-pdfviewer-content {flex: 1; background: #e0e0e0; position: relative;}
.phpandajs-pdfviewer-iframe {width: 100%; height: 100%; border: none;}
.phpandajs-pdfviewer-fallback {text-align: center; padding: 40px; color: #333; background: #fff; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.phpandajs-pdfviewer-fallback p {margin-bottom: 20px; font-size: 16px;}
.phpandajs-pdfviewer-download-btn {display: inline-block; background: #1abc9c; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px; transition: background 0.2s;}
.phpandajs-pdfviewer-download-btn:hover {background: #16a085;}
@media (max-width: 768px) {
.phpandajs-pdfviewer-viewer {width: 95%; height: 95%;}
}

/* AUDIOPLAYER */
.phpandajs-audioplayer {--player-bg: rgba(20, 20, 30, 0.95); --player-border-radius: 24px; --player-padding: 20px; --accent-color: #7c3aed; --accent-hover: #8b5cf6; --text-primary: #ffffff; --text-secondary: #cbd5e1; --progress-bg: #334155; --progress-fill: linear-gradient(90deg, #7c3aed, #a78bfa); --playlist-bg: rgba(30, 30, 40, 0.9); --playlist-hover: rgba(124, 58, 237, 0.2); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;}
.phpandajs-audioplayer {background: var(--player-bg); border-radius: var(--player-border-radius); padding: var(--player-padding); backdrop-filter: blur(10px); box-shadow: 0 25px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05); max-width: 480px; width: 100%;}
.audioplayer-wrapper {display: flex; flex-direction: column; gap: 1rem;}
.audioplayer-info {display: flex; align-items: center; gap: 1rem; background: rgba(0, 0, 0, 0.3); border-radius: 20px; padding: 12px;}
.audioplayer-cover {width: 60px; height: 60px; border-radius: 14px; object-fit: cover; background: #2d2d3a;}
.audioplayer-title {font-size: 1rem; font-weight: 600; color: var(--text-primary); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.audioplayer-controls {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(0, 0, 0, 0.3); border-radius: 60px; padding: 8px 16px;}
.audioplayer-btn {background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; background: rgba(255, 255, 255, 0.05); position: relative;}
.audioplayer-btn::before {font-size: 1.4rem; color: var(--text-secondary); transition: color 0.2s;}
.audioplayer-btn:hover::before {color: white;}
.audioplayer-btn:hover {background: rgba(124, 58, 237, 0.3); transform: scale(1.05);}

.audioplayer-btn-prev::before  { content: "⏮";}
.audioplayer-btn-play::before  { content: "▶";}
.audioplayer-btn-play.playing::before { content: "⏸";}
.audioplayer-btn-next::before  { content: "⏭";}
.audioplayer-btn-loop::before  { content: "🔁";}
.audioplayer-btn-volume::before { content: "🔊";}
.audioplayer-btn-download::before { content: "⬇";}
.audioplayer-btn-playlist-toggle::before { content: "📋";}

.audioplayer-btn-play {background: var(--accent-color) !important; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);}
.audioplayer-btn-play::before {color: white;}
.audioplayer-btn-play:hover {background: var(--accent-hover) !important; transform: scale(1.08);}
.audioplayer-btn-loop.active::before {color: var(--accent-color); text-shadow: 0 0 5px var(--accent-color);}
.audioplayer-btn-loop.active {background: rgba(124, 58, 237, 0.2);}
.audioplayer-volume-slider {width: 80px; height: 4px; -webkit-appearance: none; background: var(--progress-bg); border-radius: 4px; outline: none; cursor: pointer;}
.audioplayer-volume-slider::-webkit-slider-thumb {-webkit-appearance: none; width: 12px; height: 12px; background: var(--accent-color); border-radius: 50%; cursor: pointer; box-shadow: 0 0 4px white;}
.audioplayer-progress-container {background: var(--progress-bg); border-radius: 12px; padding: 4px 0; cursor: pointer;}
.audioplayer-progress-bar {width: 0%; height: 6px; background: var(--progress-fill); border-radius: 12px; transition: width 0.1s linear;}
.audioplayer-time-row {display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-secondary); margin-top: 8px; padding: 0 6px;}
.audioplayer-btn-playlist-toggle {background: rgba(255, 255, 255, 0.05); border: none; border-radius: 40px; padding: 10px 16px; font-size: 1rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; margin-top: 4px; width: 100%; text-align: center;}
.audioplayer-btn-playlist-toggle::before {margin-right: 8px; font-size: 1rem;}
.audioplayer-btn-playlist-toggle:hover {background: rgba(124, 58, 237, 0.3); color: white;}
.audioplayer-playlist {background: var(--playlist-bg); border-radius: 20px; max-height: 240px; overflow-y: auto; margin-top: 12px; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1);}
.audioplayer-playlist-item {padding: 12px 16px; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; transition: all 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.audioplayer-playlist-item:hover {background: var(--playlist-hover); color: white; padding-left: 24px;}
.audioplayer-playlist-item.active {color: var(--accent-color); font-weight: 600; background: rgba(124, 58, 237, 0.15); border-left: 3px solid var(--accent-color);}
.audioplayer-playlist::-webkit-scrollbar {width: 4px;}
.audioplayer-playlist::-webkit-scrollbar-track {background: rgba(0, 0, 0, 0.3); border-radius: 4px;}
.audioplayer-playlist::-webkit-scrollbar-thumb {background: var(--accent-color); border-radius: 4px;}
@media (max-width: 500px) {
.phpandajs-audioplayer {padding: 16px; max-width: 100%;}
.audioplayer-btn {width: 38px; height: 38px;}
.audioplayer-btn::before {font-size: 1.2rem;}
.audioplayer-volume-slider {width: 60px;}
.audioplayer-cover {width: 48px; height: 48px;}
}

/* CONSULTANT-BOT */
.phpandajs-consultant-bot-icon {position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #1a73e8; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); z-index: 99998; font-size: 28px; transition: transform 0.2s, box-shadow 0.2s; user-select: none;}
.phpandajs-consultant-bot-icon:hover {transform: scale(1.05); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);}
.phpandajs-consultant-bot-icon img {width: 32px; height: 32px; pointer-events: none;}
.phpandajs-consultant-bot-pulse {position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #1a73e8; animation: phpandajs-consultant-pulse 1.5s ease-out infinite; pointer-events: none;}
.phpandajs-consultant-bot-modal {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 99999; display: none; align-items: center; justify-content: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;}
.phpandajs-consultant-bot-modal.open {display: flex;}
.phpandajs-consultant-bot-modal-container {background: #fff; width: 380px; max-width: 90vw; height: 500px; max-height: 80vh; border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); overflow: hidden;}
.phpandajs-consultant-bot-header {background: #1a73e8; color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;}
.phpandajs-consultant-bot-header-title {font-weight: bold; font-size: 18px; display: flex; align-items: center; gap: 8px;}
.phpandajs-consultant-bot-header-title::before {content: ""; display: inline-block; width: 10px; height: 10px; background: #4caf50; border-radius: 50%; animation: phpandajs-consultant-online 2s infinite;}
.phpandajs-consultant-bot-close {background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 0 4px; line-height: 1;}
.phpandajs-consultant-bot-close:hover {opacity: 0.8;}
.phpandajs-consultant-bot-messages {flex: 1; padding: 16px; overflow-y: auto; background: #f5f5f5; display: flex; flex-direction: column; gap: 8px;}
.phpandajs-consultant-bot-message {max-width: 80%; padding: 8px 12px; border-radius: 12px; word-wrap: break-word; font-size: 14px; line-height: 1.4;}
.phpandajs-consultant-bot-message.user {background: #1a73e8; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px;}
.phpandajs-consultant-bot-message.bot {background: #e9ecef; color: #333; align-self: flex-start; border-bottom-left-radius: 4px;}
.phpandajs-consultant-bot-status {padding: 4px 16px 8px; font-size: 13px; color: #999; font-style: italic; min-height: 24px; flex-shrink: 0;}
.phpandajs-consultant-bot-input-area {display: flex; padding: 8px 12px 12px; gap: 8px; border-top: 1px solid #eee; background: #fff; flex-shrink: 0;}
.phpandajs-consultant-bot-input {flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 20px; outline: none; font-size: 14px; transition: border-color 0.2s;}
.phpandajs-consultant-bot-input:focus {border-color: #1a73e8;}
.phpandajs-consultant-bot-send {padding: 8px 18px; background: #1a73e8; color: #fff; border: none; border-radius: 20px; cursor: pointer; font-size: 14px; transition: background 0.2s;}
.phpandajs-consultant-bot-send:hover {background: #1557b0;}
.phpandajs-consultant-bot-send:disabled {background: #aaa; cursor: not-allowed;}
@keyframes phpandajs-consultant-pulse {0% {transform: scale(1); opacity: 1;} 100% {transform: scale(1.5); opacity: 0;}}
@keyframes phpandajs-consultant-online {0%, 100% { opacity: 1; } 50% { opacity: 0.4; }}
@media (max-width: 480px) {
.phpandajs-consultant-bot-modal-container {width: 100%; max-width: 100%; max-height: 100%; border-radius: 0; height: 100vh;}
.phpandajs-consultant-bot-icon {bottom: 16px; right: 16px; width: 48px; height: 48px;}
.phpandajs-consultant-bot-icon img {width: 28px; height: 28px;}
}



/* modules/rating.css */
.phpandajs-rating {
    display: inline-flex;
    align-items: center;
    font-family: Arial, sans-serif;
}

.phpandajs-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.phpandajs-rating-star {
    transition: color 0.2s, transform 0.15s, opacity 0.2s;
    cursor: default;
    user-select: none;
}

.phpandajs-rating-star:hover {
    transform: scale(1.1);
}

.phpandajs-rating-text {
    margin-left: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}










/* modules/codeeditor.css */
/* modules/codeeditor.css       */

.phpandajs-codeeditor {
    border: 1px solid var(--border, #ddd);
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg, #fff);
    font-family: 'Courier New', monospace;
    position: relative;
}

.phpandajs-codeeditor-wrap {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.phpandajs-codeeditor-textarea,
.phpandajs-codeeditor-highlight {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    tab-size: 2;
    padding: 4px 8px 4px 48px;
    margin: 0;
    border: none;
    outline: none;
    resize: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.phpandajs-codeeditor-textarea {
    background: transparent;
    color: transparent;
    caret-color: var(--text, #333);
    z-index: 2;
    position: relative;
}

.phpandajs-codeeditor-highlight {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: var(--bg, #fff);
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
}

/*    */
.phpandajs-codeeditor-highlight .ce-keyword {
    color: #c678dd;
    font-weight: bold;
}
.phpandajs-codeeditor-highlight .ce-builtin {
    color: #61afef;
}
.phpandajs-codeeditor-highlight .ce-string {
    color: #98c379;
}
.phpandajs-codeeditor-highlight .ce-comment {
    color: #7f848e;
    font-style: italic;
}
.phpandajs-codeeditor-highlight .ce-number {
    color: #d19a66;
}
.phpandajs-codeeditor-highlight .ce-operator {
    color: #abb2bf;
}

/* Ҹ  */
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-keyword {
    color: #c678dd;
}
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-builtin {
    color: #61afef;
}
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-string {
    color: #98c379;
}
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-comment {
    color: #7f848e;
}
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-number {
    color: #d19a66;
}
.phpandajs-codeeditor-theme-dark .phpandajs-codeeditor-highlight .ce-operator {
    color: #abb2bf;
}

/*   */
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-keyword {
    color: #a626a4;
}
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-builtin {
    color: #4078f2;
}
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-string {
    color: #50a14f;
}
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-comment {
    color: #a0a1a7;
}
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-number {
    color: #986801;
}
.phpandajs-codeeditor-theme-light .phpandajs-codeeditor-highlight .ce-operator {
    color: #383a42;
}

/*   */
.phpandajs-codeeditor-line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    overflow: hidden;
    background: var(--line-bg, #f5f5f5);
    color: var(--line-color, #999);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
    padding: 4px 6px 0 0;
    user-select: none;
    border-right: 1px solid var(--border, #ddd);
    box-sizing: border-box;
    z-index: 3;
    pointer-events: none;
}
.phpandajs-codeeditor-line-numbers div {
    padding: 0 4px;
}