html, body {
    touch-action: none;
    background: rgb(0, 0, 0);
    height: 100%;
    --pico-color: #ccc;
    --pico-background-color: #000;
    --pico-spacing: 1em;
    --pico-table-border-color: #333;
    --pico-primary: #989898;
    --pico-primary-background: #4d4d4d;
    --pico-form-element-spacing-vertical: 0.5rem;
    --pico-form-element-spacing-horizontal: 0.5rem;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Ograniczenie szerokości dla desktopów - mobilny widok */
body {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

[v-cloak] {
    display: none;
}

.gate-preview {
    width: 96%;
    margin-left: 2%;
    max-height: 300px;
    position: absolute;
    left: 2%;
    right: 2%;
    max-width: calc(100% - 4%);
}

.container-fluid {
    padding: 0;
    position: relative;
}

.gate-button {
    position: relative;
    top: 15px;
    left: 20px;
}

.loading {
    position: relative;
    top: 50%;
    left: 35%;
    text-shadow: 0px 0px 3px black;
    color: white;
}

.gate-button-box {
    height: 300px;
    margin-top: 10px;
}


.notification-dymek {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(104, 104, 104, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(190, 190, 190, 0.5);
    z-index: 9000;
    font-size: 16px;
    text-align: center;
    
}

table.logs td {
    font-size: 10px;
}

.slider-container {

  position: relative;
  width: 300px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  user-select: none;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
}
.slider-container.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.slider-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: #ffffff;
  width: 0;
  transition: width 0.2s;
}
.slider-handle {
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  background: white;
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 20px;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  z-index: 2;
}
.slider-label {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: rgb(77, 77, 77);
}


.push-notification-toggle button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--pico-muted-border-color);
    margin-bottom: 1rem;
    background: var(--pico-background-color);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 0.6rem 1rem;
    cursor: pointer;
    color: var(--pico-muted-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab:hover {
    color: var(--pico-primary);
    background-color: var(--pico-primary-background);
}

.tab.active {
    border-color: var(--pico-primary);
    color: var(--pico-primary);
    font-weight: 600;
}

.settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.login-container-wrapper {
            
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.login-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    
}

.login-container h1 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-size: 1.8rem;
}
.login-container .form-group {
    margin-bottom: 1.5rem;
}
.login-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}
.login-container input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.login-container input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.login-container button {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.login-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.login-container button:active {
    transform: translateY(0);
}
.login-container button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.login-container .error {
    background: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid #c33;
    font-size: 0.9rem;
}