@import "../dashboard/dashboard.css";

/* Signup page = auth card in the staff area (with sidebar). */

.auth-container {
  width: 100%;
  min-height: 100vh;
  margin-left: 280px;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

#hamburgerBtn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 90;
}

@media (max-width: 768px) {
  #hamburgerBtn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--r-full);
    box-shadow: 0 8px 20px rgba(0, 47, 167, 0.15);
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .auth-container {
    margin-left: 0;
    padding: var(--space-lg);
  }
}

.card {
  width: 100%;
  max-width: 540px;
  background: var(--glass-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 47, 167, 0.15);
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .card {
    padding: 1.75rem;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: var(--grad-primary);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0, 47, 167, 0.25);
}

.auth-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px;
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
  position: relative;
}

.tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn[aria-selected="true"] {
  background: white;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.field {
  margin-bottom: 1.25rem;
}

.label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: block;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.input-group {
  position: relative;
}

.input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: var(--text-main);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.1);
  background: white;
}

.toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 47, 167, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 47, 167, 0.35);
}

#statusSu {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 8px;
  padding: 0.5rem;
  display: none;
}

#statusSu:not(:empty) {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

#statusSu.error {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
}
