/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #dbe9f8;
  /* color: #e2e8f0; */
  min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* ===== MAIN SECTION ===== */
.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

/* ===== HEADER ===== */
.upload-header {
  text-align: center;
  max-width: 700px;
}

.upload-header h1 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 15px;
}

.upload-header p {
  font-size: 1.1rem;
  color: #000000;
}

/* ===== CARD ===== */
.upload-card {
  background: #9fcbef;
  display: flex;
  gap: 30px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  max-width: 900px;
  width: 100%;
  animation: fadeUp 0.6s ease;
}

/* ===== IMAGE BOX ===== */
.upload-image-box {
  flex: 1;
  background: #ededed;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  transition: transform 0.3s ease;
}
.upload-image-box:hover {
  transform: scale(1.03);
}

.upload-image-box img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.upload-image-box p {
  font-size: 0.9rem;
  color: #020202;
}

/* ===== FORM ===== */
.upload-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.upload-form label {
  font-size: 0.95rem;
  color: #000000;
}

.upload-form input,
.upload-form textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #334155;
  padding: 10px;
  font-size: 1rem;
  color: #000000;
  outline: none;
  transition: border-color 0.3s ease;
}

.upload-form input:focus,
.upload-form textarea:focus {
  border-color: #0e0f10;
}

.upload-form textarea {
  resize: none;
  min-height: 100px;
}

.upload-form button {
  margin-top: 15px;
  padding: 12px;
  background: #38bdf8;
  border: none;
  border-radius: 8px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.upload-form button:hover {
  background: #22d3ee;
  transform: translateY(-2px);
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .upload-card {
    flex-direction: column;
    text-align: center;
  }

  .upload-image-box img {
    max-width: 200px;
  }
}
