:root {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #1321ab;
    --primary-light: #8895ff;
    --secondary: #ffb455;
    --secondary-content: #552f00;
    --secondary-dark: #ff9d22;
    --secondary-light: #ffca88;
    --background: #f0f0f0;
    --foreground: #fbfbfb;
    --border: #dfdfdf;
    --copy: #262626;
    --copy-light: #666666;
    --copy-lighter: #8c8c8c;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

.dark-theme {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #2239ff;
    --primary-light: #8895ff;
    --secondary: #ff55bc;
    --secondary-content: #550033;
    --secondary-dark: #ff22a8;
    --secondary-light: #ff88d0;
    --background: #111222;
    --foreground: #191c34;
    --border: #292e56;
    --copy: #fafafd;
    --copy-light: #cbcee6;
    --copy-lighter: #878dc5;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

#container {
    position: relative;
    /* Allows positioning of the button relative to this container */
    display: inline-block;
    /* Adjust size to fit canvas  avatarbox is the container of the image*/
}

#croppedCanvas {
    border-radius: 50%;
}

#centerButton {
    position: absolute;
    /* Center vertically */
    /* Center horizontally */
    /* Adjust for button's own size */
    z-index: 1;
    /* Ensure button appears above the canvas */
    padding-top: 5px;
    padding-bottom: 5px;
    height: 37px;
    width: 150px;
    font-size: 10pt;
    background-color: transparent;
    border: 1px solid var(--border);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#fileUploadHiddenEditBox {
    border-radius: 1%;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 20%;
    left: 25%;
    width: 50%;
    height: 70%;
    background: white;
    z-index: 3;
    justify-content: space-between;
    align-items: center;
}

#fileUploadHiddenDivBackground {
    display: none;
    position: fixed;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 70%;
    z-index: 2;
    background-color: black;
}

#avatarbox {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    background: grey;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#avatarbox-container {}

#test {
    max-height: 600px;
    max-width: 600px;
}

.modal-background-blur {
    background-color: black;
    opacity: 50%;
    z-index: 20;
    height: 100%;
    width: 100%;
    position: absolute;
}

.confirm-email-modal {
    width: 750px;
    height: 500px;
    z-index: 200;
    top:50%;
    left:50%;
    position: fixed;
    background-color: white;
    border-radius: 0.75rem;
     transform: translate(-50%, -50%); /* shifts back half of its own size */
}
.show{
    display: block;
}


/* test */
/* Overlay wrapper */ 
.modal {
  position: fixed;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  display: none;           /* hidden by default */
  z-index: 1000;
}
.modal.is-open { display: grid; place-items: center; }

/* Backdrop covers whole screen; click to close */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);   /* needed for blur to be visible */
  backdrop-filter: blur(6px);    /* the blur */
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  padding: 0;
  margin: 0;
}

/* Dialog panel */
.modal__content {
  position: relative;
  max-width: 640px;
  width: min(90vw, 640px);
  max-height: 85vh;
  overflow: auto;
  background: var(--background);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 1; /* above the backdrop */
    color: var(--copy);
}

/* Close button in the corner */
.modal__close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
color: var(--copy) !important;
}
.modal-body{
    font-size: 16pt!important;
}

/* Agreements: use labels for better a11y/tap targets */
.agreement {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-block: .5rem;
}
.agreement input { margin-top: .25rem; }

.modal-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  margin-top: 1rem;
  color: var(--copy) !important;
}
.modal-actions a{
    color:  var(--copy)!important;
}
.btn.btn-ghost{
    color:var(--copy);
    border: 1px solid var(--copy);
}
#my-modal {
  display: none; /* hidden by default */
}
#my-modal.is-open {
  display: grid; /* shown when class added */
  place-items: center;
}

/* test */
@media (max-width:768px) {
    #avatarbox {
        margin-left: auto;
        margin-right: auto;
    }
    #test {
        max-height: 200px;
        max-width: 200px;
    }
    #agree-to-terms {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    #upload-avatar-label {
        text-align: center;
    }
    #fileUploadHiddenEditBox {
        border-radius: 1%;
        display: none;
        flex-direction: column;
        position: fixed;
        width: 70%;
        height: 70%;
        background: white;
        z-index: 3;
        justify-content: space-between;
        align-items: center;
        margin-left: -10%;
    }
    #fileUploadHiddenDivBackground {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 70%;
        z-index: 2;
    }
    .cropper-container .cropper-bg {}
}


/* testttt */

html,
body {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    /* was overflow: hidden; */
}

.bg-decor {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(136, 149, 255, 0.25), rgba(99, 102, 241, 0.05) 50%, rgba(136, 149, 255, 0.25));
}


/* — Blurred circles — */

.circle,
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2rem);
}

.c1 {
    top: 5%;
    left: 5%;
    width: 8rem;
    height: 8rem;
    background: rgba(99, 102, 241, 0.3);
    filter: blur(5rem);
}

.c2 {
    top: 30%;
    right: 10%;
    width: 18rem;
    height: 18rem;
    background: rgba(88, 106, 252, 0.32);
    filter: blur(10rem);
}

.c3 {
    top: 10%;
    right: 50%;
    width: 20rem;
    height: 15rem;
    background: rgba(88, 106, 252, 0.3);
    filter: blur(7rem);
    transform: rotate(45deg);
}

.c4 {
    top: 33%;
    right: 33%;
    width: 5rem;
    height: 5rem;
    background: rgba(136, 149, 255, 0.3);
    filter: blur(5rem);
}


/* thin bars */

.shape {
    background: rgba(99, 102, 241, 0.2);
    filter: blur(0.5rem);
}

.s1 {
    top: 3rem;
    right: 40%;
    width: 10rem;
    height: 10rem;
    transform: rotate(45deg);
    filter: blur(5rem);
}

.s2 {
    bottom: 20%;
    left: 33%;
    width: 10rem;
    height: 15rem;
    background: rgba(232, 121, 249, 0.3);
    filter: blur(10rem);
}

.s3 {
    top: 50%;
    left: 30%;
    width: 5rem;
    height: 10rem;
    background: rgba(99, 102, 241, 1);
    transform: rotate(-12deg);
    filter: blur(10rem);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    z-index: 100;
    position: relative;
}

.brand .logo {
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
}

.brand-name {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-content);
}


/* — Page heading — */

.page-title {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 100;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--primary-content) !important;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 100;
}

.page-section {
    background-color: var(--foreground) !important;
}

.page-wrap {
    position: relative;
    min-height: 100dvh;
    /* at least one viewport tall, grows with content */
}

[dir] body {
    background-color: var(--foreground) !important;
}

.custom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-label {
    color: var(--copy)!important;
    z-index: 1;
    font-weight: 700!important;
}

input {
    color: var(--copy)!important;
}

input::placeholder {
    color: var(--copy-light) !important;
}


/* testtt */