/* Import */
@import url("../font/style.css");

/* General */
* {
  margin: 0;
  padding: 0;
  font-family: "Whitney", sans-serif;
  box-sizing: border-box;
}

body {
  user-select: none;
}

html {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
}

.tooltip {
  display: block;
  position: absolute;
  color: #b6b7b7;
  background: #18191c;
  padding: 0.4rem;
  border-radius: 3px;
  max-width: 150px;
  width: max-content;
  font-size: 0.9rem;
  transform: scale(0);
  transition: 0.055s ease-in-out transform;
  z-index: 10;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.35);
}

.tooltip-up {
  bottom: 42px;
}

.tooltip-up::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #18191c;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #6d5cff;
  padding: 10px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.85rem;
  transition: 0.2s ease-in-out;
  margin-top: 12px;
}

.btn:hover {
  background-color: #4752c4;
}

/* Card */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1450px;
  z-index: 0;
}

.card {
  background: #292b2f;
  width: 345px;
  max-height: 95%;
  height: max-content;
  border-radius: 9px;
  box-shadow: 0px 0px 16px 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 16px 3px rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}

.card::-webkit-scrollbar {
  display: none;
}

.card-header .banner {
  width: 100%;
  height: 60px;
  background: #ff8527;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  z-index: 1;
}

.card-header .banner-img {
  width: 100%;
  height: 120px;
  background-position: center !important;
  background-size: 100% auto !important;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.card-body {
  padding: 15px;
  position: relative;
}

.card-body .profile-header {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: calc(100% - 30px);
  top: -50px;
}

.card-body .profile-header .profil-logo {
  position: relative;
  border: 6px solid #292b2f;
  border-radius: 50%;
}

.card-body .profile-header .profil-logo img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.card-body .profile-header .profil-logo::before {
  content: "View Profile";
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
  color: #eeeeee;
  background: #0000007e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  transition-duration: 0.15s;
}

.card-body .profile-header .profil-logo:hover::before {
  opacity: 1;
}

.card-body .profile-header .badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 150px;
  background: #18191c;
  border-radius: 7px;
  padding: 3px;
}

