.um-own-profile .um-left,
.um-own-profile .um-half,
.um-profile-photo,
.um-profile-edit-a.um-profile-save,
.um-own-profile .um-modal-btn.um-finish-upload,
.um-own-profile .um-modal-footer {
  display: none !important;
}

/* Style the "Upload" button in specific contexts */
a.um-button.um-btn-auto-width[data-modal="um_upload_single"] {
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, border-color 0.3s ease !important;
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important; */
  text-transform: none !important;
}

a.um-button.um-btn-auto-width[data-modal="um_upload_single"]:hover {
  transform: scale(1.03) !important;
}

a.um-button.um-btn-auto-width[data-modal="um_upload_single"][data-text="Upload"] {
  background-color: var(--primary-color) !important;
}

a.um-button.um-btn-auto-width[data-modal="um_upload_single"][data-text="Upload"]:hover {
  background-color: var(--primary-color-hover) !important;
}

a.um-button.um-btn-auto-width[data-modal="um_upload_single"][data-text="Datei ändern"] {
  background-color: var(--secondary-color) !important;
}

a.um-button.um-btn-auto-width[data-modal="um_upload_single"][data-text="Datei ändern"]:hover {
  background-color: var(--secondary-color-hover) !important;
}

/* Style the drag-and-drop area and upload button */
.ajax-upload-dragdrop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.ajax-upload-dragdrop .str {
  margin-bottom: 10px;
}

.ajax-upload-dragdrop .upload {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.ajax-upload-dragdrop .upload:hover {
  background-color: var(--primary-color-hover) !important;
}

/* Style the popup modal */
.um-modal.um-modal-size-normal {
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.um-modal-header {
  background-color: var(--secondary-color) !important;
  color: var(--white-color);
  font-size: 18px;
  font-weight: 700;
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .um-profile-body .um-field-label {
  text-align: center !important;
} */

/* .um-own-profile .um-field-label {
  display: flex;
  justify-content: center; 
  align-items: center;
} */

.um-own-profile .um-field-label label {
  color: var(--secondary-color) !important;

}

.um-modal-body {
  padding: 20px;
  color: var(--secondary-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Ensure the text inside the Drag & Drop box is centered */
.um-single-file-upload {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Ensure the text inside the Drag & Drop box is centered */
.um-single-file-upload {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ajax-upload-dragdrop .str {
    display: none !important;
  }

  /* Center the buttons on mobile */
  .um-modal-footer .um-modal-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* Ensure the buttons are vertically centered */
  .um-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .um-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
}

.custom-cancel {
  display: inline-block;
  color: #ff0000; /* Change to your desired color */
  font-size: 16px; /* Adjust size */
  margin-right: 10px; /* Adjust space around the button */
  text-decoration: none; /* Remove underline */
}

.custom-cancel i {
  color: #ff0000; /* Icon color */
  font-size: 16px; /* Icon size */
  vertical-align: middle; /* Align icon */
}

.custom-cancel:hover {
  color: #cc0000; /* Hover color */
}

.custom-cancel:hover i {
  color: #cc0000; /* Hover icon color */
}

/* .um-own-profile .example-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
} */

.show-tutorial {
  display: block; /* Make the button a block element to center it */
  margin: 0 auto; /* Center the button horizontally */
  text-decoration: underline; /* Underline the text */
  font-family: var(--font-family-primary); /* Use the custom font variable */
  font-size: 12px; /* Set the font size */
  text-align: center; /* Center the text inside the button */
  margin-top: 20px; /* Add some space above the button */
  margin-bottom: 20px;
  background-color: transparent; 
}

.custom-field-wrapper {
  background-color: var(--white-color); /* Set background color to white */
  padding: 20px; /* Add padding to the inside of the element */
  border-radius: 10px; /* Add rounded borders */
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
  margin-bottom: 30px;
}

.tutorial-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.tutorial-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.example-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tutorial-image {
  width: 200px;
  height: 200px;
  object-fit: cover; /* This ensures the image covers the area without distortion */
}

/* .um-profile-body.main.main-default
{
  width: 100%;
} */

/* .custom-cancel {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 5px;
    line-height: 1;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.custom-cancel i {
    font-size: 16px;
    color: #333;
}

.um-single-file-preview,
.um-single-image-preview {
    position: relative;
} */