﻿@charset "UTF-8";
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLOBAL LAYOUT
--------------------------------------------------------- */
body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: #222;
  background: transparent;
  overflow-x: hidden;
}

.container {
  position: relative;
  z-index: 2;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

.module-title {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  font-weight: 700;
}

/* NAVBAR */
.navbar {
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 10;
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}
.navbar .nav-link:hover {
  opacity: 0.85;
}

/* TRANSLUCENT BLOCKS */
.translucent {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.translucent h1, .translucent h2, .translucent h3, .translucent h4, .translucent p {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
.home-background {
  background-image: url("/background.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: fadeIn 1s ease-out;
  position: relative;
}
.home-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  z-index: 0;
}
.home-background > * {
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
/* PREMIUM BUTTONS */
.btn-premium,
.btn-save-premium,
.btn-add-premium,
.btn-edit-premium,
.btn-danger-premium,
.btn-cancel-premium,
.btn-primary-premium,
.btn-secondary-premium,
.btn-success-premium,
.btn-start-premium,
.btn-stop-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-premium:hover,
.btn-save-premium:hover,
.btn-add-premium:hover,
.btn-edit-premium:hover,
.btn-danger-premium:hover,
.btn-cancel-premium:hover,
.btn-primary-premium:hover,
.btn-secondary-premium:hover,
.btn-success-premium:hover,
.btn-start-premium:hover,
.btn-stop-premium:hover {
  transform: translateY(-1px);
}
.btn-premium:active,
.btn-save-premium:active,
.btn-add-premium:active,
.btn-edit-premium:active,
.btn-danger-premium:active,
.btn-cancel-premium:active,
.btn-primary-premium:active,
.btn-secondary-premium:active,
.btn-success-premium:active,
.btn-start-premium:active,
.btn-stop-premium:active {
  transform: translateY(0);
  filter: brightness(0.9);
}
.btn-premium i,
.btn-save-premium i,
.btn-add-premium i,
.btn-edit-premium i,
.btn-danger-premium i,
.btn-cancel-premium i,
.btn-primary-premium i,
.btn-secondary-premium i,
.btn-success-premium i,
.btn-start-premium i,
.btn-stop-premium i {
  font-size: 1.2rem;
  margin-right: 6px;
}
.btn-premium:hover,
.btn-save-premium:hover,
.btn-add-premium:hover,
.btn-edit-premium:hover,
.btn-danger-premium:hover,
.btn-cancel-premium:hover,
.btn-primary-premium:hover,
.btn-secondary-premium:hover,
.btn-success-premium:hover,
.btn-start-premium:hover,
.btn-stop-premium:hover {
  filter: brightness(1.12);
}

/* COLORS */
.btn-primary-premium {
  background: rgba(255, 255, 255, 0.45) !important;
  color: #222 !important;
}

.btn-secondary-premium {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.btn-save-premium {
  background: rgba(0, 120, 255, 0.65) !important;
  color: #fff !important;
}

.btn-add-premium {
  background: rgba(0, 150, 255, 0.65) !important;
  color: #fff !important;
}

.btn-edit-premium {
  background: rgba(255, 200, 0, 0.65) !important;
  color: #222 !important;
}

.btn-cancel-premium {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.btn-start-premium,
.btn-success-premium {
  background: rgba(0, 128, 0, 0.65) !important;
  color: #fff !important;
}

.btn-stop-premium,
.btn-danger-premium {
  background: rgba(200, 0, 0, 0.65) !important;
  color: #fff !important;
}

/* DASHBOARD BUTTON */
.btn-dashboard {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid rgba(0, 0, 0, 0.35) !important;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-dashboard i {
  font-size: 1.2rem;
  margin-right: 6px;
}
.btn-dashboard:hover {
  filter: brightness(0.95);
}

/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
/* STANDARD CARD */
.card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* DASHBOARD CARD */
.dashboard-card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.dashboard-card .card-title,
.dashboard-card .card-text {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
.dashboard {
  margin-top: 1rem;
}
.dashboard .row {
  align-items: stretch;
}

.dashboard-card.locked {
  filter: grayscale(0.7) brightness(0.7);
  cursor: not-allowed;
}
.dashboard-card.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}
.dashboard-card.locked .card-title,
.dashboard-card.locked .card-text {
  opacity: 0.7;
}

/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FONTER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FÄRGER
--------------------------------------------------------- */
/* ---------------------------------------------------------
   GLAS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   BLUR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   RADIUS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SKUGGOR
--------------------------------------------------------- */
/* ---------------------------------------------------------
   FROSTED GLASS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   PREMIUM BUTTON BASE
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SHADOWS
--------------------------------------------------------- */
/* ---------------------------------------------------------
   ABSOLUTE CENTER
--------------------------------------------------------- */
.dashboard-card.locked {
  position: relative;
}
.dashboard-card.locked::before {
  content: "\f023";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: locked-pulse 2.5s ease-in-out infinite;
}

@keyframes locked-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
/* ---------------------------------------------------------
   TANKMÄTARE
--------------------------------------------------------- */
.tank-container {
  width: 120px;
  height: 300px;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tank-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, #00aaff, #0078ff);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding-top: 4px;
  transition: height 0.4s ease;
}

.tank-mark {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.tank-mark-label {
  position: absolute;
  left: 130%;
  color: #fff;
  font-size: 0.9rem;
  transform: translateY(-50%);
}

body {
  outline: 5px solid lime;
}

.tank-container {
  height: 300px !important;
  flex: 0 0 auto;
}

.tank-wrapper {
  flex: 0 0 auto; /* Hindrar flexbox från att krympa tanken */
}

.tank-container {
  width: 120px;
  height: 300px;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tank-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, #00aaff, #0078ff);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding-top: 4px;
  transition: height 0.4s ease;
}

.tank-mark {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.tank-mark-label {
  position: absolute;
  left: 130%;
  color: #fff;
  font-size: 0.9rem;
  transform: translateY(-50%);
}
