/* --- CSS RESET --- */
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
    margin: 0;
}
/*
Typographic tweaks!
3. Add accessible line-height
4. Improve text rendering
*/
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/*
5. Improve media defaults
*/
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/*
6. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}
/*
7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    font-family: "acumin-pro", Helvetica, sans-serif;
}

/* --- CSS RESET --- */
 
* {
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
}
/* Screen Wrappers */
.fullscreen-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.text-wrapper {
    width: 100%;
    max-width: 768px;
    padding: 4px 8px;
}

/* Buttons */
.icon-button {
    padding: 4px;
    border: none;
    background: none;
    border-radius: 4px;
    cursor: pointer;
}

.icon-button:hover {
    background: var(--gray-200);
}

.primary-button {
    font-size: 14px;
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #5d2a5f;
    color: var(--gray-50);
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.primary-button p {
    padding: 0;
    margin-top: -1px;
    text-decoration: none;
    text-align: center;
}

.primary-button:hover {
    background: rgb(72, 30, 73);
}

.secondary-button {
    font-size: 14px;
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--gray-300);
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.secondary-button p {
    padding: 0;
    margin-top: -1px;
    text-decoration: none;
    text-align: center;
}

.secondary-button:hover {
    background: var(--gray-400);
}

/* Info Box */
.info-box-container {
    position: relative;
}

.info-box {
    position: absolute;
    top: 32px;
    width: min(300px, 100vw);
    background-color: var(--gray-100);
    border: var(--gray-300) 1px solid;
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--gray-500);
    font-size: 12px;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 800px) {
    .info-box {
        transform: translateX(-25%);
    }
}

/* Pop-up Modal */
.popup-modal-bg {
    position: fixed;
    z-index: 10000;
    padding: 8px;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a80;
 }

.popup-modal {
    width: min(500px, calc(100vw - 16px));
    background: var(--gray-100);
    border-radius: 4px;
    padding: 12px 16px 16px 16px;
    border: var(--gray-300) 1px solid;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));

    position: fixed;
    z-index: 10001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.popup-modal-bottom {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.popup-modal-body {
    color: var(--gray-700);
}

.popup-modal-body p {
    padding-top: 4px;
    padding-bottom: 12px;
    font-size: 14px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--gray-300);
    margin: 8px 0;
}

