/*
Theme Name: SeaLifeHits 2026 Sidebar
Theme URI: https://sealifehits.com/
Description: SeaLifeHits 2026 Member Area theme for LFMTE.
Version: 1.0
Author: Sig Skeie
*/

/* =========================================================
   SeaLifeHits 2026 Member Area Theme
   /themes/LFMTE_sidebar_2026/style.css
   ========================================================= */

:root {
  --slh-deep: #031d2e;
  --slh-deep-2: #062f45;
  --slh-ocean: #075f80;
  --slh-cyan: #0ba3c7;
  --slh-aqua: #65e0e8;
  --slh-mint: #bff7ef;
  --slh-gold: #ffd66d;
  --slh-white: #f8feff;
  --slh-soft: #d7f7fb;
  --slh-ink: #08384a;
  --slh-border: rgba(115, 223, 235, .25);
  --slh-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  --slh-header-h: 76px;
  --slh-sidebar-w: 242px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #0a3b4d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  background:
    linear-gradient(
      180deg,
      #dffbfb 0,
      #b7eef0 9%,
      #7bd8df 20%,
      #28a7bd 38%,
      #08728f 58%,
      #05425e 77%,
      #021b2a 100%
    );
  background-attachment: fixed;
}

a {
  color: #08758f;
}

a:hover {
  color: #05586e;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}


/* =========================================================
   PAGE / HEADER
   ========================================================= */

.slh-page {
  min-height: 100vh;
}

.slh-global-header {
  position: relative;
  z-index: 120;
  background:
    linear-gradient(
      180deg,
      rgba(218, 249, 250, .99),
      rgba(174, 232, 235, .99)
    );
  border-bottom: 1px solid rgba(8, 92, 113, .10);
  box-shadow: 0 4px 14px rgba(2, 47, 63, .08);
}

.slh-header-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: var(--slh-header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.slh-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.slh-brand:hover {
  text-decoration: none;
}

.slh-brand-turtle {
  width: 58px;
  max-height: 56px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 6px rgba(3, 48, 62, .16));
}

.slh-brand-text {
  min-width: 0;
  line-height: 1;
}

.slh-wordmark {
  white-space: nowrap;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1.15px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.slh-sea {
  color: #d96f3e;
}

.slh-life {
  color: #3a986c;
}

.slh-hits {
  color: #08758f;
}

.slh-tagline {
  margin-top: 5px;
  color: #0a5066;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.45px;
  text-transform: uppercase;
  white-space: nowrap;
}

.slh-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.slh-surf-button {
  display: inline-block;
  padding: 10px 17px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #078cab, #056b84);
  box-shadow: 0 7px 16px rgba(6, 102, 126, .19);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.slh-surf-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #0796b7, #045f77);
  box-shadow: 0 9px 20px rgba(6, 102, 126, .25);
  transform: translateY(-1px);
  text-decoration: none;
}


/* =========================================================
   MOBILE MENU BAR
   ========================================================= */

.slh-mobile-menu-bar {
  display: none;
  width: 100%;
  padding: 9px 14px;
  background: rgba(4, 76, 97, .96);
  border-bottom: 1px solid rgba(180, 242, 245, .18);
}

.slh-menu-toggle {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(196, 247, 248, .30);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  font-weight: 800;
}

.slh-menu-icon {
  font-size: 21px;
  line-height: 1;
}


/* =========================================================
   APP SHELL
   ========================================================= */

.slh-app-shell {
  width: min(1240px, calc(100% - 28px));
  min-height: calc(100vh - var(--slh-header-h));
  margin: 22px auto 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.slh-sidebar {
  width: var(--slh-sidebar-w);
  flex: 0 0 var(--slh-sidebar-w);
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(136, 229, 237, .22);
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      rgba(5, 77, 101, .97),
      rgba(3, 51, 75, .98) 45%,
      rgba(2, 30, 47, .99)
    );
  box-shadow: var(--slh-shadow);
  transition:
    width .22s ease,
    flex-basis .22s ease,
    transform .22s ease,
    opacity .22s ease;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(104, 219, 229, .45)
    rgba(0, 0, 0, .10);
}

.slh-sidebar::-webkit-scrollbar {
  width: 7px;
}

.slh-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .10);
}

