/* Login Page Styling - Meetzy Constellation Canvas & Card */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body.login-body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: #07282b;
  display: flex;
  align-items: center;
  justify-content: center;
}

#constellation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #166861;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.login-logo svg {
  width: 36px;
  height: 36px;
  fill: #166861;
}

.login-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Tabs */
.login-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  transition: color 0.2s ease;
}

.tab-btn.active {
  color: #166861;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #166861;
  border-radius: 2px;
}

/* Input Fields */
.input-group {
  margin-bottom: 16px;
  text-align: left;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  width: 18px;
  height: 18px;
}

.input-field {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.input-field:focus {
  border-color: #166861;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 104, 97, 0.15);
}

.toggle-password {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  cursor: pointer;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  cursor: pointer;
}

.forgot-link {
  color: #166861;
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Action Buttons */
.btn-primary {
  width: 100%;
  padding: 12px;
  background-color: #166861;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #12544e;
}

.btn-secondary {
  width: 100%;
  padding: 12px;
  background-color: #e6f4f2;
  color: #166861;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #d4ece8;
}

.signup-footer {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.signup-footer a {
  color: #166861;
  font-weight: 700;
  text-decoration: none;
}

/* Demo Credentials Table */
.demo-credentials-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.demo-credentials-table th {
  background-color: #f1f5f9;
  color: #475569;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
}

.demo-credentials-table td {
  padding: 8px 10px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

.copy-btn {
  color: #166861;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
}

.copy-btn:hover {
  background-color: #e6f4f2;
}

.error-alert {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}
