:root {
    height: 100%;
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: #16171a;
    background-color: #f0f5fd;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background-color: #3678d7;
    color: #ffffff;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

#root {
    width: 100%;
    height: 100%;
}

a {
    color: #3678d7;
    text-decoration: none;
}

ul {
    margin: 0;
    padding-left: 14px;
}

.dropReady {
    transition: border 0.2s ease-in-out;
    border-bottom: 6px solid #3678d7;
    padding-bottom: 50px;
}

.draggedItem {
    opacity: 0.1;
}

.activity-tracker {
    animation: activity-tracker-animation 5s;
}

@keyframes activity-tracker-animation {
    0% {
        background-color: transparent;
    }
    25% {
        background-color: #d2e1f7;
    }
    100% {
        background-color: transparent;
    }
}

.animation-fade-in {
    animation: activity-tracker-animation 2s linear;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.highlighted-email,
.highlighted-url {
    color: #3678d7;
}

.draggedItem:active {
    opacity: 1;
    background-color: #f0f5fd;
}

/* For content editable components placeholder */
[contenteditable='true']:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    display: block; /* For Firefox */
}