.card-body .profile-header .badges-container .badge-item {
  position: relative;
  margin: 1px;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.card-body .profile-header .badges-container .badge-item img {
  height: 100%;
}

.card-body .profile-header .badges-container .badge-item:hover > .tooltip {
  transform: scale(1);
}

.card-body .profile-body {
  background: #18191c;
  border-radius: 7px;
  padding: 13px;
  margin-top: 40px;
}

.card-body .profile-body .username {
  color: #060607;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.card-body .profile-body .username2 {
  color: #060607;
  margin-bottom: 13px;
  font-weight: 10;
  font-size: 0.8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.card-body .profile-body .username span {
  color: #b9bbbe;
}

.card-body .profile-body .username .badge {
  font-size: 0.65rem;
  background-color: #5865f2;
  text-transform: uppercase;
  font-weight: 300;
  width: max-content;
  padding: 2px 5px;
  margin-left: 5px;
  border-radius: 3px;
}

.online-status {
  width: 23px;
  height: 23px;
  background-color: #3ba55d;
  border: 4px solid #fef2e2;
  border-radius: 50%;
  position: absolute;
  right: 0px; 
  bottom: 0;
}

.card-body .profile-body hr {
  border: none;
  border-top: 0.5px solid #e6cabf;
}

.card-body .profile-body .category-title {
  color: #222021;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.card-body .profile-body .basic-infos {
  margin-bottom: 14px;
  margin-top: 12px;
}

.card-body .profile-body .basic-infos p {
  color: #3e3e43;
  font-weight: 100;
  font-size: 0.8rem;
}

.card-body .profile-body .basic-infos p a {
  color: #02a5e6;
  text-decoration: none;
}

.card-body .profile-body .basic-infos p a:hover {
  text-decoration: underline;
}

.card-body .profile-body .basic-infos p b {
  color: #3e3e43;
}

.card-body .profile-body .roles {
  margin-bottom: 14px;
}

.card-body .profile-body .roles .roles-list {
  display: flex;
  flex-wrap: wrap;
}

.card-body .profile-body .roles .roles-list .role {
  background: #292b2f;
  color: #313338;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 300;
  padding: 3px 6px;
  margin-right: 4px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.card-body .profile-body .roles .roles-list .role .role-color {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 5px;
}

.card-body .profile-body .roles .roles-list .role .role-color:hover::before {
  content: "✖";
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.5rem;
  color: #f5f5f5;
  background: #292b2f;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-body .profile-body .roles .roles-list .role-add {
  cursor: pointer;
}

.card-body .profile-body .note textarea {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  min-height: 30px;
  color: #000000;
  resize: none;
  font-size: 0.8rem;
  border-radius: 3px;
  padding: 5px;
  box-sizing: border-box;
  scrollbar-width: none;
}

.card-body .profile-body .note textarea::-webkit-scrollbar {
  display: none;
}

.card-body .profile-body .note textarea::placeholder {
  font-size: 0.8rem;
}

.card-body .profile-body .note textarea:focus::placeholder {
  opacity: 0;
}

.card-body .profile-body .message input {
  background: transparent;
  outline: none;
  border: 1.2px solid #5c5e66;
  padding: 13px;
  width: 100%;
  border-radius: 4px;
  color: #000000;
  margin-top: 14px;
}

.nitro-card {
  position: relative;
  background-image: linear-gradient(0, #f9b163, #f9b163);
  background-blend-mode: color;
  background-color: #ffd699;
}

.nitro-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -5px;
  border-radius: 12px;
  background: linear-gradient(0, #f9b163, #f9b163);
}

.nitro-card .card-body .profile-body {
  background: #f5e0d5;
}

.nitro-card .card-body .profile-header .profil-logo {
  position: relative;
  border-color: transparent;
  z-index: 0;
}

.nitro-card .card-body .profile-header .profil-logo:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -6px;
  border-radius: 50%;
  background-color: #fad3b9;
}

.nitro-card .card-body .profile-header .badges-container {
  background: #f5e0d5;
}

.nitro-card .card-body .profile-body .roles .roles-list .role {
  background: #f3eaf4;
  border: 1px solid #cac2cb;
}

/* Media Queries */
@media screen and (max-width: 1470px) {
  .card-container {
    width: 90%; /* Use percentage width instead of fixed width */
    max-width: 1100px; /* Set a maximum width */
  }
}

@media screen and (max-width: 1150px) {
  .card-container {
    width: 90%; /* Use percentage width instead of fixed width */
    max-width: 720px; /* Set a maximum width */
  }
}

@media screen and (max-width: 770px) {
  .card-container {
    width: 90%; /* Use percentage width instead of fixed width */
    max-width: 345px; /* Set a maximum width */
  }
}


/* Elements below can be removed ( they are just for demo purposes ) */

.modal-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  visibility: hidden;
}

.modal {
  position: relative;
  background: #18191c;
  border-radius: 5px;
  transform: scale(0);
  transition: 0.1s ease-in-out all;
  border: 1px solid #2d2d2d;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal .modal-header {
  color: #eee;
  padding: 15px;
  background: #1f2024;
  border-bottom: 1px solid #2d2d2d;
}

.modal .modal-header a {
  text-decoration: none;
  color: #d6d6d6;
  transition-duration: 0.2s;
  border-bottom: 1px dotted #d6d6d6;
}

.modal .modal-header a:hover {
  color: #fff;
  border-bottom: 1px solid #f87610;
}

.modal .modal-body {
  padding: 15px;
  width: 100%;
}

.modal .modal-body input {
  width: 100%;
  padding: 10px;
  border: 1px solid #2d2d2d;
  border-radius: 3px;
  background: #18191c;
  outline: none;
  color: #eee;
  transition: 0.2s all;
}

.modal .modal-body input::placeholder {
  color: #a1a1a1;
}

.modal .modal-body input:hover {
  background: #141414;
}

.modal .modal-body input:focus {
  background: #141414;
}

.modal .modal-body .feedback-state {
  display: none;
  color: #fff;
  font-size: 0.8rem;
  padding-top: 7px;
  z-index: 100;
  transition: 0.2s all;
}

.modal .modal-body .feedback-state.success {
  display: block;
  color: #50f750;
}

.modal .modal-body .feedback-state.error {
  display: block;
  color: #ee4c4c;
}

.active {
  visibility: visible;
}

.active .modal {
  transform: scale(1);
}

.help-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 10px;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s all;
  background: #4a4b4d;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-btn:hover {
  background: #f87610;
}

.socicon-with-text {
  display: flex;
  align-items: center;
}

.socicon-with-text i {
  color: #4e5058;
  font-size: 16px;
  margin-right: 5px; 
}

/* Container for the "+" button and dropdown */
.role-add {
  position: relative;
}

/* Styling the "+" button */
.role-add-text {
  cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu {
  display: none; /* Hidden by default */
  position: fixed;
  top: 500px; /* Adjust to position the dropdown */
  left: 1130px;
  background-color: #111214; /* Discord dark grey */
  border-radius: 4px;
  padding: 0;
  width: 250px; /* Adjust width as needed */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Soft shadow */
  z-index: 1000;
  border: 6px solid #111214; /* Fixed border around the dropdown */
}

/* Dropdown menu list */
.dropdown-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Dropdown menu list items */
.dropdown-menu li {
  padding: 0; /* Remove padding from li */
}

/* Make the label block-level and fill the entire li */
.dropdown-menu li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  color: #dcddde; /* Light grey text */
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.15s ease;
  width: 100%; /* Make label take full width */
  border-radius: 2px;
}

/* Hover effect for dropdown items */
.dropdown-menu li label:hover {
  background-color: #5865f2; /* Discord blue */
}

/* Role color circle */
.role-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Role name */
.role-name {
  flex-grow: 1;
  margin-right: 10px;
  color: #b5bac1;
}

/* Hide the default checkbox */
.role-checkbox {
  display: none;
}

/* Custom checkbox */
.custom-checkbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background-color: #111214; /* Unchecked background */
  border: 2px solid #72767d; /* Border color */
  position: relative;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Custom checkbox when checked */
.role-checkbox:checked + .custom-checkbox {
  background-color: #5865f2; /* Checked background */
  border-color: #5865f2; /* Border color matches background */
}

/* Checkmark inside the custom checkbox */
.role-checkbox:checked + .custom-checkbox::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 10px;
  border: solid #ffffff; /* White checkmark */
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg); /* Center and rotate the checkmark */
}

