/* Shared control and layout refinements for site and central administration. */
:is(body.gymove-news,body.fix-hub) {
 --admin-focus:#3156bf;
 --admin-focus-ring:rgba(49,86,191,.14);
 --admin-control-line:#d7deea;
 scrollbar-gutter:stable;
}
:is(.gymove-news,.fix-hub) :is(.btn,.button,.icon-button,.fp-icon,button) {
 max-width:100%;
 vertical-align:middle;
 transform:none!important;
 transition:color .15s ease,background-color .15s ease,border-color .15s ease!important;
 touch-action:manipulation;
}
:is(.gymove-news,.fix-hub) :is(.btn,.button) {
 flex-shrink:0;
 min-height:40px;
 border-radius:6px;
 line-height:1.4;
}
:is(.gymove-news,.fix-hub) :is(.btn,.button,.icon-button,.fp-icon):is(:hover,:active,:focus) {
 transform:none!important;
 box-shadow:none;
}
:is(.gymove-news,.fix-hub) :is(button,a,summary):focus:not(:focus-visible) {
 outline:none!important;
}
:is(body.gymove-news,body.fix-hub) :is(button,.btn,.button,a,summary):focus-visible {
 outline:2px solid var(--admin-focus)!important;
 outline-offset:2px;
 box-shadow:none!important;
}
:is(.gymove-news,.fix-hub) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea):focus {
 border-color:var(--admin-focus)!important;
 outline:none!important;
 box-shadow:0 0 0 2px var(--admin-focus-ring)!important;
}
:is(.gymove-news,.fix-hub) :is(input[type=checkbox],input[type=radio],input[type=range]):focus-visible {
 outline:2px solid var(--admin-focus)!important;
 outline-offset:2px;
}
:is(.gymove-news,.fix-hub) :is(.has-error .form-control,[aria-invalid=true]):focus {
 border-color:#b7384c!important;
 box-shadow:0 0 0 2px rgba(183,56,76,.12)!important;
}
:is(.gymove-news,.fix-hub) :is(.select2-container-active .select2-choice,.selectize-input.focus,.tagsinput:focus-within) {
 border-color:var(--admin-focus)!important;
 box-shadow:0 0 0 2px var(--admin-focus-ring)!important;
 outline:none!important;
}
:is(.gymove-news,.fix-hub) :is(.hpanel>.panel-body,.home-site,.release,.fp-stat,.fp-shortcuts) {
 border-radius:8px;
 transition:border-color .15s ease,background-color .15s ease;
}
.gymove-news .small-header .panel-body {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 gap:8px 20px;
}
.gymove-news .small-header .panel-body>.islem_butonlari {
 grid-column:2;
 grid-row:1/span 3;
 float:none!important;
 max-width:none;
 margin:0;
 justify-content:flex-end;
 align-self:center;
}
.gymove-news .small-header .panel-body>:not(.islem_butonlari) { grid-column:1;min-width:0; }
.gymove-news :is(.islem_butonlari,.panel-tools,.btn-group) { align-items:center;gap:8px; }
.gymove-news .btn-group>.btn { margin:0!important; }
.gymove-news .input-group { min-width:0; }
.gymove-news .input-group>.input-group-btn { flex:0 0 auto;padding:0; }
.gymove-news .input-group>.input-group-btn>.btn { height:100%;border-radius:0 6px 6px 0; }
.gymove-news .input-group>.form-control { min-width:0; }
.gymove-news .form-control:not(textarea):not(select[multiple]) { min-height:42px; }
.gymove-news select[multiple] { min-height:132px; }
.gymove-news textarea.form-control { resize:vertical; }
.gymove-news .table-responsive>.table { min-width:640px; }
.gymove-news .fp-news-list:not(.fp-news-detailed) .table { min-width:0; }
:is(.gymove-news,.fix-hub) :is(.table-responsive,.table-scroll) {
 min-width:0;
 scrollbar-width:auto;
 scrollbar-color:#9caac2 #edf1f7;
 scroll-padding-inline:12px;
}
:is(.gymove-news,.fix-hub) .admin-table-scrollbar {
 width:100%;
 height:16px;
 overflow-x:auto;
 overflow-y:hidden;
 scrollbar-color:#9caac2 #edf1f7;
 scrollbar-width:auto;
 margin:0 0 6px;
 border:1px solid #e2e7ef;
 border-radius:4px;
 background:#f4f6fa;
}
:is(.gymove-news,.fix-hub) .admin-table-scrollbar>div { height:1px; }
:is(.gymove-news,.fix-hub) .admin-table-scrollbar[hidden] { display:none!important; }
.gymove-news .modal-dialog { max-width:min(850px,calc(100% - 24px)); }
.fix-hub dialog { max-width:calc(100% - 32px); }
.gymove-news .modal-header { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.gymove-news .modal-header>.close { order:2;flex:0 0 32px;margin:0;padding:0;min-height:32px; }
.gymove-news .modal-header>.modal-title { margin:0;min-width:0; }
.gymove-news .modal-footer { display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap; }
.gymove-news .modal-footer>.btn { margin:0; }
.gymove-news .tooltip { position:absolute!important;z-index:1080;max-width:260px;font-size:12px;font-weight:400;line-height:1.5;pointer-events:none; }
.gymove-news .tooltip.in { opacity:1; }
.gymove-news .tooltip .tooltip-inner { max-width:260px;padding:8px 10px;border-radius:4px;background:#293449;color:#fff;text-align:left;white-space:normal;box-shadow:0 3px 12px #15213a24; }
.gymove-news .tooltip .tooltip-arrow { position:absolute;width:0;height:0;border-style:solid;border-color:transparent; }
.gymove-news .tooltip.top { padding:5px 0; }
.gymove-news .tooltip.top .tooltip-arrow { bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#293449; }
.gymove-news .tooltip.bottom { padding:5px 0; }
.gymove-news .tooltip.bottom .tooltip-arrow { top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#293449; }
@media(hover:none) { .gymove-news .tooltip { display:none!important; } }
:is(.gymove-news,.fix-hub) :is(.dropdown-menu,.select2-drop,.datepicker-dropdown) { max-width:calc(100vw - 24px); }
.fix-hub :is(.hub-filter,.fleet-actions,.actions,.compose-toolbar) { min-width:0; }
.fix-hub .hub-filter>:is(button,.button) { align-self:end; }
.fix-hub :is(.form-grid,.hub-filter,.mail-dialog) :is(label,fieldset) { min-width:0; }
.fix-hub :is(button,.button) { overflow-wrap:break-word; }
@media(max-width:1100px) {
 .gymove-news .small-header .panel-body { grid-template-columns:minmax(0,1fr); }
 .gymove-news .small-header .panel-body>.islem_butonlari {
  grid-column:1;grid-row:auto;order:2;justify-content:flex-start;margin-top:8px;
 }
}
@media(max-width:767px) {
 .gymove-news :is(.small-header .islem_butonlari,.fp-news-list>.panel-body>.btn-group) { width:100%; }
 .gymove-news .small-header .islem_butonlari>.btn { flex:1 1 120px; }
 .gymove-news .fp-news-list>.panel-body>.btn-group>.btn { flex:1 1 140px; }
 :is(.gymove-news,.fix-hub) :is(.btn,.button) { min-height:42px; }
 .gymove-news .fp-news-list .table td .btn { min-width:36px;min-height:36px; }
 .gymove-news .input-group :is(.btn,.input-group-btn) { white-space:nowrap; }
}
@media(prefers-reduced-motion:reduce) {
 :is(.gymove-news,.fix-hub) :is(button,.btn,.button,.hpanel>.panel-body) { transition:none!important; }
}
