/* syncc Wiki — Authentication Overlay CSS */

.syncc-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1d4349 0%, #0d1e21 50%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.syncc-auth-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  animation: syncc-fade-in 0.5s ease-out;
}

@keyframes syncc-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.syncc-auth-logo {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: #32737E;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.syncc-auth-logo span {
  color: #ffffff;
}

.syncc-auth-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
}

.syncc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.syncc-auth-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.syncc-auth-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.syncc-auth-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.syncc-auth-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.syncc-auth-input:focus {
  border-color: #32737E;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(50, 115, 126, 0.3);
}

.syncc-auth-button {
  background: #32737E;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(50, 115, 126, 0.3);
}

.syncc-auth-button:hover:not(:disabled) {
  background: #245960;
  box-shadow: 0 6px 16px rgba(50, 115, 126, 0.4);
}

.syncc-auth-button:active:not(:disabled) {
  transform: scale(0.98);
}

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

.syncc-auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  display: none;
  box-sizing: border-box;
}

.syncc-auth-footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
}

/* Floating Logout Button */
.syncc-logout-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
}

.syncc-logout-button {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.syncc-logout-button:hover {
  background: #f4f4f5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.syncc-logout-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