.slh-sidebar::-webkit-scrollbar-thumb {
  background: rgba(104, 219, 229, .45);
  border-radius: 10px;
}

.slh-sidebar-title {
  padding: 16px 17px 13px;
  color: #c6f6f7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(138, 226, 235, .15);
}

.slh-member-nav {
  padding: 9px;
}

.slh-member-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slh-member-nav li {
  margin: 2px 0;
  padding: 0;
}

.slh-member-nav li a {
  display: block;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #e5fbfc;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .16s ease;
}

.slh-member-nav li a:hover,
.slh-member-nav li a:focus {
  color: #fff;
  background: rgba(89, 211, 224, .13);
  border-color: rgba(116, 226, 236, .17);
  text-decoration: none;
  transform: translateX(2px);
  outline: none;
}

.slh-member-nav .slh-menu-highlight a {
  margin-top: 5px;
  color: #072f40;
  background: linear-gradient(135deg, #ffe58f, #ffd15c);
  border-color: rgba(255, 229, 143, .55);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .14);
}

.slh-member-nav .slh-menu-highlight a:hover {
  color: #062939;
  background: linear-gradient(135deg, #ffeb9f, #ffd96d);
}

.slh-member-nav .slh-menu-logout a {
  margin-top: 8px;
  color: #ffdede;
  border-color: rgba(255, 179, 179, .13);
  background: rgba(128, 18, 28, .16);
}

.slh-owner-card {
  margin: 8px 12px 15px;
  padding: 15px 10px;
  text-align: center;
  border-top: 1px solid rgba(138, 226, 235, .16);
}

.slh-owner-photo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(187, 243, 246, .55);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .24);
}

.slh-owner-name {
  margin-top: 9px;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

.slh-owner-label {
  margin-top: 1px;
  color: #aee8eb;
  font-size: 11px;
  font-weight: 700;
}


/* Desktop collapsed sidebar */

body.slh-sidebar-collapsed .slh-sidebar {
  width: 0;
  flex-basis: 0;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
}

body.slh-sidebar-collapsed .slh-main-area {
  width: 100%;
}


/* =========================================================
   MAIN DASHBOARD
   ========================================================= */

.slh-main-area {
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
  border: 1px solid rgba(91, 195, 211, .28);
  border-radius: 18px;
  background: rgba(246, 254, 255, .96);
  box-shadow: var(--slh-shadow);
}

.slh-dashboard-bar {
  min-height: 56px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(11, 115, 143, .12);
  border-radius: 17px 17px 0 0;
  background:
    linear-gradient(
      180deg,
      rgba(225, 250, 250, .98),
      rgba(195, 239, 242, .98)
    );
}

.slh-desktop-menu-toggle {
  width: 38px;
  height: 36px;
  padding: 0;
  flex: 0 0 38px;
  border: 1px solid rgba(7, 95, 128, .20);
  border-radius: 10px;
  color: #07566d;
  background: rgba(255, 255, 255, .52);
  cursor: pointer;
  font-size: 20px;
  line-height: 34px;
  transition:
    background .17s ease,
    transform .17s ease;
}

.slh-desktop-menu-toggle:hover {
  background: rgba(255, 255, 255, .88);
  transform: translateY(-1px);
}

.slh-dashboard-title {
  min-width: 0;
  flex: 1 1 auto;
  color: #083f53;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .15px;
}

.slh-dashboard-surf {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #078cab, #056b84);
  box-shadow: 0 5px 12px rgba(6, 102, 126, .16);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.slh-dashboard-surf:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0796b7, #045f77);
}

.slh-content-area {
  min-width: 0;
  padding: 18px;
  overflow: visible;
}

.slh-member-content,
#container {
  min-width: 0;
  width: 100%;
  color: #173f4d;
}


/* =========================================================
   LEGACY LFMTE CONTENT SAFETY
   ========================================================= */

#container img,
.slh-member-content img {
  max-width: 100%;
  height: auto;
}

#container iframe,
.slh-member-content iframe,
#container embed,
.slh-member-content embed,
#container object,
.slh-member-content object {
  max-width: 100%;
}

