:root{
    --header-bg:#f8f8f8;
    --panel-bg:#fcfcfc;
    --panel-bg-alt:#ffffff;
    --text-main:#555;
    --text-soft:#777;
    --link-color:#666;
    --border-soft:rgba(0,0,0,.055);
    --shadow-soft:0 1px 4px rgba(0,0,0,.035);
    --shadow-hover:0 8px 18px rgba(0,0,0,.065);
	
/*===========Search Engine===========*/
    --panel: rgba(255, 255, 255, 0.84);
    --panel2: rgba(9, 24, 42, 0.045);
    /*--header-bg: rgba(255, 255, 255, 0.78);*/
    --flyout-bg: rgba(255, 255, 255, 0.97);
    --text: #162033;
    --muted: #607087;
    --soft: #314159;
    --fire: #d95f18;
    --fire2: #b36a00;
    --ember: #c5370c;
    --cyan: #008eaa;
    --green: #1e8f4d;
    --shadow: 0 24px 70px rgba(44, 61, 84, 0.18);
   /* --page-bg:
        radial-gradient(circle at top left, rgba(255, 154, 72, 0.24), transparent 34rem),
        radial-gradient(circle at 85% 18%, rgba(0, 160, 190, 0.14), transparent 30rem),
        linear-gradient(135deg, #fbfcff 0%, #edf4fb 52%, #f9fbff 100%);*/
    --grid-opacity: 0.16;
    --wash: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.35));
  /*===========Search Engine===========*/
	
}

