:root {
    --app-body-font-family: "aileron-light";
    --app-primary: #ffdde2;
    --app-danger-rgb: 186, 26, 26;
}

.button-primary-legacy {
    background-color: var(--app-primary)
}

.button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.2rem;
    border: 1px solid #d1c3c9;
    padding: 0.65rem 1.1rem;
    color: #44283a;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.button-primary {
    border-color: #5d3e51;
    background: #5d3e51;
    color: #fff;
}

.button-danger {
    border-color: #ba1a1a;
    background: #ba1a1a;
    color: #fff;
}

.button-link {
    border-color: transparent;
    background: transparent;
    color: #44283a;
    text-transform: none;
}

.app-alert {
    margin-bottom: 1rem;
    border: 1px solid #d1c3c9;
    padding: 1rem 1.25rem;
}

.app-alert-warning {
    border-color: #e5c36b;
    background: #fff7d8;
    color: #5d4300;
}

.app-alert-danger {
    border-color: #ffb4ab;
    background: #ffdad6;
    color: #93000a;
}

.app-alert-info,
.app-alert-success {
    border-color: #bdcab9;
    background: #d9e6d5;
    color: #131e13;
}

@font-face {
    font-family: league-spartan;
    src: url(../fonts/LeagueSpartan-VariableFont_wght.ttf);
}

@font-face {
    font-family: aileron-regular;
    src: url(../fonts/Aileron-Regular.otf);
}

@font-face {
    font-family: aileron-thin;
    src: url(../fonts/Aileron-Thin.otf);
}

@font-face {
    font-family: aileron-light;
    src: url(../fonts/Aileron-Light.otf);
}

html {
    font-family: aileron-light;
    font-size: 14px;
}

