* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#main {
  height: 100vh;
  overflow-y: auto;
  width: 100vw;
  align-content: center;
}

.error-bubble {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ff5722 0%, #d32f2f 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
  z-index: 1000;
  max-width: 400px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-bubble.show {
  opacity: 1;
  transform: translateX(0);
}

.error-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.error-bubble-title {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.error-bubble-title::before {
  content: "⚠️";
  margin-right: 8px;
}

.error-bubble-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.error-bubble-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.error-bubble-message {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.container {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1000px;
  width: 90%;
  min-height: 500px;
  backdrop-filter: blur(10px);
  margin-left: auto;
  margin-right: auto;
}

.welcome-panel {
  /* background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%); */
  background: #1e88e5;
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  overflow: hidden;
}

#ndif-logo {
  position: absolute !important;
  top: 5px !important;
  left: 5px !important;
  z-index: 10;
}

#ndif-logo img {
  display: block;
}

.welcome-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-subtitle {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 40px;
}

.sign-in-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sign-in-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.create-panel {
  padding: 60px 50px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.create-title {
  font-size: 36px;
  color: #1e88e5;
  margin-bottom: 30px;
  font-weight: 300;
}

.requirements-text {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.register-btn {
  /* background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%); */
  background: #1e88e5;
  color: white;
  border: none;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
  /* background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%); */
  background: #1e88e5;
}

.register-btn:active {
  transform: translateY(0);
}

.contact-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.contact-info a {
  color: #1e88e5;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    margin: 20px;
    width: calc(100% - 40px);
  }

  .welcome-panel,
  .create-panel {
    padding: 40px 30px;
  }

  .welcome-title {
    font-size: 36px;
  }

  .create-title {
    font-size: 28px;
  }
}