/* [project]/app/page.css [app-client] (css) */
.login-page, .login-container {
  --primary: #1e7e7e !important;
  --primary-dark: #155e5e !important;
  --accent: #3a9b9b !important;
  --secondary: #6bb39b !important;
  --success: #4caf93 !important;
  --heart: #e86b6b !important;
  --error: #e86b6b !important;
  --background-gradient: linear-gradient(135deg, #f6fbfb 0%, #eef7f7 40%, #e8f3f3 100%) !important;
  --surface: #ffffffd9 !important;
  --surface-alt: #fffffff2 !important;
  --text-primary: #0f2a2a !important;
  --text-secondary: #5f7a7a !important;
  --text-tertiary: #8aa5a5 !important;
  --border: #1e7e7e26 !important;
}

.login-container {
  background: radial-gradient(circle at 10% 20%, #1e7e7e0d 0%, transparent 20%), radial-gradient(circle at 90% 80%, #6bb39b0d 0%, transparent 20%), var(--background-gradient);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0 1rem;
  display: flex;
  position: relative;
  overflow: hidden;
}

.medical-bg-elements {
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.medical-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 L30 50 M10 30 L50 30' stroke='%231e7e7e' stroke-width='1' opacity='0.03' fill='none'/%3E%3C/svg%3E");
  width: 100%;
  height: 100%;
  animation: 30s linear infinite patternMove;
  position: absolute;
  top: 0;
  left: 0;
}

.ecg-line {
  opacity: .08;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 15%;
  left: 0;
}

.ecg-line svg {
  width: 100%;
  height: 100%;
  animation: 20s linear infinite moveECG;
}

.ecg-path {
  stroke: var(--primary);
  stroke-width: 2px;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000px;
  animation: 8s ease-in-out infinite drawECG;
}

.stethoscope-icon {
  opacity: .06;
  width: 80px;
  height: 80px;
  animation: 25s ease-in-out infinite floatIcon;
  position: absolute;
  top: 15%;
  right: 8%;
}

.stethoscope-icon svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 1.5px;
}

.heart-pulse-icon {
  opacity: .06;
  width: 70px;
  height: 70px;
  animation: 20s ease-in-out infinite reverse floatIcon;
  position: absolute;
  bottom: 20%;
  left: 5%;
}

.heart-pulse-icon svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--heart);
  stroke-width: 1.5px;
}

.caduceus-icon {
  opacity: .05;
  width: 60px;
  height: 60px;
  animation: 22s ease-in-out 2s infinite floatIcon;
  position: absolute;
  top: 40%;
  left: 10%;
}

.caduceus-icon svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 1.5px;
}

.dna-helix {
  opacity: .05;
  width: 90px;
  height: 90px;
  animation: 30s linear infinite spinSlow;
  position: absolute;
  top: 60%;
  right: 12%;
}

.dna-helix svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--secondary);
  stroke-width: 1.2px;
}

.pill-icon {
  opacity: .05;
  width: 50px;
  height: 50px;
  animation: 18s ease-in-out 1s infinite floatIcon;
  position: absolute;
  bottom: 30%;
  right: 18%;
}

.pill-icon svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--success);
  stroke-width: 1.5px;
}

.pulse-ring {
  border: 2px solid var(--primary);
  opacity: .08;
  border-radius: 50%;
  animation: 8s ease-out infinite pulseRing;
  position: absolute;
}

.ring-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 15%;
}

.ring-2 {
  border-color: var(--accent);
  width: 300px;
  height: 300px;
  animation-delay: -3s;
  bottom: 10%;
  left: 20%;
}