h1, h2, h3, h4, h5 {
    pointer-events: none;
    user-select: none;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.button:focus, .button:active:focus, .nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

a {
    text-decoration: none;
    color: inherit;
}

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.progress-dot {
    width: 30px;
    height: 30px;
    border: 3px solid var(--app-primary);
    border-radius: 50%;
    margin: 0 10px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

    .progress-dot.filled {
        background-color: var(--app-primary);
        border: none;
    }

.progress-labels {
    display: flex;
    justify-content: center;
}

    .progress-labels span {
        margin: 0 10px;
    }


.hover-card {
    cursor: pointer; /* Change cursor to pointer */
    transition: transform 0.2s; /* Animation for scaling */
}

    .hover-card.highlighted {
        border: 2px solid var(--app-primary); /* Highlight border */
        transform: scale(1.05); /* Slightly enlarge the card */
    }

    .hover-card:not(.highlighted):hover {
        transform: scale(1.03); /* Slightly enlarge the card */
    }  

.error {
    color: red
}

.bg-color-primary {
    background-color: var(--app-primary);
}

.dashboard-button {
    height: 300px;
}

.dashboard-button i {
    font-size: 64px;
}

.builder-container {
    border: 3px solid var(--app-primary);
    border-radius: 20px;
    height: 80vh;
}

.builder-left-panel {
    border-right: 3px solid var(--app-primary);
}

.section-card {
    cursor: grabbing;
}

.drag-hover-over{
    border : 2px solid black;
}

.cursor-pointer {
    cursor: pointer !important;
}

.hover-danger:hover {
    color: rgb(var(--app-danger-rgb)) !important
}


#preview-container {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    scroll-margin: 1rem;
    border: 0;
    border-radius: 0.25rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(93, 62, 81, 0.08);
    scrollbar-gutter: stable;
}

hr {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style-type: none;
}

.ball {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.site-footer {
    border-top: 1px solid #d1c3c9;
    background: #f5f3f1;
    color: #4e4449;
    padding: 4rem 1.25rem;
    text-align: center;
}

.site-footer__inner {
    display: flex;
    max-width: 1140px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.site-footer__logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.site-footer__link {
    color: #4e4449;
    font-size: 1.125rem;
    transition: color 180ms ease;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: #44283a;
}

.site-footer__credit {
    margin: 0;
    color: #72575f;
    font-size: 1.125rem;
}

.site-footer__moo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #44283a;
    font-weight: 600;
}

.site-footer__moo:hover,
.site-footer__moo:focus {
    color: #72575f;
}

.site-footer__moo-logo {
    height: 1.15em;
    width: auto;
}

.site-footer__support {
    max-width: 42rem;
    margin: 0;
    color: #4e4449;
    font-size: 1rem;
}

.issue-reporter {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
}

.issue-reporter__button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid #5d3e51;
    border-radius: 999px;
    background: #5d3e51;
    color: #fff;
    padding: 0.8rem 1rem;
    box-shadow: 0 18px 42px rgba(44, 19, 36, 0.22);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.issue-reporter__button:hover,
.issue-reporter__button:focus {
    border-color: #72575f;
    background: #72575f;
    color: #fff;
    transform: translateY(-1px);
}

.issue-reporter__toast {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: min(18rem, calc(100vw - 2rem));
    border: 1px solid #bdcab9;
    background: #d9e6d5;
    color: #293428;
    padding: 0.85rem 1rem;
    box-shadow: 0 18px 42px rgba(44, 19, 36, 0.16);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-transform: uppercase;
}

.issue-reporter__modal {
    border: 1px solid #d1c3c9;
    border-radius: 0.25rem;
    background: #fbf9f7;
    color: #44283a;
}

.issue-reporter__panel-header,
.issue-reporter__panel-footer {
    border-color: rgba(209, 195, 201, 0.7);
    padding: 1.35rem;
}

.issue-reporter__panel-header,
.issue-reporter__panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.issue-reporter__panel-body {
    padding: 1.35rem;
}

.issue-reporter__eyebrow,
.issue-reporter__label {
    margin: 0 0 0.45rem;
    color: #72575f;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.issue-reporter__title {
    margin: 0;
    color: #44283a;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
}

.issue-reporter__close {
    border: 0;
    background: transparent;
    color: #72575f;
    font-size: 2rem;
    line-height: 1;
    transition: color 180ms ease;
}

.issue-reporter__close:hover,
.issue-reporter__close:focus {
    color: #44283a;
}

.issue-reporter__input,
.issue-reporter__textarea {
    width: 100%;
    border: 1px solid rgba(209, 195, 201, 0.85);
    border-radius: 0.2rem;
    background: #fff;
    color: #1b1c1b;
    padding: 0.85rem 0.95rem;
}

.issue-reporter__input:focus,
.issue-reporter__textarea:focus {
    border-color: #5d3e51;
    box-shadow: 0 0 0 0.2rem rgba(229, 187, 210, 0.35);
    outline: none;
}

.issue-reporter__message {
    margin-bottom: 1rem;
    border: 1px solid #d1c3c9;
    background: #fff;
    color: #44283a;
    padding: 0.85rem 0.95rem;
}

.issue-reporter__message.is-error {
    border-color: #ba1a1a;
    color: #ba1a1a;
}

.issue-reporter__primary,
.issue-reporter__secondary {
    min-height: 2.75rem;
    border-radius: 0.2rem;
    padding: 0.65rem 1.1rem;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.issue-reporter__primary {
    border: 1px solid #5d3e51;
    background: #5d3e51;
    color: #fff;
}

.issue-reporter__secondary {
    border: 1px solid #d1c3c9;
    background: transparent;
    color: #4e4449;
}

@media (max-width: 640px) {
    .issue-reporter {
        right: 0.9rem;
        bottom: 0.9rem;
    }

    .issue-reporter__button span {
        display: none;
    }

    .editor-action-bar > div {
        justify-content: flex-start;
        gap: 0.75rem;
        padding-right: 5.35rem;
    }

    .editor-action-bar a,
    .editor-action-bar button {
        min-width: 0;
        flex: 1 1 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        letter-spacing: 0.12em;
        text-align: center;
    }
}
