@import url("configuration.css");

button,input,select,textarea{max-width:100%;font:inherit}input[type=text],input[type=password],input[type=email],input[type=url],input[type=search],input[type=number],select,textarea{min-height:2.75rem;padding:.65rem .75rem;color:var(--eclipse-text);background:var(--eclipse-surface);border:1px solid #aeb6c6;border-radius:.5rem}textarea{width:100%;min-height:8rem;resize:vertical}button,input[type=submit],input[type=button],input[type=reset],.button,.uk-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.7rem;padding:.55rem 1rem;border:1px solid var(--eclipse-action,var(--eclipse-primary));border-radius:.5rem;background:var(--eclipse-action,var(--eclipse-primary));color:#fff;text-decoration:none;cursor:pointer}button:hover,input[type=submit]:hover,input[type=button]:hover,input[type=reset]:hover,.button:hover,.uk-button:hover,button:focus,input[type=submit]:focus,input[type=button]:focus,input[type=reset]:focus,.button:focus,.uk-button:focus{background:var(--eclipse-action-hover,var(--eclipse-action,var(--eclipse-primary)));border-color:var(--eclipse-action-hover,var(--eclipse-action,var(--eclipse-primary)));color:#fff;text-decoration:none}.button-style-outline button,.button-style-outline input[type=submit],.button-style-outline .button{background:transparent;color:var(--eclipse-action,var(--eclipse-primary));border-color:var(--eclipse-action,var(--eclipse-primary))}.button-style-outline button:hover,.button-style-outline input[type=submit]:hover,.button-style-outline .button:hover,.button-style-outline button:focus,.button-style-outline input[type=submit]:focus,.button-style-outline .button:focus{background:var(--eclipse-action,var(--eclipse-primary));color:#fff}fieldset{border:1px solid var(--eclipse-border);border-radius:var(--eclipse-radius)}label{font-weight:650}.compact dt,.compact dd{float:none;width:auto;margin:0 0 .5rem}.compact dt{margin-top:1rem}.fieldhelp,.description{color:var(--eclipse-muted)}
#commentform .submit p,#commentform_advanced .submit p{display:flex;align-items:center;gap:.55rem;margin:.9rem 0 0}#commentform .submit p input[type=checkbox],#commentform_advanced .submit p input[type=checkbox]{flex:0 0 auto;margin:0}
body.theme-eclipse .eclipse-danger-action{background:var(--eclipse-danger)!important;color:#fff!important;border-color:var(--eclipse-danger)!important;box-shadow:0 8px 20px rgba(180,35,24,.22)!important}body.theme-eclipse .eclipse-danger-action:hover,body.theme-eclipse .eclipse-danger-action:focus{background:var(--eclipse-danger-hover)!important;border-color:var(--eclipse-danger-hover)!important}body.theme-eclipse input[type=image].eclipse-danger-action{box-sizing:content-box;padding:.55rem!important;border-radius:.5rem!important}

/* Keep native dropdowns readable even inside compact admin toolbars and on
 * older browsers/Geeklog skins that apply their own option colors. */
body.theme-eclipse select:not([multiple]):not([size]){box-sizing:border-box;min-height:2.5rem;height:auto;padding:.45rem 2rem .45rem .65rem;color:var(--eclipse-text);background-color:var(--eclipse-surface);font-size:.875rem;line-height:1.35;vertical-align:middle}
body.theme-eclipse select option{color:var(--eclipse-text);background:var(--eclipse-surface)}
@media(max-width:52rem){body.theme-eclipse select:not([multiple]):not([size]){min-height:3rem;padding:.55rem 2rem .55rem .7rem;font-size:1rem;line-height:1.4}}

/* Configuration tabs: keep labels compact while preserving a comfortable target. */
body.theme-eclipse.eclipse-admin-configuration #geeklog_config_editor #config_content #tabs>ul>li>a{min-height:2.15rem!important;padding:.35rem .58rem!important;line-height:1.25!important}
body.theme-eclipse.eclipse-admin-configuration #geeklog_config_editor #config_content #tabs>ul{gap:.28rem!important;padding:.32rem .38rem 0!important}


/* User settings: preserve Geeklog's native profile editor behavior while
   presenting #navlist as a clear Eclipse tab bar. */
body.theme-eclipse.eclipse-user-settings #pe_navbar{margin:0 0 1rem;padding:0;border-bottom:1px solid var(--eclipse-border)}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.35rem;margin:0;padding:.45rem .5rem 0;background:color-mix(in srgb,var(--eclipse-primary) 4%,var(--eclipse-surface));border:1px solid var(--eclipse-border);border-bottom:0;border-radius:.7rem .7rem 0 0;list-style:none}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist::before,body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist::after{display:none;content:none}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li{float:none;display:block;width:auto;height:auto;margin:0;padding:0}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li>a{display:flex;align-items:center;width:auto;height:auto;min-height:2.55rem;margin:0;padding:.5rem .85rem;color:var(--eclipse-link);background:var(--eclipse-surface);border:1px solid var(--eclipse-border);border-bottom-color:transparent;border-radius:.5rem .5rem 0 0;font-size:.82rem;font-weight:700;line-height:1.25;text-decoration:none;white-space:nowrap}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li>a:hover,body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li>a:focus-visible{color:var(--eclipse-primary);background:color-mix(in srgb,var(--eclipse-primary) 8%,var(--eclipse-surface));outline:0}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li>a#current{position:relative;top:1px;height:auto;margin:0;padding-top:.5rem;color:#fff;background:var(--eclipse-primary);border-color:var(--eclipse-primary);border-bottom-color:var(--eclipse-primary);box-shadow:0 -2px 0 color-mix(in srgb,var(--eclipse-primary) 65%,#000)}
body.theme-eclipse.eclipse-user-settings #profile>div[id^=pe_]:not(#pe_preview){padding:1rem;background:var(--eclipse-surface);border:1px solid var(--eclipse-border);border-radius:0 0 .7rem .7rem}
body.theme-eclipse.eclipse-user-settings #profile #save_button{display:flex;justify-content:flex-end;gap:.55rem;margin:1rem 0 0;padding:.7rem .85rem;background:color-mix(in srgb,var(--eclipse-surface) 95%,transparent);border:1px solid var(--eclipse-border);border-radius:.6rem}
@media(max-width:47.99rem){
body.theme-eclipse.eclipse-user-settings #pe_navbar{overflow:hidden}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist{flex-wrap:nowrap;align-items:stretch;overflow-x:auto;overflow-y:hidden;padding:.4rem .4rem 0;scrollbar-width:thin}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li{flex:0 0 auto}
body.theme-eclipse.eclipse-user-settings #pe_navbar #navlist>li>a{min-height:2.4rem;padding:.45rem .7rem;font-size:.78rem}
body.theme-eclipse.eclipse-user-settings #profile>div[id^=pe_]:not(#pe_preview){padding:.75rem}
body.theme-eclipse.eclipse-user-settings #profile #save_button{justify-content:stretch}
body.theme-eclipse.eclipse-user-settings #profile #save_button button{flex:1 1 auto}
}


/* Shared ADMIN_list search/filter shell.
   This component is intentionally public-safe: plugins may use the same
   markup outside /admin and inherit a compact neutral Eclipse presentation. */
body.theme-eclipse .eclipse-admin-list-search{box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem;width:100%;max-width:100%;margin:.65rem 0;padding:.65rem .75rem;background:color-mix(in srgb,var(--eclipse-primary) 2%,var(--eclipse-surface));border:1px solid var(--eclipse-border);border-radius:.55rem;font-size:.78rem;line-height:1.25}
body.theme-eclipse .eclipse-admin-list-search-main{display:flex;align-items:center;gap:.55rem;min-width:min(100%,18rem);flex:1 1 22rem}
body.theme-eclipse .eclipse-admin-list-search-label{margin:0;color:var(--eclipse-text);font-size:.8rem;font-weight:750;line-height:1.2;white-space:nowrap}
body.theme-eclipse .eclipse-admin-list-search-field{display:flex;align-items:stretch;gap:.4rem;min-width:0;flex:1 1 auto}
body.theme-eclipse .eclipse-admin-list-search-field input[type=search]{box-sizing:border-box;min-width:10rem;width:100%;min-height:2.15rem;height:2.15rem;margin:0;padding:.3rem .55rem;border-radius:.4rem;font:inherit}
body.theme-eclipse .eclipse-admin-list-search-field button{box-sizing:border-box;min-height:2.15rem;height:2.15rem;margin:0;padding:.3rem .65rem;border-radius:.4rem;font-size:.78rem;font-weight:700;line-height:1;white-space:nowrap}
body.theme-eclipse .eclipse-admin-list-search-filters,body.theme-eclipse .eclipse-admin-list-filter-primary,body.theme-eclipse .eclipse-admin-list-search-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .65rem}
body.theme-eclipse .eclipse-admin-list-filter-primary label,body.theme-eclipse .eclipse-admin-list-filter-limit{display:inline-flex;align-items:center;gap:.4rem;margin:0;color:var(--eclipse-text);font-size:.76rem;font-weight:650;line-height:1.2;white-space:nowrap}
body.theme-eclipse .eclipse-admin-list-search select{box-sizing:border-box;field-sizing:content;width:auto;min-width:0;max-width:16rem;min-height:2.1rem;height:2.1rem;margin:0;padding:.28rem 1.65rem .28rem .5rem;border-radius:.4rem;font-size:.76rem;font-weight:600;line-height:1.2}
body.theme-eclipse .eclipse-admin-list-filter-limit select{min-width:4.25rem;max-width:6rem}
body.theme-eclipse .eclipse-admin-list-search input[type=checkbox]{width:.9rem;height:.9rem;margin:0}
body.theme-eclipse .eclipse-admin-list-search-status{display:inline-flex;align-items:baseline;gap:.3rem;color:var(--eclipse-muted);font-size:.76rem;white-space:nowrap}
body.theme-eclipse .eclipse-admin-list-search-status strong{color:var(--eclipse-text);font-weight:750;font-variant-numeric:tabular-nums}
body.theme-eclipse .eclipse-admin-list-search-tools{display:flex;align-items:center;margin-left:auto}
body.theme-eclipse .eclipse-admin-list-search-tools:empty{display:none}
body.theme-eclipse .eclipse-admin-list-search-tools .eclipse-filter-tools{margin:0;padding:0;background:transparent;border:0}
@media(max-width:47.99rem){
body.theme-eclipse .eclipse-admin-list-search{align-items:stretch;padding:.6rem}
body.theme-eclipse .eclipse-admin-list-search-main{flex-basis:100%;min-width:0}
body.theme-eclipse .eclipse-admin-list-search-label{flex:0 0 100%}
body.theme-eclipse .eclipse-admin-list-search-field{width:100%}
body.theme-eclipse .eclipse-admin-list-search-filters,body.theme-eclipse .eclipse-admin-list-filter-primary,body.theme-eclipse .eclipse-admin-list-search-meta{width:100%}
body.theme-eclipse .eclipse-admin-list-search-tools{margin-left:0}
}

/* Advanced search: keyword-first form and native disclosure for optional filters. */
body.theme-eclipse .eclipse-search-form{box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:clamp(.5rem,2vw,1.5rem)}
body.theme-eclipse .eclipse-search-form .form_message{margin:0 0 1.25rem;line-height:1.5}
body.theme-eclipse .eclipse-search-primary>label{display:block;margin-bottom:.5rem;font-weight:750}
body.theme-eclipse .eclipse-search-primary-row{display:flex;align-items:stretch;gap:.65rem}
body.theme-eclipse .eclipse-search-primary-row input[type=search]{box-sizing:border-box;flex:1 1 auto;min-width:0;min-height:3rem;margin:0;font:inherit}
body.theme-eclipse .eclipse-search-primary-row button{flex:0 0 auto;min-width:8rem;margin:0}
body.theme-eclipse .eclipse-search-options{margin-top:1rem;padding:.75rem 1rem;border:1px solid var(--eclipse-border);border-radius:.65rem;background:var(--eclipse-surface)}
body.theme-eclipse .eclipse-search-options>summary{cursor:pointer;font-weight:700;color:var(--eclipse-text);line-height:1.5}
body.theme-eclipse .eclipse-search-options>summary:focus-visible{outline:2px solid var(--eclipse-primary);outline-offset:3px}
body.theme-eclipse .eclipse-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem 1.5rem;align-items:start;margin-top:1.15rem;padding-top:1rem;border-top:1px solid var(--eclipse-border)}
body.theme-eclipse .eclipse-search-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}
body.theme-eclipse .eclipse-search-field>label:first-child{font-weight:700}
body.theme-eclipse .eclipse-search-field input[type=text],body.theme-eclipse .eclipse-search-field select{box-sizing:border-box;width:100%;min-width:0;margin:0}
body.theme-eclipse .eclipse-search-check{display:inline-flex;align-items:center;gap:.5rem;align-self:flex-start;font-weight:600}
body.theme-eclipse .eclipse-search-check input{margin:0}
body.theme-eclipse .eclipse-search-date-row{display:flex;align-items:center;gap:.5rem}
body.theme-eclipse .eclipse-search-date-row input{flex:1 1 0;min-width:0}
body.theme-eclipse .eclipse-search-field .description{font-size:.8rem;line-height:1.4}
body.theme-eclipse .eclipse-search-results-row{display:flex;align-items:center;gap:.6rem}
body.theme-eclipse .eclipse-search-results-row select{width:auto;min-width:5rem}
body.theme-eclipse .eclipse-search-author-slot{min-width:0;font-size:0;line-height:0}
body.theme-eclipse .eclipse-search-author-slot>.eclipse-search-field{font-size:1rem;line-height:normal}
@media(max-width:45rem){body.theme-eclipse .eclipse-search-grid{grid-template-columns:minmax(0,1fr);gap:1rem}body.theme-eclipse .eclipse-search-primary-row{flex-direction:column}body.theme-eclipse .eclipse-search-primary-row button{width:100%}body.theme-eclipse .eclipse-search-options{padding:.75rem}}


