/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––

- Grid
- Base Styles
- Typography
- Links
- Code
- Spacing
- Utilities
- Misc
- Credit footer

*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 680px;
  /* Slightly wider than default to look like a premium card */
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
}

body>.container {
  margin: 40px auto 40px auto;
  /* 40px floating margin */
  padding: 48px 32px;
  /* Internal padding so content breathes within the card */

  /* Card specific styles */
  background-color: rgba(26, 30, 66, 0.7);
  /* Premium Glassmorphism Navy */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0px 24px 32px 0px rgba(0, 0, 0, 0.5);
  /* Strong shadow */
}

.column {
  position: center;
  width: 100%;
  float: center;
  box-sizing: border-box;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
  }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 80%;
  }

  .column,
  .columns {
    margin-left: 0;
  }

  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }

}


/* Base Styles
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
  html is set to 62.5% so that all the REM measurements throughout Skeleton
  are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
  font-size: 100%;
}

/* ReWallet Default (Dark) Mode */
body {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  /* Applying the global abstract background image */
  background-image: url('extra/custom-assets/images/rewallet-generic-background.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-color: #1A1E42;
  /* Fallback */

  font-family: "Space Grotesk", "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #FFFFFF;
}

/* Use this for a fixed background color instead of dark and light mode
    body {
      font-size: 18px;
      line-height: 24px;
      font-weight: 400;
      font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
        sans-serif;
    }
*/

/* Typography
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
  margin-top: 0;
  margin-bottom: 16px !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  letter-spacing: 0;
}

p {
  margin-top: 0;
  color: rgba(208, 213, 221, 0.8);
  font-size: 14px !important;
  line-height: 22px !important;
  margin-bottom: 24px !important;
}

/* Force Profile Logo to be Round
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
#user-photo,
.user-photo,
#profile-picture,
.profile-picture,
#logo,
.logo,
.avatar,
.picture,
#avatar,
.rounded-avatar {
  width: 98px !important;
  height: 98px !important;
  margin: 0 auto 16px auto !important;
  display: block !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
}


/* Links
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #F7931A;
  text-decoration: none;
}

a:hover {
  color: #F7931A;
}

/* ReWallet Universal Button Styles
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  background-color: #F7931A !important;
  color: #FFFFFF !important;
  border-radius: 32px !important;
  /* Linktree Pill Shape */
  border: none !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 64px !important;
  /* Linktree Button Height */
  margin-bottom: 16px !important;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  width: 100%;
  box-sizing: border-box;
}

.button:hover {
  opacity: 0.9 !important;
  transform: scale(1.02) !important;
  color: #FFFFFF !important;
}

/* Ensure icons inside buttons are white to contrast with orange */
.button img,
.button svg {
  filter: brightness(0) invert(1) !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
}

.button i {
  color: #FFFFFF !important;
}

.spacing {
  padding: 0 10px;
}

.social-icon {
  font-size: 32px;
  padding: 10px;
  color: #FFFFFF !important;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

.social-icon-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-bottom: 0;
  margin-top: 24px;
}

/* Code
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px;
}

pre>code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

/* Spacing
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 14px !important;
}

input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
p,
ol {
  margin-bottom: 2.5rem;
}


/* Utilities
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box;
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}


/* Misc
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #171a1d #31363b;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #31363b;
}

*::-webkit-scrollbar-thumb {
  background-color: #171a1d;
  border-radius: 30px;
  border: 3px none #ffffff;
}

/* Credit footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Styling for credit footer text */
.credit-txt {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

/* Hide default footer so we can inject custom ReWallet footer */
.credit-footer {
  display: none !important;
}

/* ReWallet Custom Footer Link Styling */
.footer-link {
  color: rgb(208, 213, 221) !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, text-decoration 0.2s ease !important;
}

.footer-link:hover {
  opacity: 0.7 !important;
  text-decoration: underline !important;
}

/* Switches text color for credit footer */
.credit-txt-clr {
  color: #FFF !important;
}