/* Custom checkbox when hovered */
.dropdown-menu li label:hover .custom-checkbox {
  background-color: #5865f2; /* Hover background color for unchecked state */
  border-color: #ffffff; /* Border color for unchecked state */
}

/* Custom checkbox when checked and hovered */
.dropdown-menu li label:hover .role-checkbox:checked + .custom-checkbox {
  background-color: #ffffff; /* Hover background color for checked state */
  border-color: #ffffff; /* Keep the border color for checked state */
}

/* Checkmark color for white background on hover */
.dropdown-menu li label:hover .role-checkbox:checked + .custom-checkbox::after {
  border-color: #5865f2; /* Change checkmark color to blue */
}









/* Container for the options button and menu */
.options-container {
  position: relative;
  display: inline-block;
}

/* Container for the options button */
.options-button {
  position: absolute; /* Positioning relative to the nearest positioned ancestor */
  top: 10px; /* Adjust as needed */
  right: 10px; /* Adjust as needed */
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10; /* Higher z-index to ensure it appears on top */
  opacity: 0.6;
}

/* Style for each dot inside the circle */
.options-button .dot {
  width: 3px; /* Dot size */
  height: 3px; /* Dot size */
  background-color: #fff; /* Dot color */
  border-radius: 50%;
  margin: 0 1px; /* Horizontal spacing between dots */
  display: inline-block; /* Ensure dots are aligned horizontally */
}

/* Style for the dropdown menu */
.options-dropdown {
  display: none; /* Hidden by default */
  position: absolute;
  top: 10px; /* Adjust to position correctly below the button */
  left: 340px; /* Align to the left edge of the button */
  background-color: #111214; /* Dark grey background */
  border-radius: 4px;
  padding: 0; /* Remove extra padding */
  width: 180px; /* Adjust width as needed */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Soft shadow */
  z-index: 1000;
  border: 6px solid #111214; /* Fixed border around the dropdown */
}

/* Dropdown menu list */
.options-dropdown ul {
  list-style-type: none;
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
}

/* Dropdown menu list items */
.options-dropdown li {
  padding: 0; /* Remove padding from li */
  font-size: 12px; /* Set the font size for all text inside the dropdown */
}

/* Make the label block-level and fill the entire li */
.options-dropdown li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  color: #dcddde; /* Light grey text */
  cursor: pointer;
  width: 100%; /* Make label take full width */
}

/* Hover effect for dropdown items */
.options-dropdown li label:hover {
  background-color: #5865f2; /* Discord blue */
  color: #ffffff; /* Text color on hover */
  border-radius: 2px;
}

.id-icon {
  width: 18px; /* Dot size */
  height: 18px; /* Dot size */
  margin-left: 20px;
}

.id-name {
  color: #dcddde; /* Light grey text */
}