/* Native Geeklog profile editor: readable two-column layout without changing
   the server-rendered fields, tab handlers or form submission semantics. */
body.theme-eclipse.eclipse-user-settings #main-content{min-width:0}
body.theme-eclipse.eclipse-user-settings #profile{min-width:0}
body.theme-eclipse.eclipse-user-settings #profile fieldset{min-width:0;margin:0 0 1rem;padding:clamp(.8rem,2vw,1.4rem);background:var(--eclipse-surface)}
body.theme-eclipse.eclipse-user-settings #profile fieldset>legend{max-width:100%;padding:0 .45rem;color:var(--eclipse-text);font-size:1rem;font-weight:750}
body.theme-eclipse.eclipse-user-settings #profile .form_block{display:grid;grid-template-columns:minmax(10rem,32%) minmax(0,1fr);gap:.35rem 1rem;align-items:start;margin:0}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dt,
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd{float:none;clear:none;width:auto;min-width:0;max-width:100%;margin:0;padding:0}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dt{grid-column:1;align-self:center;padding-top:.35rem}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd{grid-column:2}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd.description{margin:-.15rem 0 .75rem;color:var(--eclipse-muted);font-size:.82rem;line-height:1.5}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd:not(.description){margin-bottom:.2rem}
body.theme-eclipse.eclipse-user-settings #profile .form_block input:not([type=checkbox]):not([type=radio]),
body.theme-eclipse.eclipse-user-settings #profile .form_block select,
body.theme-eclipse.eclipse-user-settings #profile .form_block textarea{box-sizing:border-box;width:100%;min-width:0;max-width:38rem}
body.theme-eclipse.eclipse-user-settings #profile .profile_notes{box-sizing:border-box;max-width:100%;margin:0 0 1rem;padding:.85rem 1rem;border:1px solid var(--eclipse-border);border-radius:.65rem;background:color-mix(in srgb,var(--eclipse-primary) 4%,var(--eclipse-surface));line-height:1.5}
body.theme-eclipse.eclipse-user-settings #profile .profile_notes .uk-panel-title{margin-bottom:.35rem;font-weight:750}
body.theme-eclipse.eclipse-user-settings #profile .controls_text label{display:inline-flex;align-items:center;gap:.5rem;font-weight:500}
body.theme-eclipse.eclipse-user-settings #profile #save_button{position:relative;flex-wrap:wrap}
body.theme-eclipse.eclipse-user-settings #profile #save_button .uk-button{min-width:9rem}
body.theme-eclipse.eclipse-user-settings .gl-tooltip-icon{display:inline-block;width:1.05rem;height:1.05rem;max-width:1.05rem;vertical-align:middle;object-fit:contain}
body.theme-eclipse.eclipse-user-settings .gl-tooltip{position:relative;display:inline-flex;align-items:center;vertical-align:middle}
body.theme-eclipse.eclipse-user-settings .gl-tooltip:focus-visible{outline:2px solid var(--eclipse-primary);outline-offset:3px}
@media(max-width:43rem){
body.theme-eclipse.eclipse-user-settings #profile .form_block{grid-template-columns:minmax(0,1fr);gap:.2rem}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dt,
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd{grid-column:1}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dt{margin-top:.75rem;padding-top:0}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dt:first-child{margin-top:0}
body.theme-eclipse.eclipse-user-settings #profile .form_block>dd.description{margin-bottom:.55rem}
body.theme-eclipse.eclipse-user-settings #profile #save_button .uk-button{flex:1 1 9rem}
}

/* Separate login recovery links from the submit action. */
body.theme-eclipse #userloginform .submit>div.uk-margin-small-bottom{margin-top:.75rem}