#container table,
.slh-member-content table {
  max-width: 100%;
}

#container td,
#container th,
.slh-member-content td,
.slh-member-content th {
  overflow-wrap: break-word;
  word-break: normal;
}

.membertd,
.membertdbold,
.formlabel,
.formlabelbold {
  color: #153f4d;
  font-family: Arial, Helvetica, sans-serif;
}

.membertd {
  font-size: 13px;
}

.membertdbold {
  font-size: 13px;
  font-weight: 700;
}

.formlabel {
  font-size: 13px;
}

.formlabelbold {
  font-size: 13px;
  font-weight: 700;
}


/* Common legacy form controls */

#container input[type="text"],
#container input[type="password"],
#container input[type="email"],
#container input[type="number"],
#container input[type="url"],
#container select,
#container textarea,
.slh-member-content input[type="text"],
.slh-member-content input[type="password"],
.slh-member-content input[type="email"],
.slh-member-content input[type="number"],
.slh-member-content input[type="url"],
.slh-member-content select,
.slh-member-content textarea {
  max-width: 100%;
  padding: 8px 9px;
  border: 1px solid #a8ccd3;
  border-radius: 8px;
  color: #163d4b;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}

#container textarea,
.slh-member-content textarea {
  min-height: 80px;
}

#container input:focus,
#container select:focus,
#container textarea:focus,
.slh-member-content input:focus,
.slh-member-content select:focus,
.slh-member-content textarea:focus {
  border-color: #27a6bc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 166, 188, .12);
}

#container input[type="submit"],
#container input[type="button"],
#container button,
.slh-member-content input[type="submit"],
.slh-member-content input[type="button"],
.slh-member-content button {
  max-width: 100%;
}


/* Do not force custom styling on image-based legacy buttons */

#container input[type="submit"]:not([src]),
#container input[type="button"]:not([src]),
.slh-member-content input[type="submit"]:not([src]),
.slh-member-content input[type="button"]:not([src]) {
  padding: 8px 13px;
  border: 1px solid rgba(5, 103, 130, .25);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #078cab, #056b84);
  cursor: pointer;
  font-weight: 700;
}

#container hr,
.slh-member-content hr {
  height: 1px;
  border: 0;
  background: rgba(10, 116, 143, .17);
}


/* Protect very wide legacy content */

.slh-member-content {
  overflow-wrap: anywhere;
}

.slh-member-content pre {
  max-width: 100%;
  overflow: auto;
}


/* =========================================================
   MEMBER HOME TEMPLATE COMPATIBILITY

   Current Member Area HOME template already carries its own
   styling. Keep theme-level rules here intentionally light.
   ========================================================= */

.slh-members-wrap {
  max-width: 100%;
}

.slh-members-wrap img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   FOOTER
   ========================================================= */

.slh-global-footer {
  margin-top: 34px;
  color: #d9f7f8;
  background:
    linear-gradient(
      180deg,
      rgba(3, 45, 65, .97),
      rgba(2, 23, 36, .99)
    );
  border-top: 1px solid rgba(107, 218, 229, .19);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, .12);
}

.slh-footer-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 28px;
  text-align: center;
}

.slh-footer-brand {
  margin-bottom: 13px;
}

.slh-footer-wordmark {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
}

.slh-footer-tagline {
  margin-top: 3px;
  color: #9cdae0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.slh-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 14px;
}

