

:root {
    --bg-light: #f8f9fa;
    --bg-dark: #1e1e1e;
    --text-light: #000;
    --text-dark: #fff;
    --primary-color: #4a90e2;
    --card-bg-light: #f0f0f0;  /* Jasny kolor dla kafelków */
    --card-bg-dark: #2d2d2d;   /* Ciemny kolor w trybie nocnym */
}



body {
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s, color 0.3s;
}

/* Tryb ciemny */
body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Styl kafelków */
.card {
    background: var(--card-bg-light);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

body.dark-mode .card {
    background: var(--card-bg-dark);
}
/* Styl nagłówka - wykluczenie z trybu nocnego */
header {
    background: white !important;  /* Zapewnia, że nagłówek zawsze pozostaje biały */
    color: black !important;  /* Tekst pozostaje czarny niezależnie od trybu */
    transition: none;  /* Zapobiega efektowi przejścia */
}

body.dark-mode header {
    background: white !important;  /* Wymusza biały pasek nawet w trybie nocnym */
    color: black !important;  /* Wymusza czarny tekst */
}

/* Dodatkowe zabezpieczenie dla linków w nagłówku */
header a {
    color: black !important;  
    text-decoration: none;
}

body.dark-mode header a {
    color: black !important;  /* Linki w trybie nocnym też są czarne */
}
.tabs {
    display: flex;
    justify-content: space-around;
    background: var(--card-bg-light);
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

body.dark-mode .tabs {
    background: var(--card-bg-dark);
}

.tabs button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 20px;
    color: var(--text-light);
    transition: background 0.3s, color 0.3s;
}

body.dark-mode .tabs button {
    color: var(--text-dark);
}

.tabs button.active {
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
}


/* Lista rozwijana w mobile */
@media (max-width: 768px) {
    .grid {
        display: flex;
        flex-direction: column;
    }

    .grid > div {
        display: none;
    }

    .grid > div.active {
        display: block;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
        background: #ddd;
        padding: 10px;
        border-radius: 5px;
    }

    .mobile-nav button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 16px;
        padding: 10px;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Style inputów */
.input-field {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Style przycisków */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: darkblue;
}

.btn-secondary {
    background: #eee;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #ddd;
}

/* Style dla pustych stanów */
.empty-state {
    text-align: center;
    font-size: 1rem;
    color: gray;
    padding: 20px;
}

/* Style listy plików */
.file-list, .vault-list, .log-list {
    margin-top: 15px;
}

.file-item, .vault-item, .log-item {
    display: flex;
    justify-content: space-between;
    background: var(--card-bg-light);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

body.dark-mode .file-item,
body.dark-mode .vault-item,
body.dark-mode .log-item {
    background: var(--card-bg-dark);
}

  .tvs-feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
  }
  
  .tvs-feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .tvs-feature-block.tvs-reverse {
    flex-direction: row-reverse;
  }
  
  .tvs-feature-image {
    flex: 1 1 45%;
    min-width: 260px;
    text-align: center;
  }
  
  .tvs-feature-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .tvs-feature-text {
    flex: 1 1 45%;
    min-width: 260px;
  }
  
  .tvs-feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #222;
  }
  
  .tvs-feature-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
  }
  
  @media (max-width: 768px) {
    .tvs-feature-block {
      flex-direction: column !important;
      text-align: center;
    }
  }
  /* === Glassmorphism for TVS feature cards === */
.tvs-feature-block {
    position: relative;
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .tvs-feature-block:hover {
    transform: translateY(-4px);
  }
  
  .tvs-feature-image img {
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
  }
  