#upload-page {
  position: relative;
  width: 100%;
  min-height: 100vh;            
  display: flex;
  justify-content: center;        
  align-items: center;          
  background: #ffffff;
  overflow-y: auto;              
  padding: 3rem 1rem;
  box-sizing: border-box;
  z-index: 10;
}

.prim-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 500;
  font-size: 25px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 950px;
  transition: all 0.3s ease;
}

.p-text p {
  font-size: 15px;
  color: #4F8B67;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

#my-dropzone {
  width: 100%;
  max-width: 900px;
  min-height: 400px;
  background-color: #ffffff;
  border: 1px solid #141E46;
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  transition: 0.3s ease;
  box-sizing: border-box;
}

#my-dropzone.drag-over {
  border: 2px dashed #346347;
  outline: 4px solid rgba(52, 99, 71, 0.4);
  outline-offset: 5px;
  background-color: transparent;
  transform: scale(1.01);
  box-shadow: 0 0 10px rgba(52, 99, 71, 0.3);
}

.dz-message {
  text-align: center;
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px;
  width: 100%;
  transition: 0.3s ease;
  pointer-events: none; 
}


.dz-message .select-btn {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.dz-message .main-text {
  font-weight: bold;
  font-size: 1.1rem;
  color: #000000;
}

.dz-message .sub-text {
  font-size: 12px;
  color: #346347;
}

.select-btn {
  padding: 5px 1rem;
  border: none;
  background-color: #D3D3D5;
  color: #141E46;
  border-radius: 15px;
  cursor: pointer;
  margin-top: 0.5rem;
  font-size: 13px;
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 500;
  transition: 0.3s ease;
}

.select-btn:hover {
  background-color: #141E46;
  color: #f5f5f5;
}

.upload-photo-btn {
  background-color: #346347;
  color: white;
  border: none;
  padding: 0.8rem 2.4rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  align-self: center;
  margin-top: 2rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.upload-photo-btn:hover {
  background-color: #1e3928;
  transform: scale(1.05);
}

.dz-preview {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 10px;
  position: relative;
}

.dz-preview .dz-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.dz-filename span {
  font-size: 12px;
  color: #333;
  text-align: center;
  max-width: 180px;
  word-break: break-word;
}

/* Hide ONLY the red "Cancel upload" status text 
   without touching the X remove button */
#my-dropzone .dz-error-message,
#my-dropzone .dz-error-mark {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}


.dz-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e53935;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  border-radius: 50%;
  text-decoration: none;
  padding: 3px 6px;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dz-remove:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

.dz-remove:focus,
.dz-remove:active,
.dz-remove:visited {
  text-decoration: none;
  color: #fff;
}

#my-dropzone .dz-preview-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding-top: 10px;
}

