body {
  font-family: 'Source Sans Pro', sans-serif;
}

.container {
  /*padding-top: 40px;*/
  padding-bottom: 40px;
  max-width: 654px;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.image-placeholder {
  position: relative;
  width: 100%;
  filter: blur(8px);
  transform: scale(1);
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease-in-out;
}

.image.loaded {
  opacity: 1;
}

.discord svg {
  height: 35px;
}

.btn.discord {
  color: #fff;
  background: #7289DA;
  border-color: transparent;
}

.btn.discord:hover {
  background: #687DC7;
}

.btn.discord:active {
  background: #5E71B4;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.text-muted {
  color: #999 !important;
}

.form-wrap {
  width: 100%;
  max-width: 420px;
  margin: auto;
  margin-top: 54px;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group>input,
.form-label-group>label {
  height: 3.125rem;
  padding: .75rem;
}

.form-label-group>label {
  position: absolute;
  top: 0;
  left: 10;
  display: block;
  width: 100%;
  margin-bottom: 0;
  /* Override default `<label>` margin */
  line-height: 1.5;
  color: #6c757d;
  pointer-events: none;
  cursor: text;
  /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .2s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:focus,
.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown)~label,
.form-label-group input:focus~label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group>label {
    display: none;
  }

  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  .form-label-group>label {
    display: none;
  }

  .form-label-group input:-ms-input-placeholder {
    color: #777;
  }
}

/* ==========================================================================
   Form Controls - Shadows and Toggle Buttons
   Used in: request.html, account.html
   ========================================================================== */

/* Form input/button shadows - applied globally for consistency */
.form-control,
.btn-toggle,
.btn-light {
  box-shadow: inset 0 2px 4px 0 hsla(0, 0%, 0%, 0.08);
}

.btn-primary {
  box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
}

.btn-toggle {
  height: 3.125rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  line-height: 35px;
}

.btn-check:checked + .btn-toggle,
.btn-check:checked + .btn-light {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

/* Logo container for centered logos */
.logo-container {
  width: 128px;
  margin: auto;
}

/* Info/warning boxes */
.info-box {
  background-color: #ffe6e6;
  padding: 10px;
  border-radius: 5px;
}

.info-box.info {
  background-color: #e7f3ff;
}

/* ==========================================================================
   Reports Page - Stats and Tables
   ========================================================================== */

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #0d6efd;
}

.stat-card.success {
  border-left-color: #198754;
}

.stat-card.warning {
  border-left-color: #ffc107;
}

.stat-card.danger {
  border-left-color: #dc3545;
}

.stat-card.info {
  border-left-color: #0dcaf0;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #495057;
}

.stat-label {
  color: #6c757d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-container {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-container {
  position: relative;
  width: 100%;
}

/* Region badges */
.region-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
}

.region-us {
  background-color: #e3f2fd;
  color: #1976d2;
}

.region-eu {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.region-ca {
  background-color: #e8f5e8;
  color: #388e3c;
}

.region-other {
  background-color: #fff3e0;
  color: #f57c00;
}

/* Loading states */
.loading-container {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}

/* Error states */
.error-box {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 0.25rem;
  margin: 1rem 0;
}

/* Reports navbar override */
.reports-page .navbar {
  background: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