.ring-3 {
  border-color: var(--secondary);
  width: 400px;
  height: 400px;
  animation-delay: -6s;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-bg-decoration {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.login-blob-1 {
  filter: blur(80px);
  opacity: .5;
  background: linear-gradient(135deg, #1e7e7e14, #3a9b9b14);
  border-radius: 60% 40% 50% 30%;
  width: 40rem;
  height: 40rem;
  animation: 20s ease-in-out infinite blobFloat;
  position: absolute;
  top: -15rem;
  right: -10rem;
}

.login-blob-2 {
  filter: blur(80px);
  opacity: .5;
  background: linear-gradient(135deg, #6bb39b14, #3d827d14);
  border-radius: 40% 60% 30% 50%;
  width: 35rem;
  height: 35rem;
  animation: 25s ease-in-out infinite reverse blobFloat;
  position: absolute;
  bottom: -15rem;
  left: -10rem;
}

.login-brand {
  text-align: center;
  z-index: 20;
  margin-bottom: .5rem;
  position: relative;
}

.login-logo {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-xl);
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: .75rem;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px #1e7e7e4d;
}

.login-logo:before {
  content: "";
  opacity: 0;
  background: radial-gradient(circle, #ffffff4d 0%, #0000 70%);
  width: 200%;
  height: 200%;
  transition: opacity .3s;
  position: absolute;
  top: -50%;
  left: -50%;
}

.login-logo:hover:before {
  opacity: 1;
}

.login-logo svg {
  color: #fff;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  position: relative;
}

.login-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: .25rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.login-subtitle {
  color: var(--text-secondary);
  margin-top: .25rem;
  font-size: .95rem;
}

.login-card {
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 24rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 20;
  height: 755px;
  margin-top: 5px;
  margin-bottom: 8px;
  padding: 2rem;
  position: relative;
}

.login-card h1 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: .25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.login-card > p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.login-form {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.form-group {
  flex-direction: column;
  gap: .35rem;
  display: flex;
}

.form-group label {
  color: var(--text-primary);
  font-size: .9rem;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  color: var(--text-tertiary);
  width: 1.1rem;
  height: 1.1rem;
  transition: color .2s;
  position: absolute;
  top: 50%;
  left: .875rem;
  transform: translateY(-50%);
}

.login-input {
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  height: 48px;
  padding: .875rem .875rem .875rem 2.5rem;
  font-size: .95rem;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
}

.login-input:focus {
  border-color: var(--primary);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px #1e7e7e26;
}

.login-input:focus + .input-icon {
  color: var(--primary);
}

.login-input::placeholder {
  color: var(--text-tertiary);
}

.password-toggle {
  color: var(--text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: .4rem;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 50%;
  right: .875rem;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--primary);
  background: #1e7e7e1a;
}

.password-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.login-error {
  border-left: 4px solid var(--error);
  border-radius: var(--radius-md);
  background: #e86b6b1a;
  margin: .25rem 0;
  padding: .875rem;
  animation: .3s slideIn;
}

.login-error p {
  color: var(--error);
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
}

.login-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: none;
  width: 100%;
  margin-top: .25rem;
  padding: .875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}

.login-submit:before {
  content: "";
  background: #fff3;
  border-radius: 50%;
  width: 0;
  height: 0;
  transition: width .6s, height .6s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-submit:hover:not(:disabled):before {
  width: 300px;
  height: 300px;
}

.login-submit:hover:not(:disabled) {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.login-submit:active:not(:disabled) {
  transform: translateY(0);
}

.login-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  background: linear-gradient(135deg, var(--text-tertiary), var(--text-secondary));
}

.loading-spinner {
  justify-content: center;
  align-items: center;
  gap: .5rem;
  display: inline-flex;
}

.spinner {
  border: 3px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: .8s linear infinite spin;
}

.login-divider {
  margin: 1.5rem 0;
  position: relative;
}

.divider-line {
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
}

.divider-line span {
  border-top: 2px solid var(--border);
  opacity: .5;
  width: 100%;
}

.divider-text {
  justify-content: center;
  font-size: .85rem;
  display: flex;
  position: relative;
}

.divider-text span {
  background: var(--surface);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 .75rem;
  font-weight: 500;
}

.signup-button {
  background: var(--surface);
  border: 2px solid var(--primary);
  width: 100%;
  color: var(--primary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}

.signup-button:hover {
  background: var(--surface-alt);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.terms-text {
  text-align: center;
  color: var(--text-tertiary);
  margin-top: 1rem;
  font-size: .75rem;
}

.terms-link {
  color: var(--primary);
  border-bottom: 1px dashed #0000;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.terms-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

@keyframes floatIcon {
  0%, 100% {
    transform: translate(0)rotate(0);
  }

  25% {
    transform: translate(8px, -12px)rotate(2deg);
  }

  50% {
    transform: translate(15px)rotate(0);
  }

  75% {
    transform: translate(8px, 12px)rotate(-2deg);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0;
    transform: scale(.8);
  }

  10% {
    opacity: .1;
  }

  20% {
    opacity: 0;
    transform: scale(1.3);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes drawECG {
  0% {
    stroke-dashoffset: 1000px;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -1000px;
  }
}

@keyframes moveECG {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes patternMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 60px;
  }
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0)rotate(0);
  }

  33% {
    transform: translate(40px, -30px)rotate(120deg);
  }

  66% {
    transform: translate(-20px, 40px)rotate(240deg);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .login-card {
    padding: 1rem;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .login-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .login-logo svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .login-card h1 {
    font-size: 1.3rem;
  }

  .stethoscope-icon, .heart-pulse-icon, .caduceus-icon, .dna-helix, .pill-icon, .ring-3 {
    display: none;
  }

  .ecg-line {
    opacity: .05;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medical-pattern, .ecg-line, .stethoscope-icon, .heart-pulse-icon, .caduceus-icon, .dna-helix, .pill-icon, .pulse-ring, .login-blob-1, .login-blob-2 {
    animation: none !important;
  }
}

.device-info-banner {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 12px 20px;
  transition: all .3s;
}

.device-info-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #667eea66;
}

.device-info-header {
  align-items: center;
  gap: 10px;
  display: flex;
}

.device-info-header svg {
  width: 20px;
  height: 20px;
}

.toggle-device-info {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  font-size: 16px;
}

.device-info-details {
  border-top: 1px solid #fff3;
  margin-top: 15px;
  padding-top: 15px;
  font-size: 14px;
}

.device-info-details p {
  margin: 8px 0;
}

.token-preview {
  background: #ffffff1a;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
}

.token-display {
  word-break: break-all;
  color: #333;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 8px;
  font-family: monospace;
  font-size: 12px;
}

.info-card.full-width {
  grid-column: 1 / -1;
}

.info-grid.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.info-grid.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .info-grid.two-columns, .info-grid.three-columns {
    grid-template-columns: 1fr;
  }
}

.doctor-profile-container {
  width: 100%;
}

.profile-header-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  padding: 24px;
}

.profile-header-content {
  align-items: center;
  gap: 24px;
  display: flex;
}

.profile-avatar-large {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  font-size: 36px;
  font-weight: 600;
  display: flex;
}

.profile-name {
  color: var(--dark);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.profile-specialties {
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  display: flex;
}

.specialty-badge.primary {
  color: var(--primary);
  background: #1e7e7e1a;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
}

.profile-rating {
  align-items: center;
  gap: 8px;
  display: flex;
}

.rating-stars {
  color: gold;
}

.profile-details-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  display: grid;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}

.info-card h3 {
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  margin: 0 0 16px;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.info-item {
  color: var(--dark);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
}

.info-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .profile-header-content {
    text-align: center;
    flex-direction: column;
  }

  .profile-details-grid {
    grid-template-columns: 1fr;
  }
}

.logout-message-toast {
  z-index: 10000;
  pointer-events: none;
  animation: .3s slideInRight;
  position: fixed;
  top: 20px;
  right: 20px;
}

.logout-message-content {
  background: var(--success, #4caf93);
  color: #fff;
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-lg, 0 8px 24px #00000026);
  pointer-events: auto;
  border: 1px solid #fff3;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  padding: 12px 20px;
  display: flex;
}

.logout-message-icon {
  background: #fff3;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: flex;
}

.logout-message-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.logout-message-close {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: all .2s;
  display: flex;
}

.logout-message-close:hover {
  background: #fff3;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .logout-message-toast {
    inset: auto 20px 20px;
  }

  .logout-message-content {
    width: 100%;
    min-width: auto;
  }
}

/*# sourceMappingURL=app_page_8948f311.css.map*/