/*
 * Global & default styles go here
 */
:root {
    --green: #91C650;
    --dark-green: #22964D;
    --almost-white: #F4F4F6;
    --almost-black: #1F1F1F;
    --dark-grey: #6B6D82;
    --white: #FFFFFF;
    --aqua-blue: #007EFF;
    --red: #FF5757;
    --shadow: 2px 4px 5px rgba(0,0,0,0.15);
}

* {
    font-family: "Inter", sans-serif;
}

label, a, button {
    font-size: 14px;
    font-weight: 600;
    color: var(--almost-black);
}

h1 {
    font-weight: 600;
    font-size: 18px;
}


h2 {
    font-weight: 600;
    font-size: 15px;
}

p {
    font-weight: 400;
    color: var(--dark-grey);
}

a {
    cursor: pointer;
}

img {
    user-select: none;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

input {
    border: none;
    outline: none;
    color: var(--dark-grey);
    background-color: var(--white);
    padding: 0 1rem;
    font-weight: 400;
    border-radius: 8px;
    font-size: 16px;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

button.shadow {
    box-shadow: var(--shadow);
}

button:not(.unset) {
    font-size: 16px;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    background-color: var(--aqua-blue);
    color: var(--white);
}

button.wide {
    width: 100%;
}

button.neutral {
    background-color: transparent;
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
    padding: 0.5rem 2rem;
    box-shadow: var(--shadow);
}

button.transparent {
    background-color: transparent;
    border: none;
    padding: 0;
    display: contents;
}

.screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    border-top: 6px solid var(--green);
}

.hidden {
    display: none !important;
}

/*
 * Image with red notification bubble
 */
div.notified {
    position: relative;
    display: inline-block;
}

div.notified::after {
    content: attr(data-count);
    position: absolute;
    top: 4px;
    right: 4px;
    height: 18px;
    width: 18px;
    background: var(--red);
    line-height: 17px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    border-radius: 100%;
    transform: translate(50%, -50%);
    pointer-events: none;
}