.user-address-title,
.user-company-title {
  padding: 10px 0px;
}
.address-card,
.company-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
}
.address-card:hover,
.company-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.address-card hr,
.company-card hr {
  margin: 8px;
  opacity: 0.5;
}
.address-info,
.company-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.address-action,
.company-action {
  display: flex;
  column-gap: 20px;
  align-items: flex-end;
}
.address-details p,
.company-details p {
  margin: 8px 30px 8px 0px;
}
.address-radio,
.company-radio {
  margin-right: 10px;
}
button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #0056b3;
}
.address-input,
.company-input {
  cursor: pointer;
}
.address-label,
.company-label {
  cursor: pointer;
  font-weight: 600;
  padding: 0px 10px;
  line-height: normal;
  width: 85%;
}
.edit-address,
.edit-company {
  color: #ff8c00;
  cursor: pointer;
}
.delete-address,
.delete-company {
  color: #ff4500;
  cursor: pointer;
}
.dashicons {
  font-size: 16px;
}
.user-address-title,
.user-company-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.new-address-btn,
.new-company-btn {
  background-color: #14792e;
  color: #fff;
  border: none;
  padding: 8px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.new-address-btn:hover,
.new-company-btn:hover {
  background-color: #219a89;
}

.user-address-section,
.user-company-section {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 3px rgba(32, 90, 44, 0.1);
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.address-form,
.company-form {
  padding-bottom: 16px;
}

.form-label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-select,
.form-input {
  width: 100%;
  padding: 8px !important;
  font-size: 14px !important;
  border: 1px solid #7698bdaf !important;
  border-radius: 4px !important;
  margin-bottom: 10px !important;
}

.btn-submit {
  width: 100%;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}

.grid {
  display: grid;
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

.gap-5 {
  gap: 5px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.btn-blue {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-blue:hover {
  background-color: #0056b3;
}

/* Popup container */
.address-form-popup,
.company-form-popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

/* Popup content */
.address-form-container,
.company-form-container {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  position: relative;
  width: 80%;
  max-width: 500px; /* Optional: Set maximum width for the container */
  display: flex;
  flex-direction: column;
}

/* Close icon */
.close-icon {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 16px;
}

.close-icon:hover,
.close-icon:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form styles (you can keep your existing styles here) */
.form-label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-select,
.form-input {
  width: 100%;
  padding: 8px !important;
  font-size: 14px !important;
  border: 1px solid #7698bdaf !important;
  border-radius: 4px !important;
  margin-bottom: 10px !important;
}

.btn-submit {
  width: 100%;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}

.grid {
  display: grid;
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

.gap-5 {
  gap: 5px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.btn-blue {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-blue:hover {
  background-color: #0056b3;
}

.order-address-section,
.order-company-section {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 8px;
  margin: 16px 0px;
}

/* .order-company-section p {
  width: 70%;
} */
.order-company-section button {
  width: fit-content;
}
.order-company-section {
  display: none;
}

.send-paper-invoice label {
  cursor: pointer;
  font-weight: 600;
  padding: 0px 8px;
}

.form-msg {
  display: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #930000;
  padding: 8px;
  border-radius: 6px;
}

.confirm-delete {
  grid-column-gap: 10px;
}

.cancel-delete-action {
  color: #ff0800;
  cursor: pointer;
}

.confirm-delete-action {
  color: #0ce629;
  cursor: pointer;
}

.address-msg {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.address-select,
.company-select {
  margin: 8px 4px;
}

.address-error-message,
.company-error-message {
  display: none;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: red;
}
