body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #e9f5ff 0%, #f5fffa 100%);
  margin: 0;
  color: #333;
}

/* Header */
.glass-header {
  text-align: center;
  padding: 40px 15px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

header h1 {
  font-size: 28px;
  color: #0078d7;
  margin-bottom: 8px;
}

header p {
  color: #555;
  font-size: 15px;
}

/* Cards */
.card {
  background: #fff;
  max-width: 850px;
  margin: 25px auto;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}


.section-title {
  color: #0078d7;
  font-size: 20px;
  margin-bottom: 5px;
}

.section-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: border-color 0.2s;
}
select:focus {
  outline: none;
  border-color: #0078d7;
}

/* Upload Sections */
.upload-section {
  text-align: center;
  border: 2px dashed #cbd5e0;
  border-radius: 14px;
  padding: 40px;
  background: #fafcff;
  transition: all 0.3s ease;
}
#drop-zone-train:hover {
    border-color: #4442d1;
    background-color: #f0f8ff;
  }

#drop-zone-test:hover {
    border-color: #32dd74;
    background-color: #f0f8ff;
  }

.upload-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0078d7;
}

.upload-btn {
  margin-top: 12px;
  background: linear-gradient(135deg, #0078d7, #20c284);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.upload-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.upload-section small {
  display: block;
  margin: 10px 0;
  color: #666;
  font-size: 12px;
}

/* Table Preview */
#preview-train, #preview-test {
  margin-top: 20px;
  overflow-x: auto;
  max-height: 250px;
  border-top: 1px solid #ddd;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
}
th {
  background: #0078d7;
  color: white;
}

/* Submit Button */
.submit-container {
  text-align: center;
  margin: 30px 0;
}
.submit {
  background: linear-gradient(135deg, #20c284, #0078d7);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s;
}
.submit:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #f8faff;
  padding: 40px 15px;
  text-align: left;
}
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-container h4 {
  color: #0078d7;
  margin-bottom: 10px;
}
.footer-container a {
  color: #333;
  text-decoration: none;
}
.footer-container a:hover {
  text-decoration: underline;
}
.footer-note {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    margin: 15px;
    padding: 20px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
