/* ==== SPOLEČNÝ GLASS ZÁKLAD ==== */
.glass-card {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 35px 25px;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25), 
              inset 0 1px 1px rgba(255,255,255,0.2);
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 165, 212, 0.15), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(201, 58, 138, 0.1), transparent 45%);
  animation: orbFloat 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.glass-card > * {
  position: relative;
  z-index: 1;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(201, 58, 138, 0.3), 0 12px 40px rgba(0,0,0,0.3), 
              inset 0 1px 1px rgba(255,255,255,0.25);
}

.glass-card h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.glass-card form {
  display: flex;
  flex-direction: column;
}

.glass-card label {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  color: white;
}

.glass-card input {
  padding: 14px 18px;
  margin-bottom: 20px;
  border: none;
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-normal);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.glass-card input:focus {
  transform: scale(1.02);
}

.glass-card input::placeholder {
  opacity: 0.7;
}

.glass-card button {
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  background: #06c;
  color: #fff;
  letter-spacing: 0.2px;
}

.glass-card button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg), 
              0 0 12px rgba(255,255,255,0.4);
}

.glass-card button:active {
  transform: scale(0.96);
}

.glass-card p {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 15px;
}

.glass-card .link {
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.25s ease;
}




.glass-card button {
  position: relative;
  overflow: hidden;
  padding: 12px;
  font-size: 1.05rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, rgba(255, 150, 150, 0.4), rgba(255, 100, 100, 0.25));
  color: #fff;
}

.glass-card button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 
              0 0 12px rgba(255,255,255,0.4);
  background: linear-gradient(135deg, rgba(255, 170, 170, 0.5), rgba(255, 120, 120, 0.35));
}

.glass-card button:active {
  transform: scale(0.96);
}

/* Jemnější, více "tekutý" ripple efekt */
.glass-card button .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-elegant 900ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(197, 2, 2, 0.747);
  pointer-events: none;
  opacity: 0.6;
  filter: blur(2px);
}

@keyframes ripple-elegant {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}





/* ==== PŘIHLÁŠENÍ – fialovo/růžový akcent ==== */
#login .glass-card {
    margin-top: 140px; /* Aby byl pod pevnou hlavičkou */
  background: rgba(156, 39, 176, 0.12);
  color: #f3e5f5;
}

#login input {
  background: rgba(156, 39, 176, 0.2);
  color: #f3e5f5;
}

#login input:focus {
  background: rgba(156, 39, 176, 0.3);
  box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.4),
              0 4px 15px rgba(156, 39, 176, 0.25);
}

#login button {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.5), rgba(156, 39, 176, 0.25));
  color: #fff;
}

#login button:hover {
  background: linear-gradient(135deg, rgba(180, 60, 200, 0.6), rgba(156, 39, 176, 0.3));
}

#login {
  color: #e1bee7;
}


/* --- Responsivní login --- */
@media (max-width: 768px) {
  #login .glass-card {
    margin-top: 100px;
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  #login .glass-card {
    margin-top: 60px;
    padding: 20px 15px;
  }

  .glass-card h2 {
    font-size: 1.4rem;
  }

  .glass-card input {
    font-size: 1rem;
    padding: 10px;
  }
}

/* --- Lepší kontrast inputů --- */
#login input {
  background: rgba(156, 39, 176, 0.25);
  color: #fff;
}

#login input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* --- Tlačítko ripple fix --- */
.glass-card button {
  position: relative;
  overflow: hidden;
}

.glass-card button .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-elegant 900ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}


.alert {
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}

.alert-error {
  background-color: #ffdddd;
  color: #d8000c;
  border: 1px solid #d8000c;
}

.alert-success {
  background-color: #ddffdd;
  color: #270;
  border: 1px solid #270;
}


#verify {
    padding-top: 100px; /* vzdálenost od horního okraje stránky */
    display: flex;
    justify-content: center; /* vycentruje card horizontálně */
}
