/* ===== Base Reset & Core Styles (from old styles.css) ===== */

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}

/* Box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* Base body styles */
html, body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Lato', sans-serif;
  background: #000 url(../images/bg_new.png) no-repeat center top fixed;
  background-size: cover;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  z-index: -1;
}

/* Selection colors */
::selection {
  background: #d4dedc;
}
::-moz-selection {
  background: #d4dedc;
}

/* Reset lists */
ol, ul {
  list-style: none;
}

/* Table defaults */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Wrapper structure */
#wrapper {
  width: 100%;
  padding-top: 2rem;
}
#shadow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

/* Tavern header elements */
.tavern-logo {
  font-family: 'Vollkorn', serif;
  font-size: 3.5rem;
  text-align: center;
  margin: 0;
  padding-top: 20px;
  color: #fdf6e3;
  text-shadow: 0 0 8px rgba(255, 240, 200, 0.6);
  letter-spacing: 1px;
}
.tavern-logo a {
  text-decoration: none;
  color: inherit;
}
.tavern-logo:hover {
  text-shadow: 0 0 10px #fff5c1;
}
.tagline {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  text-align: center;
  color: #d5c49a;
  margin-top: -5px;
  padding-bottom: 10px;
}
.login-intro {
  font-family: 'Lato', sans-serif;
  font-size: 0.9em;
  color: #d5c49a;
  margin-bottom: 15px;
  text-shadow: 0 0 1px #000;
}
.tavern-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #ecc56b 50%, transparent);
  margin: 10px 0 20px 0;
}

/* ===== End Base Reset & Core Styles ===== */


/* Utility Classes */

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col {
  flex: 1;
}

/* Responsive Tables */
.table-responsive {
  overflow-x: auto;
}
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

/* Mobile Navigation Toggle */
.mobile-nav {
  display: none;
}
.mobile-nav.active {
  display: block;
}

/* Focus & Hover States */
a:hover,
button:hover {
  opacity: 0.8;
}
a:focus,
button:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  nav,
  footer,
  .mobile-nav,
  .trigger,
  .panel {
    display: none !important;
  }
  body {
    margin: 1cm;
  }
}
