
/* RHD Delivery Form Styles */

.rhd-delivery-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);*/
}

.rhd-section-header {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.rhd-field-group {
  margin-bottom: 1.5rem;
}

.rhd-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.rhd-input,
.rhd-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.5;
}

.rhd-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rhd-submit-btn {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.rhd-submit-btn:hover {
  background-color: #1d4ed8;
}

.rhd-hidden {
  display: none;
}

.rhd-success-message {
  margin-top: 1.5rem;
  color: #16a34a;
  font-weight: 600;
}

.rhd-profile-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
}
.rhd-profile-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.rhd-profile-card form label {
  display: block;
  margin-bottom: 1rem;
}
.rhd-profile-card form span {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.rhd-profile-card textarea,
.rhd-profile-card input[type="text"],
.rhd-profile-card input[type="url"],
.rhd-profile-card input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}
.rhd-save-profile-btn {
  background: #111827;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  margin-top: 1rem;
}
.rhd-save-profile-btn:hover {
  background: #1f2937;
}

.rhd-logo-preview {
  margin-bottom: 1rem;
}
.rhd-logo-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid black;
  display: block;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.rhd-section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .rhd-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
  }
  .rhd-search-bar {
    flex-grow: 1;
    max-width: 300px;
  }
  .rhd-icon-button {
    background: none;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
  }
  .rhd-icon-button img {
    width: 20px;
    height: 20px;
  }
  
.rhd-list-icon img {
    width: 20px;
    height: 20px;
  }
  
  .rhd-view-mode-card .rhd-card {
    display: block;
  }
  .rhd-view-mode-list .rhd-card {
    display: none;
  }
  .rhd-view-mode-list .rhd-list-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
    align-items: center;
  }
  .rhd-list-content {
    flex: 1;
    font-size: 12px;
  }
  .rhd-list-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .rhd-icon img {
    width: 20px;
    height: 20px;
  }
  
  .rhd-view-mode-card .rhd-list-view-wrapper {
  display: none;
}

.rhd-view-mode-list .rhd-dashboard-cards-container {
  display: none;
}

.hidden {
  display: none !important;
}

.rhd-delivery-header {
  margin-bottom: 1rem;
}

.rhd-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rhd-controls-icons {
  justify-content: center;
  gap: 0.5rem;
}

.rhd-search-bar {
  flex-grow: 1;
  max-width: 100%;
  padding: 0.5rem;
}

.rhd-list-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rhd-list-details span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.rhd-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.rhd-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.rhd-icon-action img {
  width: 20px;
  height: 20px;
}
.rhd-icon-action:hover {
  opacity: 0.7;
}

.rhd-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.rhd-icon-action img {
  width: 20px;
  height: 20px;
}
.rhd-icon-action:hover {
  opacity: 0.7;
}
