:root {
  --dark-bg: #121212;
  --light-bg: #1f1f1f;
  --light-bg-hover: #2a2a2a;
  --panel-bg: #1e1e1e;
  --accent: #d4a373;
  --accent-bright: #ffcf9e;
  --accent-hover: #d4a373;
  --danger: #8b0000;
  --text-bright: #ffffff;
  --text-main: #e0e0e0;
  --text-dim: #a0a0a0;
  --text-subtle: #6c757d;
  --text-faint: #444;
  --border: #333;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.sp-abbr {
  font-style: normal;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--dark-bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main[role="main"] {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.slideshow {
  position: relative; 
  width: 100%;
  height: 100vh;

}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fade {
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.page-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.panel {
    width: 100%;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.panel h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.panel label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.panel input[type="text"], .panel input[type="file"] {
    width: 100%;
    max-width: 25vw;
    background: #121212;
    border: 1px solid var(--border);
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.panel input:focus {
    outline: none;
    border-color: var(--accent);
}

.panel input[readonly] {
    color: var(--accent);
    cursor: default;
}

.panel-hub {
    text-align: center;
    padding: 40px;
}

.page-title {
    color: var(--accent);
    text-align: center;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.error-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.error-page .page-title {
    margin-bottom: 16px;
}

.error-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.error-links a {
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error-links a:hover {
    color: var(--accent-bright);
}
