/* Authentication styles */
.auth-section {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px auto;
  max-width: var(--app-max);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-info {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 16px;
  line-height: 1.4;
}

.auth-info small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #856404;
}

.auth-info a {
  color: var(--primary);
  text-decoration: none;
}

.auth-info a:hover {
  text-decoration: underline;
}

.auth-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.auth-input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  min-width: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.25);
}

.auth-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  min-width: 120px;
}

.auth-button:hover:not(:disabled) {
  background: var(--primary-hover);
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-status {
  margin-top: 12px;
  font-size: 13px;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
  min-height: 20px;
}

.auth-status.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.auth-status.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.auth-status-header {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #5f6368;
  gap: 8px;
}

.logout-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: #6c757d;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.logout-btn:hover {
  background: #f8f9fa;
}

@media (max-width: 600px) {
  .auth-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .auth-input {
    min-width: unset;
    width: 100%;
  }
  
  .auth-button {
    width: 100%;
  }
}