/* === Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Body === */
body {
  font-family: Arial, sans-serif;
  background-color: #FAF6EF;
  color: #1D503A;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

/* === Card Container === */
.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;             /* Full width on mobile */
  max-width: 420px;        /* Limit width on larger screens */
  margin: auto;
}

/* === Headings === */
h1, h2 {
  margin-bottom: 20px;
  color: #1D503A;
  text-align: center;
}

/* === Text & Paragraphs === */
p {
  margin: 10px 0;
  font-size: 1rem;
}

/* === Inputs & Selects === */
input,
select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* === Buttons === */
button {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #1D503A;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #14402c;
}

/* === Special Razorpay Button === */
#rzp-button {
  background: #1D503A !important;
  color: white !important;
  font-weight: bold;
  padding: 14px !important;
  width: 100% !important;
  border-radius: 8px !important;
}

/* === Links === */
a {
  display: inline-block;
  padding: 12px 20px;
  margin-top: 20px;
  background: #1D503A;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

a:hover {
  background: #14402c;
}

/* === Responsive (Phones & Small Screens) === */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .card {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  input,
  select,
  button {
    font-size: 0.95rem;
    padding: 10px;
  }

  h1, h2 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }
}
/* === File Upload Custom Styling === */
.file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 20px;
}

.file-label {
  background-color: #1D503A;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.file-label:hover {
  background-color: #14402c;
}

#uploaded_file {
  display: none; /* Hide default ugly input */
}

#file-name {
  font-size: 0.9rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
