@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --text: white;
    --main: #2a72df;
    --main-lg: #1951a6;
    --background: #0a0a10;
    --lighter-bg: #232338;
    --light-bg: #1c1c28;
    --secondary: #2d2d33;
    --secondary-lg: #262637;
    --form-border: #4d4d70;
    --input-bg: #11111b;
    --correct: #57F287;
    --incorrect: #ed4245;
    --incorrect-lg: #b73638;
    --yellow: #FEE75C;
    --magenta: #EB459E;
    --funny: #D19A66;
}

:root {
    --text: white;
    --text-darker: #b1b8d3;
    --text-secondary: #87b1ff;
    --text-red: #fa7c7e;
    --main: #2f4dee;
    --main-lg: #2138b5;
    --background: #04040e;
    --lighter-bg: #22223e;
    --light-bg: #1c1c28;
    --secondary: #0e0e1e;
    --secondary-lg: #19192b;
    --form-border: #323256;
    --input-bg: #0d0d1a;
    --new-input-bg: #07070e;
    --correct: #57F287;
    --incorrect: #dd3437;
    --incorrect-lg: #942e30;
    --yellow: #FEE75C;
    --magenta: #EB459E;
    --funny: #D19A66;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--text);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar:horizontal {
    height: 4px;
}

::-webkit-scrollbar:vertical {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--main);
    cursor: pointer;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.error-pop-up {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    font-family: "Poppins", sans-serif;
}

.error-box {
    background-color: var(--lighter-bg);
    border-radius: 8px;
    overflow: hidden;
    max-width: 300px;
    width: 300px;
}

.error-title {
    padding: 4px 12px;
    background-color: var(--incorrect);
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-title svg path {
    fill: var(--text);
}

.error-description {
    padding: 8px 12px;
    display: block;
}

.error-box button {
    color: var(--text);
    border: none;
    cursor: pointer;
    background-color: transparent;
    margin: 16px 12px 8px auto;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    float: right;
    padding: 0;
}

.error-box button:hover {
    text-decoration: underline;
    font-weight: 900;
}