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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Decorative shapes */
.decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.decoration-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  top: 10%;
  left: 5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.decoration-2 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  top: 15%;
  right: 8%;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.decoration-3 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #06b6d4 0%, #67e8f9 100%);
  bottom: 20%;
  left: 10%;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

.decoration-4 {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #84cc16 0%, #bef264 100%);
  bottom: 25%;
  right: 12%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.decoration-5 {
  width: 60px;
  height: 60px;
  background: #f97316;
  top: 50%;
  left: 3%;
  opacity: 0.4;
}

.decoration-6 {
  width: 70px;
  height: 70px;
  background: #7c3aed;
  top: 60%;
  right: 5%;
  opacity: 0.4;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.decoration-7 {
  width: 50px;
  height: 50px;
  background: #06b6d4;
  top: 30%;
  left: 15%;
  opacity: 0.3;
}

.decoration-8 {
  width: 65px;
  height: 65px;
  background: #84cc16;
  bottom: 40%;
  right: 20%;
  opacity: 0.3;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

/* Header */
.header {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.header-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6b21a8 0%, #7c3aed 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  width: 100%;
  max-width: 450px;
  border-top: 4px solid #6b21a8;
}

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

.card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #6b21a8;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.icon {
  width: 18px;
  height: 18px;
  color: #6b21a8;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #6b21a8;
  box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.submit-button {
  background: linear-gradient(135deg, #6b21a8 0%, #7c3aed 100%);
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.submit-button:hover {
  background: linear-gradient(135deg, #581c87 0%, #6b21a8 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(107, 33, 168, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

.button-icon {
  width: 20px;
  height: 20px;
}

.card-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.footer-link {
  color: #6b21a8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #581c87;
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  text-align: center;
}

.footer-text {
  color: #6b7280;
  font-size: 0.75rem;
  margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 640px) {
  .header-title {
    font-size: 1.75rem;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .login-card {
    padding: 1.5rem;
  }

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

  .decoration {
    opacity: 0.4;
  }

  .decoration-1,
  .decoration-2,
  .decoration-3,
  .decoration-4 {
    width: 60px;
    height: 60px;
  }
}
