.download-page {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.download-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333333;
}

.action-buttons button {
  padding: 8px 16px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  background-color: black;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
}

.action-buttons button:hover {
  background-color: #0056b3;
}

.application-form {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.form-box {
  border: 1px solid #d0d0d0;
  padding: 20px;
  background-color: #ffffff;
}

.form-top {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.logo-box {
  width: 80px;
  height: 80px;
  background-color: #d3d3d3;
  border-radius: 4px;
  margin-right: 40px;
}

.form-title {
  flex-grow: 1;
}

.form-title h3 {
  margin: 0;
  font-size: 28px;
  color: #000000;
  text-transform: uppercase;
  margin-left: 14px;
}

.form-title p {
  margin: 5px 0 10px;
  font-size: 16px;
  color: #000000;
    margin-left: 17px;
}

.form-title strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  color: #000000;
  text-transform: uppercase;
    margin-left: 15px;
}

.photo-box {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  margin-left: 40px;
}

.section-title {
  font-size: 18px;
  color: #007bff;
  margin: 20px 0 10px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.info-table td {
  padding: 8px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  color: #333333;
}

.info-table td:first-child {
  width: 40%;
  font-weight: bold;
}

.info-table td small {
  font-size: 12px;
  color: #666666;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .download-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
  }
  
  .download-header h2 {
    font-size: 18px;
    flex-grow: 1;
  }
  
  .action-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .action-buttons button {
    margin-left: 0;
    padding: 6px 12px;
    font-size: 12px;
    min-width: 60px;
    white-space: nowrap;
  }
}

@media print {
  .download-page {
    margin: 0;
    box-shadow: none;
    border: none;
  }

  .action-buttons {
    display: none;
  }

  .application-form {
    background-color: transparent;
  }

  .form-box {
    border: none;
    padding: 0;
  }
}
@media (max-width: 768px) {
  /* Stack form-top elements vertically */
  .form-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .logo-box,
  .photo-box {
    margin: 0;
    width: 60px;
    height: 60px;
  }

  .form-title h3 {
    font-size: 20px;
    margin-left: 0;
  }

  .form-title p,
  .form-title strong {
    font-size: 14px;
    margin-left: 0;
  }

  .info-table td:first-child {
    width: 50%;
    font-size: 13px;
  }

  .info-table td {
    padding: 6px;
    font-size: 13px;
  }
}
