/* auth-style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  :root {
    --dark: #f1f1f1;
    --container: #F5F5F5;
    --bg: #fafafa;
    --white: black;
    --gold: #FFD700;
    --black: white;
    --grey: #dadada;
    --shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    --border: none;
    --icon-filter: brightness(0) contrast(0.9);
  }
  
  .dark-mode {
    --dark: #111;
    --container: #1a1a1a;
    --bg: #0d0d0d;
    --white: white;
    --gold: #FFD700;
    --black: black;
    --grey: #333;
    --shadow: 4px 4px 40px rgba(116, 116, 116, 0.35);
    --border: white;
    --icon-filter: brightness(1) contrast(1);
  
  }
  
  body {
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    margin: auto;
  }


  header {
    background: transparent;
    text-align: center;
  }
  
  .content {
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .logo-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin: 30px 0 0 0;
  }
  
  .logo-title span {
    color: var(--gold);
  }
  
  .sidebar {
    position: absolute;
    top: 150px;
    left: 30px;
    width: 60px;
    background: var(--dark);
    border-radius: 16px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
  
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;
  
    transform: translateX(-100px);
    opacity: 0;
    animation: slide 2s ease-out forwards;
  }
  
  .slide-up {
    transform: translateY(-100px);
    opacity: 0;
    animation: slide 2s ease-out forwards;
  }
  
  @keyframes slide {
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar ul li {
    margin: 16px 0;
    text-align: center;
  }
  
  .sidebar ul li a img {
    width: 32px;
    filter: brightness(100%);
    opacity: 0.8;
    filter: var(--icon-filter);
    transition: filter 0.2s ease;
  }
  
  .sidebar ul li a img:hover {
    opacity: 1;
    transform: scale(1.1);
  }
  
  /* Styly přepínače */
  .switch {
    position: absolute;
    display: flex;
    width: 60px;
    height: 30px;
    top: 100px;
    left: 30px;
    background: var(--dark);
    padding: 10px 0;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
  
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    transition: .4s;
    border-radius: 30px;
    align-items: center;
  }
  
  .slider::before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 50%;
    left: 3px;
    bottom: 3px;
    background-color: var(--grey);
    transition: .4s;
    box-shadow: var(--shadow);
  }
  
  input:checked + .slider::before {
    transform: translateX(30px);
  }
  
  .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    transition: filter 0.2s ease;
  }
  
  .sun {
    left: 4px;
  }
  
  .moon {
    right: 4px;
  }

  a {
    text-decoration: none;
  }
  .btn-yellow { 
    background: var(--gold);
    color: var(--black);
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
  }

  .btn-grey {
    background: var(--grey);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
  }

  h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: 700;
  }
    
  h2 {
    text-align: center;
    margin-top: 40px;
    font-size: 32px;
    font-weight: 800;
  }
  
  h2 span {
    color: var(--gold);
  }

  h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
  }

  p {
    margin: 20px 0;
  }
  
  

  .auth-container {
    display: flex;
    justify-content: center;
    max-width: 900px;
    width: 100%;
    margin: 50px auto;
    background: transparent;
    position: relative;
    min-height: 500px;
  }

  .auth-card {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
  }
  
  .auth-card.flipped, .auth-back {
    transform: rotateY(180deg);
  }
  
  .auth-face {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    background: var(--container);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    min-height: 100%;
    
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;
  }

  .auth-face-half {
    width: 50%;
    margin: auto 0;
    text-align: center;
  }
  
  .auth-front {
    z-index: 2;
  }
  
  .auth-face form input,
  .auth-face form button {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    background: var(--grey);
    color: var(--white);
    font-size: 15px;
  }

  label {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .label-input {
    max-width: 10%;
    align-items: center;
  }
  
  .auth-face form button {
    background: var(--gold);
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .auth-face form button:hover {
    background: #e5c100;
  }

  .name {
    display: flex;
    width: 100%;
    gap: 15px;
  }
  
  .divider {
    width: 1px;
    background: var(--white);
    opacity: 0.1;
  }

  /* Responsive */
@media (max-width: 800px) {
.sidebar {
    top: 100px;
    left: 5%;
    width: 90%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    
    transform: translateY(100px);
    opacity: 0;
    animation: slide 2s ease-out forwards;
    animation-delay: 3s;
    }
    
    .slide-right {
    transform: translateY(100px);
    opacity: 0;
    animation: slide 2s ease-out forwards;
    animation-delay: 3s;
    }
    
    .slide-up {
    transform: translateY(100px);
    opacity: 0;
    animation: slide 2s ease-out forwards;
    animation-delay: 3s;
    }
    
    
    .sidebar ul {
    display: flex;
    margin: auto;
    gap: 12px;
    }
    
    .sidebar ul li {
    margin: 16px 0;
    text-align: center;
    }
    
    .sidebar ul li a img {
    width: 32px;
    }
    
    .switch {
    position: absolute;
    top: 35px;
    left: 5%;
    padding: 10px 0;
    flex-direction: column;
    gap: 25px;
    display: flex;
    width: 60px;
    height: 30px;
    }
    
    .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    }
    
    .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    transition: .4s;
    border-radius: 30px;
    }
    
    .slider::before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 50%;
    left: 5%;
    bottom: 3px;
    }
    
    .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    } 
    
    label {
      display: flex; 
      width: 50%;
      text-align: left;
    }

    .auth-container {
        display: flex;
        max-width: 800px;
        width: 90%;
        margin: 150px auto;
        background: transparent;
        position: relative;
      }
    
    .auth-face {
        position: absolute;
        width: 100%;
        padding: 40px;
        border-radius: 16px;
        gap: 15px;
        min-height: 100%;
        
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

      
    .auth-face-half {
        width: 100%;
        margin: auto 0;
        text-align: center;
    }
  }
  