/* Define the custom font */
@font-face {
  font-family: "PV-Font"; /* Name you’ll use to reference the font */
  src: url("/fnt/TitilliumWeb-Regular.ttf") format("truetype"); /* Path to the TTF file */
  font-weight: normal; /* Optional: Define weight (e.g., normal, bold) */
  font-style: normal; /* Optional: Define style (e.g., normal, italic) */
}

@font-face {
  font-family: "Logo"; /* Name you’ll use to reference the font */
  src: url("/fnt/logo.otf") format("opentype"); /* Path to the TTF file */
  font-weight: normal; /* Optional: Define weight (e.g., normal, bold) */
  font-style: normal; /* Optional: Define style (e.g., normal, italic) */
}

/* Apply the font to elements */
body {
  font-family: "PV-Font", sans-serif; /* Fallback font (e.g., sans-serif) */
}
.logo-font {
  font-family: "Logo";
}

.vh-100 {
  height: 100vh !important;
}
.text-justify {
  text-align: justify;
}
.cursor-pointer {
  cursor: pointer;
}
.logo-larger {
  font-size: larger;
}
.logo-red {
  background-color: #ba2822;
}
.username-feedback {
  margin-top: 5px;
  font-size: 0.9em;
}

.username-available {
  color: green;
}

.username-taken {
  color: red;
}

.error {
  color: red;
  font-size: 0.9em;
}

.password-strength {
  margin-top: 5px;
  height: 5px;
  background: #ddd;
}

.strength-weak {
  width: 33%;
  background: red;
}

.strength-medium {
  width: 66%;
  background: orange;
}

.strength-strong {
  width: 100%;
  background: green;
}
/* Custom styling for the badge positioning */
.badge-position {
  position: relative;
  display: inline-block;
}
.badge-position .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
}
.catLink {
  transition: background-color 0.2s;
  padding: 0.1rem;
  border-radius: 4px;
}

.catLink:hover {
  background-color: #343a40;

  color: #ffffff;
}
.profile-row {
  display: flex;
  align-items: center;
  /* Vertically align label and value */
  margin-bottom: 8px;
  /* Consistent vertical spacing between rows */
}

.profile-label {
  width: 150px;
  /* Fixed width for labels */
  flex-shrink: 0;
  /* Prevents label from shrinking */
  padding-right: 10px;
  /* Space between label and value */
}

.dropzone {
  border: 2px dashed #007bff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  min-height: 200px;
  transition: all 0.3s ease;
}

.dropzone.dragover {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

#cropperModal .modal-dialog {
  max-width: 90vw;
  width: 90vw;
  margin: 1rem auto;
}

#cropperModal .modal-body {
  max-height: 80vh;
  overflow: auto;
  padding: 0;
}

.img-container {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#imageToCrop {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
}
.user-info {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  /* Allow wrapping on very small screens */
  overflow: hidden;
  /* Prevent content from overflowing */
}

.user-name,
.user-age,
.user-gender {
  /* Remove min-width to allow shrinking */
  text-align: left;
  white-space: nowrap;
  /* Prevent text wrapping within each span */
  overflow: hidden;
  /* Hide overflow */
  text-overflow: ellipsis;
  /* Show ellipsis for truncated text */
  max-width: 100px;
  /* Cap maximum width */
}

/* Styling for SVGs */
.user-gender svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
  /* Prevent SVG from shrinking */
}

/* Adjust for smaller screens */
@media (max-width: 1200px) {
  .user-name,
  .user-age,
  .user-gender {
    max-width: 160px;
    /* Reduce max-width for narrower sidebars */
  }
}

@media (max-width: 992px) {
  .user-info {
    flex-direction: column;
    /* Stack vertically on mobile */
    align-items: flex-start;
  }

  .user-name,
  .user-age,
  .user-gender {
    max-width: 100%;
    /* Allow full width on mobile */
  }
}
.bg-male {
  background-color: #2986cc;
}
.bg-female {
  background-color: #c90076;
}

/* div,
svg {
  border: 1px solid #ffff00;
} */
