/* ROOT VARIABLES */
:root {
  /* colors */
  --blue: #1da1f2;
  --purple: #9146ff;
  --discord-darker: #1e2124;
  --discord-dark: #282b30;
  --discord-light: #36393e;
  --discord-lighter: #424549;
  --discord-blue: #7289da;
}

/* DEFAULT BODY STYLES */
body {font-family: 'Inter', sans-serif; font-size: 16px; background: #18181f; color: white;}
*:focus {outline: none; box-shadow: none !important; -webkit-appearance: none;}
.hidden {display: none;}
main {min-height: 100vh;}
a {font-weight: 600; text-decoration: none; color: var(--cashapp);}
.underline {text-decoration: underline;}
.form-control, .form-select {border-width: 2px;}

.form-control, form-control:focus, form-control:active {
  background: var(--discord-light) !important;
  color: white !important;
  border: 0;
  line-height: 2.5;
}

.modal-content {
  background: var(--discord-dark);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 0s 600000s, color 0s 600000s;
}

.pfp {
  border: 3px solid #C0C0C0;
  width: 80px; height: 80px;
}

.pfp-sm {
  border: 1.5px solid #C0C0C0;
  width: 28px; height: 28px;
}

/* FORM STUFF */
.form-control::placeholder {
  color: white;
  opacity: 0.2;
}
.form-check-input, .form-check-input:focus {
  border: 2px solid var(--light-gray);
  cursor: pointer;
}
.form-check-input:checked, .form-check-input:active {
  background-color: var(--blue);
  border: 2px solid var(--blue);
  cursor: pointer;
}

.box {
  background: #2b2a33;
  color: white;
}

.box-dark {
  background: #42414d;
  color: white;
}

/* TOP LEVEL ALERT */
.top-level-alert {position: fixed; top: 5px; z-index: 1050; margin-left: 0.5rem; margin-right: 0.5rem;}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1b1e;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 20px;
}

/* TEXT HEADING SIZES */
.heading {font-size: 1.8rem;}
.heading-lg {font-size: 2.3rem;}
.heading-xl {font-size: 2.8rem;}
.heading-sm {font-size: 1.5rem;}
.heading-xs {font-size: 1.2rem;}
.subheading {font-size: 18px;}
.subheading-sm {font-size: 1.04rem;}
.text-small {font-size: .875em;}

/* OTHER TEXT SIZES */
.section-status {margin-bottom: 0px;}

/* TEXT WEIGHTS */
.not-bold {font-weight: 400;}
.less-bold {font-weight: 500;}
.semi-bold {font-weight: 600;}
.bold {font-weight: 700;}
.bolder {font-weight: 800;}
.extra-bold {font-weight: 900;}

