* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", "Inter", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(56, 189, 248, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 30px;
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.logo-container {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: -1px;
}

.logo-icon {
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  position: relative;
  clip-path: polygon(
    20% 0%,
    80% 0%,
    100% 20%,
    100% 80%,
    80% 100%,
    20% 100%,
    0% 80%,
    0% 20%
  );
}

.logo-text {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  text-align: center;
  color: #1e293b;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.subtitle {
  text-align: center;
  color: #64748b;
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 12px;
}

input[type="text"],
select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  color: #1e293b;
  font-weight: 500;
}

input[type="text"]:focus,
select:focus {
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15),
    0 0 0 3px rgba(59, 130, 246, 0.1);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 44px;
}

select option {
  padding: 12px;
  font-weight: 500;
}

input[type="text"]::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #64748b;
  min-height: 64px;
  font-weight: 500;
}

.file-label:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
  transform: translateY(-1px);
}

.file-icon {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.file-selected {
  border-color: #10b981;
  background: #ecfdf5;
  color: #059669;
  border-style: solid;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #10b981 100%);
  color: white;
  border: none;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 32px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.powered-by {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.cloud-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(16, 185, 129, 0.1) 100%
  );
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

@media (max-width: 480px) {
  .container {
    padding: 24px;
    margin: 10px;
  }

  .logo {
    font-size: 28px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 20px;
  }

  input[type="text"],
  .file-label {
    padding: 14px 16px;
    font-size: 15px;
  }
}

.form-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e2e8f0 50%,
    transparent 100%
  );
  margin: 32px 0;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
  border: 1px solid #bbf7d0;
}

.security-icon {
  width: 12px;
  height: 12px;
}