.slh-footer-links a {
  color: #c7f2f4;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

.slh-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.slh-footer-copy {
  margin-top: 14px;
  color: #86bec5;
  font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.slh-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid rgba(198, 247, 248, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 76, 97, .92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
  cursor: pointer;
  font-size: 22px;
  line-height: 41px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease,
    background .18s ease;
}

.slh-back-to-top:hover {
  background: rgba(6, 111, 137, .98);
}

.slh-back-to-top-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* =========================================================
   TABLE / IMAGE OVERFLOW HELPER
   ========================================================= */

.slh-scroll-x {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  :root {
    --slh-sidebar-w: 220px;
  }

  .slh-app-shell {
    width: min(100% - 20px, 1180px);
    gap: 12px;
  }

  .slh-content-area {
    padding: 14px;
  }

  .slh-member-nav li a {
    padding: 8px 9px;
    font-size: 12px;
  }

}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

  body {
    background-attachment: scroll;
  }

  .slh-mobile-menu-bar {
    display: block;
  }

  .slh-app-shell {
    width: calc(100% - 20px);
    margin-top: 12px;
  }

  .slh-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: min(300px, 86vw);
    max-height: 100vh;
    height: 100vh;
    border-radius: 0 17px 17px 0;
    transform: translateX(-105%);
    opacity: 1;
    pointer-events: auto;
  }

  .slh-sidebar.slh-sidebar-open {
    transform: translateX(0);
  }

  body.slh-sidebar-collapsed .slh-sidebar {
    width: min(300px, 86vw);
    flex-basis: auto;
    border-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  body.slh-sidebar-visible::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 20, 31, .58);
  }

  .slh-main-area {
    width: 100%;
  }

  .slh-desktop-menu-toggle {
    display: none;
  }

}


/* =========================================================
   SMALL TABLET / PHONE
   ========================================================= */

@media (max-width: 650px) {

  :root {
    --slh-header-h: 68px;
  }

  .slh-header-inner {
    width: calc(100% - 20px);
    min-height: 68px;
    gap: 10px;
  }

  .slh-brand {
    gap: 7px;
  }

  .slh-brand-turtle {
    width: 48px;
    max-height: 48px;
  }

  .slh-wordmark {
    font-size: 24px;
  }

  .slh-tagline {
    margin-top: 3px;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .slh-surf-button {
    padding: 8px 11px;
    font-size: 11px;
  }

  .slh-dashboard-bar {
    min-height: 50px;
    padding: 8px 10px;
  }

  .slh-dashboard-title {
    font-size: 13px;
  }

  .slh-dashboard-surf {
    padding: 7px 9px;
    font-size: 10.5px;
  }

  .slh-content-area {
    padding: 10px;
  }

  .slh-main-area {
    border-radius: 15px;
  }

  .slh-dashboard-bar {
    border-radius: 14px 14px 0 0;
  }

  #container table,
  .slh-member-content table {
    font-size: 12px;
  }

  #container input[type="text"],
  #container input[type="password"],
  #container input[type="email"],
  #container input[type="number"],
  #container input[type="url"],
  #container select,
  #container textarea,
  .slh-member-content input[type="text"],
  .slh-member-content input[type="password"],
  .slh-member-content input[type="email"],
  .slh-member-content input[type="number"],
  .slh-member-content input[type="url"],
  .slh-member-content select,
  .slh-member-content textarea {
    width: 100%;
  }

  .slh-footer-inner {
    padding: 21px 0 25px;
  }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 480px) {

  .slh-header-inner {
    width: calc(100% - 16px);
  }

  .slh-brand-turtle {
    width: 43px;
    max-height: 43px;
  }

  .slh-wordmark {
    font-size: 21px;
    letter-spacing: -.8px;
  }

  .slh-tagline {
    font-size: 6.5px;
    letter-spacing: .65px;
  }

  .slh-surf-button {
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 10.5px;
  }

  .slh-mobile-menu-bar {
    padding: 7px 8px;
  }

  .slh-menu-toggle {
    min-height: 39px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .slh-app-shell {
    width: calc(100% - 12px);
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .slh-content-area {
    padding: 7px;
  }

  .slh-dashboard-title {
    font-size: 12.5px;
  }

  .slh-dashboard-surf {
    white-space: nowrap;
  }

  .slh-back-to-top {
    right: 10px;
    bottom: 10px;
    width: 39px;
    height: 39px;
    line-height: 37px;
  }

}


/* =========================================================
   VERY NARROW PHONES
   ========================================================= */

@media (max-width: 370px) {

  .slh-tagline {
    display: none;
  }

  .slh-brand-turtle {
    width: 39px;
  }

  .slh-wordmark {
    font-size: 20px;
  }

  .slh-surf-button {
    padding: 7px 8px;
    font-size: 10px;
  }

  .slh-dashboard-surf {
    display: none;
  }

}
