#auth-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 400px;
}

.hidden {
  display: none !important;
}

/* ------------------------------------------------------ авторизован */
.user-info {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #e9f5e9;
  color: #387038;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.user-info strong {
  margin-left: 0.5rem;
  color: #215c21;
}

/* ------------------------------------------------------  необходимость входа */
#auth-warning {
  background: #fff3cd;
  color: #856404;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ffeeba;
  align-items: center;
  gap: 1rem;
  /* animation: pulse-border 3s infinite ease-out; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.auth-warning--visible {
  display: flex;
  flex-direction: column;
}

#auth-warning p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
}

#auth-warning a {
  color: #007bff;
  text-decoration: underline;
}

.auth-warning--highlighted {
  animation: highlight 1s ease-in-out;
}

/* ------------------------------------------------------ кнопки */
#github-login-btn,
#github-logout-btn {
  margin-top: 0.2em;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#github-login-btn {
  background: #24292e;
  color: white;
  border: none;
}

#github-login-btn:hover {
  background: #33383d;
  transform: translateY(-1px);
}

#github-logout-btn {
  background: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
}

#github-logout-btn:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
}

/* ------------------------------------------------------ анимации */
/* @keyframes highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 0 0 #fff3cd;
  }
  50% {
    box-shadow: 0 0 0 2px #fff3cd;
  }
} */

/* ------------------------------------------------------ адаптивность */
@media (max-width: 768px) {
  #auth-container {
    justify-content: center;
    width: 100%;
    margin-left: 0;
  }
  .interviews-header {
    flex-direction: column;
  }
}
