  
/*Vendor creation alert messages*/
.error-message {
  color: red;
  font-weight: bold;
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  margin-bottom: 20px;
}

.success-message {
  color: green;
  font-weight: bold;
  padding: 10px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-bottom: 20px;
}
  
  
  /* Success notice */
  .notice.success {
    background-color: #e6f7e6;
    border-left: 4px solid #46b450;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 15px;
  }

  .notice.success img {
    border-radius: 4px;
    border: 1px solid #ccc;
    vertical-align: middle;
  }

  /******** FRONTEND FORM *********/
.vendor-form {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 10px;
  align-items: center;
  max-width: 800px;
  margin-top: 20px;
}

/* Style all direct label elements */
.vendor-form > label {
  margin: 0;
  font-weight: bold;
  display: block;
}

/* Inputs, textareas, and selects span full width of their column */
.vendor-form input[type="text"],
.vendor-form input[type="url"],
.vendor-form input[type="email"],
.vendor-form input[type="file"],
/*.vendor-form select,*/
.vendor-form textarea {
  width: 100%;
}

/* Inline image preview below upload field */
.vendor-form img {
  margin-top: 0;
  display: block;
}

/* Makes full-width submit button span across both columns */
.vendor-form .full-row {
  grid-column: 1 / -1;
  margin-top: 20px;
}

/* Align file input with inline preview in a flex row */
.vendor-form .file-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
}