/* TEXT COLORS */
.text-dark {color: var(--dark-gray) !important;}
.text-light {color: var(--light-gray) !important;}
.text-blue {color: var(--blue) !important;}
.text-purple {color: var(--purple) !important;}
.text-white {color: white !important;}
.text-gradient {
  background: rgb(139,81,255);
  background: -moz-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: -webkit-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8b51ff",endColorstr="#4485f7",GradientType=1);
  background-size: 100%;
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

/* BACKGROUNDS */
.gradient {
  color: white;
  background: rgb(139,81,255);
  background: -moz-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: -webkit-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8b51ff",endColorstr="#4485f7",GradientType=1);
}

/* CUSTOM SPACING */
.w-90 {width: 90%;}
.w-95 {width: 95%;}

/* TESTING */
.settings-bar {
  position: relative;
  margin-top: 30px;
  cursor: pointer;
}
.settings-arrow {
  position: absolute;
  padding-right: 20px;
  padding-top: 3px;
  color: var(--blue);
}

/* FOOTER STYLES */
footer {
  /* background: var(--discord-darker); */
}
.bg-discord {
  background: var(--discord-dark);
  color: white;
}

/* MISC. STYLES */
.form-check {text-align: left}
.checkbox-alert {padding-left: 0px}
.btn-warning, .btn-warning:hover, .btn-warning:focus, .btn-wanring:active {color: white !important;}
.dropdown-item {font-weight: 600; color: var(--light-gray);}
.dropdown-item:hover, .dropdown-item:active, .dropdown-item:focus {color: var(--light-gray); background: white;}
.social-logo {width: 40%; height: auto;}
.cta-box {background: var(--extra-dark-gray); color: white; font-weight: 500;}
.filepond--drop-label {cursor: pointer;}
.filepond--drop-label > label {cursor: pointer;}
.alert-link {text-decoration: underline;}

/* BUTTON STYLES */
.btn {font-weight: 600;}
.btn-thick {line-height: 2;}
.btn-item {padding-top: 4px; padding-bottom: 4px;}
.btn-accent, .btn-accent:hover, .btn-accent:active, .btn-accent:focus {
  background: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  color: white !important;
}
.btn-gray-outline, .btn-gray-outline:hover, .btn-gray-outline:active, .btn-gray-outline:focus {
  background: transparent !important;
  border: 2px solid var(--extra-dark-gray) !important;
  color: var(--extra-dark-gray) !important;
}
.btn-light-gray, .btn-light-gray:hover, .btn-light-gray:active, .btn-light-gray:focus {
  background: #e8e8e8 !important;
  border: 2px solid #e8e8e8 !important;
  color: var(--light-gray) !important;
}
.btn-red, .btn-red:hover, .btn-red:active, .btn-red:focus {
  background: var(--red) !important;
  border: 2px solid var(--red) !important;
  color: white !important;
}
.btn-red-outline, .btn-red-outline:hover, .btn-red-outline:active, .btn-red-outline:focus {
  background: transparent !important;
  border: 2px solid var(--red) !important;
  color: var(--red) !important;
}
.btn-yellow, .btn-yellow:hover, .btn-yellow:active, .btn-yellow:focus {
  background: var(--yellow) !important;
  border: 2px solid var(--yellow) !important;
  color: white !important;
}
.btn-yellow-outline, .btn-yellow-outline:hover, .btn-yellow-outline:active, .btn-yellow-outline:focus {
  background: transparent !important;
  border: 2px solid var(--yellow) !important;
  color: var(--yellow) !important;
}
.btn-white, .btn-white:hover, .btn-white:active, .btn-white:focus {
  background: white !important;
  color: var(--extra-dark-gray) !important;
}
.btn-purple, .btn-purple:hover, .btn-purple:active, .btn-purple:focus {
  background: var(--purple) !important;
  color: white !important;
}
.btn-blue, .btn-blue:hover, .btn-blue:active, .btn-blue:focus {
  background: var(--blue) !important;
  color: white !important;
}
.btn-gradient, .btn-gradient:hover, .btn-gradient:active, .btn-gradient:focus {
  color: white !important;
  border: 0 !important;
  background: rgb(139,81,255);
  background: -moz-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: -webkit-linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  background: linear-gradient(152deg, rgba(139,81,255,1) 0%, rgba(68,133,247,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8b51ff",endColorstr="#4485f7",GradientType=1);
}

/* TWEMOJI CSS */
img.emoji {height: 1em; width: 1em; margin: 0 .05em 0 .1em; vertical-align: -0.1em}

/* ACCORDIAN CSS */
.accordion-button {font-weight: 500; background: white; color: #212529}
.accordion-item {background: white}
.accordion-button:not(.collapsed) {color: white; background: var(--extra-dark-gray); font-weight: 500}
.accordion-button:not(.collapsed)::after {background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important}
.accordion-body {background: white;}

/* MODAL CSS */
.modal-outer-div {
	position: fixed;
	top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
	z-index: 1055;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.5);
}
.modal-inner-div {
  height: fit-content;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}
.modal-body-div {
	display: inline-block;
	vertical-align: bottom;
	overflow: hidden;
	--tw-bg-opacity: 1;
  background: rgb(255 255 255 / var(--tw-bg-opacity));
	transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
	border-radius: 0.5rem;
	transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
	width: 100%;
  max-width: 500px;
	padding: 1rem;
}
.modal-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border: 0;
  padding: 0 12px 0 10px;
  background: transparent;
  font-size: 1.8rem;
  color: #5d6879;
}
.bs-modal-close-btn {
  position: absolute;
  top: 1px;
  right: 0;
  border: 0;
  padding: 0 12px 0 10px;
  background: transparent;
  font-size: 1.8rem;
  color: #5d6879;
}
.toggleClickClose {
  position: fixed;
  inset: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.toggleClickCloseInner {
  position: absolute;
  inset: 0;
  opacity: 0.75;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.duration-300 {
  transition-duration: 300ms;
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.duration-200 {
  transition-duration: 200ms;
}

/* CUSTOM TOGGLE SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3.2px;
  bottom: 3.2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 0 0;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}