:root {
    --gray: gray;
    --green: #28a745;
    --red: #dc3545;
}
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}
p {
    margin-top: 0;
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: rgb(243, 244, 245);
    color: #212529;
    text-align: left;
    height: 100%;
    text-rendering: optimizeLegibility;
}

header {
    background-color: #343a40;
    color: white;
    padding: 0.5rem 1rem ;
}


section.container {
    display: flex;
    /* height: calc(86vh); */
    position: relative;
    margin-bottom: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.section__header {
    max-width: 40rem;
}

.sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    
    width: 24%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 24%;
    flex: 0 0 24%;
    max-width: 24%;
    display: block !important;
    overflow-y: scroll;
}

.sidebar__header {
    font-feature-settings: "tnum";
    position: sticky;
    z-index: 999;
    font-weight: 700;
    top: 0;
    right: 0;
    left: 0;
    background-color: rgb(243, 244, 245);
    padding: .5rem 2rem;
    /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); */
    box-shadow: inset -1px -1px 0 rgba(0, 0, 0, .1);
}

.sidebar__content {
    /* position: sticky; */
    top: 48px;
    height: auto;
    height: 100%;
    padding-top: .5rem;
    padding: 1rem;
}

#cardsWrapper.disabled {
    opacity: .5;
    pointer-events: none;
}

.card {
    cursor: pointer;
    padding: 1rem;
    background-color: white;
    transition: box-shadow .3s;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: .5rem;
}

.card.active {
    box-shadow: 0 .625rem 1.25rem #0000001a;
}

.card:hover {
    box-shadow: 0 .625rem 1.25rem #0000001a;
}

.card.checked {
    opacity: .6;
}
.card.checked .card__body {
    display: none;
}

.card.status-pass .card__header {
    color: var(--green);
}

.card.status-fail .card__header {
    color: var(--red);
}

.card__header {
    font-weight: 700;
    margin-bottom: 1rem;
}

.card__body {
    margin-bottom: 1rem;
}


.mainArea {
    margin-left: auto !important;
    flex: 1 0 auto;
    position: relative;

    background-color: white;    
    height: auto;
    overflow: scroll;

    padding: 4rem;
    padding-top: 3rem;
    

    -webkit-box-flex: 0;
    -ms-flex: 0 0 76%;
    flex: 0 0 76%;
    max-width: 76%;
    display: block;
} 



.dropzone {
    border-radius: 1rem;
    border: 2px dashed rgba(0, 0, 0, .1);
    background: white;
    padding: 2rem;
    margin: 0;
    font-weight: 700;
    transition: all .3s;
}

.dropzone.disabled {
    opacity: .5;
    padding: .75rem;
    pointer-events: none; 
}
.dropzone.compact {
    padding: .75rem;
}

.dropzone.hover {
    box-shadow: 0 .625rem 1.25rem #0000001a;
}

/* Font preview */

#stylesList {
    margin-top: 2rem;
    min-height: 400px;
}


.fontStyle__wrapper {
    margin-bottom: 1rem;
}

.fontStyle__label {
    color: var(--gray);
}

.fontStyle__preview {
    white-space: nowrap;
    font-size: 4rem;
    line-height: 1.2;
}




/* MAIL TEMPLATE */

#mailContent {
    background-color: #fffbeb;
    border-radius: .2rem;
    padding: 1rem;
    margin-top: 2rem;
    max-width: 40rem;
    /* margin: auto; */
    /* font-family: monospace; */
}

#mailContent span::before {
    content: "{{" 
}
#mailContent span::after {
    content: "}}" 
}

.btn {
    border: none;
    border-radius: .5rem;
    padding: .5rem 1rem;
    cursor: pointer;
}
.btn:hover {
    background-color: rgba(0, 0, 0, .1);
}

.button-copy {
    /* position: absolute;
    left: 4rem;
    top: 3rem; */
}