*{
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

body {
	color: var(--text);
	width: 90%;
    font-family: Arial, Helvetica, sans-serif;
    min-width: 320px;
	margin: 0 auto;
    padding: 5px;
    height: 100%;
    background: #f8f8f8;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    line-height: 1.5;
	interpolate-size: allow-keywords;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: var(--grid-opacity);
    mask-image: radial-gradient(circle at center, black, transparent 72%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: var(--wash);
    z-index: -1;
}

a:link,
a:link font,
a:active,
a:active font,
a:visited,
a:visited font {
    font-family: Arial;
    font-size: 0.9em !important;
    color: #666;
    text-decoration: none;
}

.cff-article-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    overflow: hidden;
	width: 100%;
}

.visitor-shell {
    margin: auto;
    padding: 50px 34px;
	position: relative;
    z-index: 1;
	width: 100%;
	border: 1px solid var(--border-soft);
	background: #ffffff;
}

.visitor-width-target {
    transition: max-width .22s ease, padding .22s ease;
}

.shell {
    width: *min(1180px, calc(100% - 34px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 112px;
    min-height: 112px;
    backdrop-filter: blur(18px);
    background: var(--header-bg);
    border-bottom: 1px solid rgba(128, 128, 128, 0.16);
}
.nav-wrap {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    position: relative;
    background:
        radial-gradient(circle at 70% 25%, #fff6b8 0 6%, transparent 7%),
        conic-gradient(from 220deg, var(--ember), var(--fire), var(--fire2), var(--cyan), var(--fire));
    box-shadow: 0 0 34px rgba(255, 122, 24, 0.34), inset 0 0 18px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 18px;
    border: 3px solid rgba(7, 9, 13, 0.82);
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-24deg);
    top: 14px;
    left: 8px;
    border-radius: 0 22px 0 0;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.34);
}

.brand-text strong {
    display: block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.93rem;
}

.brand-text span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.76rem;
}

.main-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    color: var(--soft);
    font-size: 0.92rem;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.main-nav a:hover {
    color: var(--text);
    border-color: rgba(255, 122, 24, 0.32);
    background: rgba(255, 122, 24, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === Thin Header Scroll State (Cleaned) ===
   JS adds .cff-header-scrolled to the BODY.
*/
body.cff-header-scrolled .site-header {
  height: 58px;
  min-height: 58px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.cff-header-scrolled .nav-wrap {
  min-height: 58px;
  padding: 10px 22px;
  align-items: center;
}

body.cff-header-scrolled .desktop-img {

}

body.cff-header-scrolled .desktop-img img.desktop-img {
  transform: scale(0.333);
}

body.cff-header-scrolled .nav-link-rows {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body.cff-header-scrolled .nav-row {
  width: auto;
  gap: 6px;
}

body.cff-header-scrolled .nav-link,
body.cff-header-scrolled .nav-drop-btn {
  min-height: 28px;
  padding: 5px 7px;
  font-size: 0.82rem;
}

body.cff-header-scrolled .menu-icon {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  height: 100px;
}

.desktop-img {
  display: block;
  transform-origin: left center;
  transition: transform .18s ease-out;
}

body.cff-header-scrolled .desktop-img {
  transform: scale(.35);
}

body.cff-header-scrolled .brand {
  height: 35px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* === End Thin Header Scroll State (Cleaned) === */



/* === Desktop Two-Row Menu (Cleaned) === */
.nav-link-rows {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.nav-links,
.nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-row-top,
.nav-row-bottom {
  padding-right: 4px !important;
}

.nav-item {
  position: relative;
  height: auto;
  border: 1px solid transparent;
  flex: 0 0 auto;
}

.nav-item:hover {
  border-color: transparent;
}

.nav-link,
.nav-drop-btn,
.BugReport {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--nav-text);
  font: inherit;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav-drop-btn {
  border: 0;
}

.nav-link:hover,
.nav-drop-btn:hover,
.nav-item:hover .nav-link,
.nav-item:hover .nav-drop-btn {
  background: rgba(80, 115, 150, 0.10);
  border-color: rgba(80, 115, 150, 0.45);
  color: #121212;
  transform: translateY(-1px);
}

.menu-icon,
.mobile-icon {
  width: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.drop-arrow {
  font-size: 0.75rem;
  opacity: 0.75;
}
/* === End Desktop Two-Row Menu (Cleaned) === */



/* === Dropdown / Mega Menu Base (Cleaned) === */
#Admin,
#Cats,
#SearchKB,
.header-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 75%;
  transform: translateX(-75%);
  z-index: 3000;
  width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid rgba(80, 115, 150, 0.50);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 8px;
}


.header-dropdown-menu-small {
  width: 180px;
}

.header-dropdown-menu.is-open {
  display: block !important;
}

#Admin.header-mega-panel,
#Cats.header-mega-panel,
#SearchKB.header-mega-panel {
  width: min(720px, calc(100vw - 32px));
  padding: 14px;
  overflow: visible;
}

.header-mega-panel {
  background: linear-gradient(180deg, #f8f8f8 0%, #eeeeee 100%);
}

.mega-panel-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334882;
  border-bottom: 1px solid rgba(80, 115, 150, 0.35);
  padding: 2px 4px 10px 4px;
  margin-bottom: 10px;
}

.mega-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.TagLinks,
.dropdown-content {
  border-radius: 8px;
  margin: 3px 0;
  overflow: hidden;
}

.header-mega-panel .TagLinks {
  margin: 0;
  border-radius: 10px;
  background: #ffffff !important;
  border: 1px solid rgba(80, 115, 150, 0.26);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.TagLinks a,
.dropdown-content a {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: #505052;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.25;
}

.TagLinks a:hover,
.dropdown-content a:hover,
.header-mega-panel .TagLinks a:hover {
  background: rgba(80, 115, 150, 0.13);
  color: #121212;
  transform: translateY(-1px);
}

.header-mega-panel .TagLinks a {
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  padding: 10px;
}

.mega-item-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(80, 115, 150, 0.12);
  font-size: 1rem;
}

.header-mega-panel .TagLinks span:not(.mega-item-icon) {
  font-size: 0.9rem;
  font-weight: 800;
  color: #333333;
}

.header-mega-panel .TagLinks small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #666666;
}

.template-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.template-mega-panel {
  width: min(760px, calc(100vw - 32px));
}

.blog-mega-panel {
  width: 420px;
  max-width: 420px;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* === End Dropdown / Mega Menu Base (Cleaned) === */








/* =============Mobile Menu================*/
/* Container for the button and menu */
#mobile-menu-container {
  position: fixed;
  right: 20px;
  top: 20px; /* Positioned at bottom-right like a mobile app button */
  z-index: 1000;
  font-family: sans-serif;
}

/* The single button shown by default */
#mobile-toggle-btn {
  width: 56px;
  height: 56px;
  background-color: #2d2d2d;
  color: white;
  border: none;
  border-radius: 50%; /* Makes it a circle */
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* The list (hidden by default) */
#mobile-control-panel {
  position: absolute;
  top: 65px; /* Sits right above the button */
  right: 0;
  width: 200px;
  background-color: #2d2d2d;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Class to show the list when button is clicked */
#mobile-menu-container.open #mobile-control-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mobile-menu-container.open #mobile-toggle-btn {
  transform: rotate(90deg); /* Optional: rotates button icon on click */
}

.mobile-panel-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-panel-items li {
  padding: 15px;
  border-bottom: 1px solid #444;
}

.mobile-panel-items li:last-child {
  border-bottom: none;
}

.mobile-panel-items li a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-panel-items li:hover {
  background-color: #3d3d3d;
}
/* =============Mobile Menu================*/


/*==================Categories/Subs====================*/
 .wrap{
width:85%;
margin:25px auto;
}

.CatSubtitle{
padding:18px;
background:#fbfbfb;
border-radius:14px;
margin-bottom:20px;
}

.kb-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:16px;
}

.CatSubTagLinks{
background:var(--panel);
border-radius:14px;
overflow:hidden;
border:1px solid rgba(0,0,0,.05);
transition:.25s;
box-shadow:0 1px 3px rgba(0,0,0,.03);
padding: 10px;
}

.TagLinks:hover{
transform:translateY(-1px);
box-shadow:0 8px 18px rgba(0,0,0,.06);
}

.TagLinks a{
display:block;
padding:20px;
text-decoration:none;
color:#666;
}

/* Update the card layout to handle the two sides correctly */
.card {
  display: grid;
  /* Left side takes most space (1fr), right side/arrow takes minimal space (auto) */
  grid-template-columns: 1fr auto; 
  column-gap: 24px;
  align-items: center;
  min-height: 110px;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Keeps the badges aligned to the left */
  gap: 8px; /* Adds clean spacing between the title and the badges */
}

.kb-title{
font-size:20px;
font-weight:600;
margin-bottom:8px;
}

/* Fix your badge styling so they look clean when stacked */
.kb-count {
  font-size: 13px;
  opacity: .7;
  /* Changed from inline-block to inline-flex for better alignment */
  display: inline-flex; 
  padding: 5px 10px;
  border-radius: 30px;
  background: rgba(0,0,0,.04); /* Made slightly darker so it is visible against white */
}

.right{
    justify-self:end;
    max-width:0px;
    text-align:right;
    font-size:13px;
    line-height:1.6;
    color:var(--soft);
}

.kb-grid>.TagLinks:last-child:nth-child(odd){
grid-column:span 2;
}


 /*==================Categories/Subs====================*/
 /*==================Search Results====================*/
 
 .cff-list-tools{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin:16px 0;
    padding:12px 14px;
    background:#fcfcfc;
    border:1px solid var(--border-soft);
    border-radius:16px;
}
 
 
 .cff-result-count,
.cff-page-size{
    font-size:13px;
    color:#777;
}

.cff-result-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cff-result-row{
    margin:0;
    padding:0;
    background:var(--panel-bg);
    border:1px solid var(--border-soft);
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.cff-result-row:nth-child(even){
    background:var(--panel-bg-alt);
}

.cff-result-row:hover{
    transform:translateY(-1px);
    box-shadow:var(--shadow-hover);
}

.cff-result-row a,
.cff-result-row a:link,
.cff-result-row a:visited{
    min-height:92px;
    display:grid;
    grid-template-columns:52px 1fr 90px;
    gap:16px;
    align-items:center;
    padding:16px 18px;
    color:var(--link-color);
    text-decoration:none;
}

.cff-result-number{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(0,0,0,.035);
    border:1px solid rgba(0,0,0,.035);
    color:#777;
    font-size:13px;
    font-weight:600;
}

.cff-result-main h3{
    margin:0 0 6px 0;
    font-size:14px;
    line-height:1.3;
    font-weight:600;
    color:#555;
}

.cff-result-main p{
    margin:0;
    color:#777;
    font-size:13px;
    line-height:1.55;
}

.cff-result-action{
    justify-self:end;
    font-size:13px;
    color:#777;
    white-space:nowrap;
}

.cff-arrow{
    margin-left:6px;
    opacity:.55;
}

.cff-empty{
    padding:18px 20px;
    background:#fcfcfc;
    border:1px solid var(--border-soft);
    border-radius:14px;
    color:#777;
}

.cff-pager{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin:22px 0 8px 0;
    flex-wrap:wrap;
}

.cff-pager a,
.cff-pager span{
    min-width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 11px;
    border-radius:12px;
    background:#fcfcfc;
    border:1px solid var(--border-soft);
    color:#666;
    text-decoration:none;
    font-size:13px;
}

.cff-pager .is-current{
    background:#f2f2f2;
    font-weight:700;
}

.cff-pager .is-disabled{
    opacity:.45;
    pointer-events:none;
}
 /*==================Search Results====================*/
 /*==================Title Header====================*/
 /* Main Article Header */
.article-header{
    position:relative;

    margin:30px 0;
    padding:30px;

    border:1px solid #d6dce8;
    border-radius:8px;

    background:
    linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fbff 100%
    );

    overflow:hidden;
}

/* Top accent line */
.article-header:before{
    content:"";
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:3px;

    background:
    linear-gradient(
        90deg,
        #4a90e2 0%,
        #7db7ff 50%,
        #d6e8ff 100%
    );
}

/* Small category text */
.article-category{
    display:inline-block;

    margin-bottom:14px;
    padding:5px 10px;

    border:1px solid #d6dce8;
    border-radius:20px;

    background:#fff;

    font-size:.8rem;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;

    color:#4a90e2;
}

/* Main title */
.CodeTitles{
    margin:0;
    font-size:1.8rem;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-1.5px;
    color: var(--fontColor);
}

/* Subtle divider */
.title-divider{
    width:90px;
    height:2px;

    margin:22px 0;

    background:
    linear-gradient(
        90deg,
        #4a90e2 0%,
        rgba(74,144,226,.1) 100%
    );

    border-radius:2px;
}

/* Description */
.article-description{
    max-width:850px;

    font-size:1.05rem;
    line-height:1.9;

    color:#555;
}

/* Hover */
.article-header:hover{
    box-shadow:
        0 6px 24px rgba(74,144,226,.08);
}

.article-header:hover .title-divider{
    box-shadow:
        0 0 12px rgba(74,144,226,.35);
}

 /*==================Title Header====================*/
 /*==================Date Header====================*/
 .cff-entry-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:15px;

    margin:10px 0 20px 0;
    padding:10px 15px;

    border:1px solid #d6dce8;
    border-radius:6px;

    background:#fafbfd;

    font-size:.9rem;
}

.cff-meta-item{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}

.cff-meta-label{
    font-weight:bold;
    color:#555;
}

.cff-meta-value{
    color:#222;
}

.cff-meta-divider{
    width:1px;
    height:18px;
    background:#d6dce8;
}

 /*==================Date Header====================*/
 /*==================Form====================*/
 /*
 * Copyright (c) 2012 Thibaut Courouble
 * http://www.cssflow.com
 * Licensed under the MIT License
 *
 * Sass/SCSS source: https://goo.gl/0jzXf
 * PSD by Orman Clark: https://goo.gl/D8zmk
 */

.login {
  position: relative;
  margin: 30px auto;
  padding: 20px 20px 20px;
  width: 310px;
  background: white;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login:before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  z-index: -1;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.login h1 {
  margin: -20px -20px 21px;
  line-height: 40px;
  font-size: 15px;
  font-weight: bold;
  color: #555;
  text-align: center;
  text-shadow: 0 1px white;
  background: #f3f3f3;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 3px 3px 0 0;
  background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
  background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
  -webkit-box-shadow: 0 1px whitesmoke;
  box-shadow: 0 1px whitesmoke;
}

.login p {
  margin: 20px 0 0;
}

.login p:first-child {
  margin-top: 0;
}

.login input[type=text], .login input[type=password] {
  width: 278px;
}

.login p.remember_me {
  float: left;
  line-height: 31px;
}

.login p.remember_me label {
  font-size: 12px;
  color: #777;
  cursor: pointer;
}

.login p.remember_me input {
  position: relative;
  bottom: 1px;
  margin-right: 4px;
  vertical-align: middle;
}

.login p.submit {
  text-align: right;
}

.login-help {
  margin: 20px 0;
  font-size: 11px;
  color: white;
  text-align: center;
  text-shadow: 0 1px #2a85a1;
}

.login-help a {
  color: #cce7fa;
  text-decoration: none;
}

.login-help a:hover {
  text-decoration: underline;
}

:-moz-placeholder {
  color: #c9c9c9 !important;
  font-size: 13px;
}

::-webkit-input-placeholder {
  color: #ccc;
  font-size: 13px;
}

input {
  font-family: 'Lucida Grande', Tahoma, Verdana, sans-serif;
  font-size: 14px;
}

input[type=text], input[type=password] {
  margin: 5px;
  padding: 0 10px;
  width: 200px;
  height: 34px;
  color: #404040;
  background: white;
  border: 1px solid;
  border-color: #c4c4c4 #d1d1d1 #d4d4d4;
  border-radius: 2px;
  outline: 5px solid #eff4f7;
  -moz-outline-radius: 3px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

input[type=text]:focus, input[type=password]:focus {
  border-color: #7dc9e2;
  outline-color: #dceefc;
  outline-offset: 0;
}

input[type=submit] {
  padding: 0 18px;
  height: 29px;
  font-size: 12px;
  font-weight: bold;
  color: #527881;
  text-shadow: 0 1px #e3f1f1;
  background: #cde5ef;
  border: 1px solid;
  border-color: #b4ccce #b3c0c8 #9eb9c2;
  border-radius: 16px;
  outline: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  background-image: -webkit-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: -moz-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: -o-linear-gradient(top, #edf5f8, #cde5ef);
  background-image: linear-gradient(to bottom, #edf5f8, #cde5ef);
  -webkit-box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
}

input[type=submit]:active {
  background: #cde5ef;
  border-color: #9eb9c2 #b3c0c8 #b4ccce;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.lt-ie9 input[type=text], .lt-ie9 input[type=password] {
  line-height: 34px;
}
 /*==================Form====================*/
/*===========Search Engine===========*/

.scope-option,
.theme-option,
.future-control {
    position: relative;
    border: 1px solid rgba(128,128,128,0.18);
    background: var(--panel2);
    color: var(--text);
    border-radius: 16px;
    padding: 13px;
    cursor: pointer;
}

.scope-option input,
.theme-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scope-option span,
.theme-option span {
    display: block;
    font-weight: 800;
}

.scope-option small,
.theme-option small,
.future-control small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.35;
}

.scope-option:has(input:checked),
.theme-option.active,
.theme-option:has(input:checked) {
    border-color: rgba(255, 122, 24, 0.44);
    background: rgba(255, 122, 24, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
}

.search-hints {
    margin-top: 13px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.8rem;
}


.overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(3px);
}

.overlay.open {
    display: block;
}

.search-panel,
.control-panel {
    display: none;
    position: fixed;
    z-index: 60;
    border-radius: 22px;
    background: var(--flyout-bg);
    border: 1px solid rgba(128,128,128,0.2);
    box-shadow: var(--shadow);
    padding: 18px;
}

.search-panel {
    top: 88px;
    left: 50%;
    right: auto;
    width: min(820px, calc(100vw - 34px));
    transform: translateX(-50%);
}

.control-panel {
    top: 88px;
    right: 17px;
    width: min(420px, calc(100% - 34px));
}

.search-panel.open,
.control-panel.open {
    display: block;
}

.flyout-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.flyout-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.flyout-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.close-flyout {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    border: 1px solid rgba(128,128,128,0.2);
    background: var(--panel2);
    color: var(--text);
    cursor: pointer;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-panel input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(128,128,128,0.22);
    background: var(--panel2);
    color: var(--text);
    border-radius: 16px;
    padding: 0 16px;
    font-size: 1rem;
    outline: none;
}

.search-submit {
    min-width: 112px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--fire), var(--ember));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.search-scope-grid,
.theme-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.search-scope-grid {
    grid-template-columns: repeat(3, 1fr);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.icon-button {
    width: 46px;
    font-size: 1.05rem;
	background-color: transparent;
	border: none;
	margin-top: 8px;
}

.control-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(128,128,128,0.16);
}

.control-group h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.future-control {
    cursor: default;
    border-style: dashed;
    opacity: 0.82;
}

.search-hints {
    margin-top: 13px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.8rem;
}

.cff-page-wrap{
    width:85%;
    margin:26px auto;
}

.cff-list-header{
    background:#fbfbfb;
    border:1px solid var(--border-soft);
    border-radius:16px;
    padding:18px 20px;
    margin-bottom:16px;
    box-shadow:var(--shadow-soft);
}

.cff-list-header h1{
    margin:0;
    font-size:24px;
    font-weight:600;
    color:#555;
}

.cff-search-form{
    display:flex;
    align-items:stretch;
    gap:12px;

    width:100%;
    max-width:1000px;
    margin:0 auto;

    background:var(--panel-bg);
    border:1px solid var(--border-soft);
    border-radius:18px;

    box-shadow:var(--shadow-soft);

    padding:12px;

    transition:.25s ease;
}

.cff-search-form:hover{
    box-shadow:var(--shadow-hover);
}

.SearchTerm{
    flex:1;
    min-width:0;

    height:56px;

    border:1px solid rgba(0,0,0,.06);
    background:var(--panel-soft);

    border-radius:14px;

    padding:0 18px;

    color:var(--text-main);
    font-size:16px;

    outline:none;

    transition:.2s ease;
}

.SearchTerm:focus{
    border-color:rgba(95,134,168,.35);
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(95,134,168,.08);
}

.SearchTerm::placeholder{
    color:#999;
}

.SearchButton{
    flex-shrink:0;

    min-width:130px;
    height:56px;

    border:none;
    border-radius:14px;

    background:linear-gradient(135deg,var(--accent),var(--accent2));

    color:#fff;
    font-size:15px;
    font-weight:700;

    cursor:pointer;

    padding:0 24px;

    transition:.2s ease;
}

.SearchButton:hover{
    transform:translateY(-1px);
}

/*===========Search Engine===========*/

.marker::marker {
    font-size: 150%;
    color: lightgreen;
}
.marker {
    border: 1px double #600;
    margin-left: 5px;
    padding: 0 5px 0 5px;
}
.marker::before {
    background-repeat: no-repeat;
    background-size: 25px 25px;
    display: inline-block;
    width: 25px;
    height: 25px;
    content: "";
    margin-right: 2.5px;
    margin-top: 2.5px;
}
