/* recoloured for Academic Tools from themes/academictools/style.css */
/*
Theme Name: Academic Tools
Theme URI: https://app.academictools.in
Author: Academic Tools
Description: Academic Tools portal shell (cream / ink / purple). Built from the GroupBuyAiTool 2.3.0 shell; colours are remapped at runtime by inc/groupai.php.
Version: 1.0.0
Text Domain: academictools
*/
body { margin: 0; background: #f6f1e8; color: #15111c; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #5b21b6; }
.gb-theme-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; }
.gb-theme-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 12px;
}
.gb-theme-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #15111c; }
.gb-theme-brand img { width: 36px; height: 36px; border-radius: 10px; }
.gb-theme-brand .site-title { font-weight: 800; font-size: 18px; }
.gb-theme-top nav a { margin-left: 14px; text-decoration: none; color: #5c5468; font-weight: 600; font-size: 14px; }
.site-footer { margin-top: 28px; color: #5c5468; font-size: 12px; text-align: center; }
.gb-theme-wrap .entry-title { display: none; }
body:has(.gb-app) .site-footer { display: none; }
body:has(.gb-app) .gb-theme-wrap { max-width: none; padding: 0; }
body:has(.gb-app) { background: #f6f1e8; }

/* Login page branding */
body.login { background: #f6f1e8; }
body.login #login h1 a {
  background-image: url('https://app.academictools.in/wp-content/themes/academictools/assets/logo.png');
  background-size: 84px 84px;
  width: 84px; height: 84px;
  margin-bottom: 8px;
}
body.login #login::before {
  content: 'Academic Tools';
  display: block; text-align: center; font-weight: 800; color: #15111c;
  margin: -4px 0 16px; font-size: 18px;
}
body.login .button-primary {
  background: #6d28d9 !important; border-color: #6d28d9 !important;
  box-shadow: none !important; text-shadow: none !important;
}

.gb-theme-brand .custom-logo-link { display: inline-flex; }
.gb-theme-brand .custom-logo { width: 36px; height: 36px; border-radius: 10px; }

/* ===== 2.2.0 header + mobile drawer ===== */
.gbt-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #e2d7f4;box-shadow:0 2px 10px rgba(21,17,28,.05)}
.gbt-header-inner{max-width:1200px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.gbt-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#15111c;min-width:0}
.gbt-brand img{width:38px;height:38px;border-radius:10px;object-fit:contain;flex:0 0 auto}
.gbt-name{font-weight:800;font-size:18px;white-space:nowrap;letter-spacing:-.2px}
.gbt-name b{color:#6d28d9}
.gbt-nav{display:flex;align-items:center;gap:4px}
.gbt-nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:#443d4f;font-weight:600;font-size:14px}
.gbt-nav a:hover,.gbt-nav a.is-active{background:#ede9fe;color:#6d28d9}
a.gbt-cta{background:#6d28d9;color:#fff!important;padding:9px 16px;border-radius:9px;font-weight:700;text-decoration:none;margin-left:6px}
a.gbt-cta:hover{background:#5b21b6}
a.gbt-cta-ghost{background:#fff;color:#6d28d9!important;border:1.5px solid #6d28d9}
.gbt-burger{display:none;width:42px;height:42px;border:1px solid #d7c9ef;border-radius:10px;background:#f6f1e8;cursor:pointer;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.gbt-burger span{display:block;width:20px;height:2px;background:#6d28d9;border-radius:2px}
.gbt-overlay{position:fixed;inset:0;background:rgba(21,17,28,.45);z-index:1001}
.gbt-drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,320px);background:#fff;z-index:1002;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;box-shadow:-8px 0 30px rgba(0,0,0,.15)}
.gbt-drawer.is-open{transform:none}
.gbt-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e7dff6;background:linear-gradient(135deg,#efe9f9,#fff)}
.gbt-drawer-head .gbt-name{font-size:16px}
.gbt-close{border:0;background:#f9f5ee;width:36px;height:36px;border-radius:9px;font-size:24px;line-height:1;color:#15111c;cursor:pointer}
.gbt-drawer-nav{display:flex;flex-direction:column;padding:10px;gap:2px;overflow:auto}
.gbt-drawer-nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:10px;text-decoration:none;color:#15111c;font-weight:600;font-size:15px}
.gbt-drawer-nav a:hover,.gbt-drawer-nav a.is-active{background:#ede9fe;color:#6d28d9}
.gbt-ico{width:28px;text-align:center}
.gbt-drawer-foot{margin-top:auto;padding:16px;border-top:1px solid #e7dff6}
a.gbt-cta-block{display:block;text-align:center;margin:0;padding:12px}
body.gbt-lock{overflow:hidden}
@media (max-width:860px){.gbt-nav{display:none}.gbt-burger{display:inline-flex}.gbt-name{font-size:16px}}
@media (max-width:340px){.gbt-name{font-size:14px}}
body.admin-bar .gbt-header{top:32px}
@media (max-width:782px){body.admin-bar .gbt-header{top:46px}}
@media (max-width:600px){body.admin-bar .gbt-header{top:0}}
@media (min-width:861px){body:has(.gb-app) .gbt-header{display:none}}
