.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
  }
  
  .auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
  }
  
  .auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  .auth-links {
    margin-top: 1.5rem;
    text-align: center;
  }
  
  .auth-links a {
    display: block;
    margin: 0.5rem 0;
    color: #3498db;
  }


  /* PŘIDAT DO AUTH.CSS */
.auth-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease;
}

.auth-message.error {
    background: #fdf2f2;
    color: #e74c3c;
    border: 1px solid #f5c6cb;
}

.auth-message.success {
    background: #f2fdf2;
    color: #27ae60;
    border: 1px solid #c6f5c6;
}

.auth-message.info {
    background: #f0f8ff;
    color: #3498db;
    border: 1px solid #c6e2f5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efekt "třesení" pro chybový formulář */
.auth-card.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Styl pro disabled tlačítko */
.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.button:disabled:hover {
    box-shadow: none !important;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #4CAF50;
}

.form-group input.success {
    border-color: #27ae60 !important;
    background: #f2fdf2 !important;
}

.auth-message.global {
    margin-bottom: 1.5rem;
}

/* Loading animace */
.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responzivní design pro password toggle */
@media (max-width: 480px) {
    .password-toggle {
        right: 0.8rem;
        padding: 0.4rem;
    }
}