@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

/* SITEWIDE OVERRIDES */

:root {
    --purple: #536DE6;
}

div.defect_container {
    border-width: 0.1px;
    border-color: lightgray;
    border-style: solid;
    border-radius: 2px;
    margin: 0 auto;
    width: 96%;
}

.rounded-pill {
    border-radius: 0.25rem !important;
}

.btn-inverse {
    background-color: transparent;
    border-color: #5654c6;
    color: #5654c6;
}


/* FORM HEADERS */
/* ------------ */

.card .card-header.with-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-between;
}

    .card .card-header.with-buttons .buttons {
    
    }

    .card .card-header.with-buttons .buttons a {
        font-size: 0.8em;
    }

/* FORM FOOTERS */
/* ------------ */

.card .card-footer {
    flex: 1;
    padding: 1em 1em;
    border-top: 1px solid #ddd;
}

    .card .card-footer .separator {
        height: 1px;
        background-color: #bbb;
        margin-top: 1em;
        margin-bottom: 1em;
    }

.card .footer-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.card > .card-footer .footer-content .left {
    display: flex;
    align-items: center;
}

    .card > .card-footer .footer-content .left button.delete-button {
        font-weight: normal;
        font-size: 0.8em;
        padding: 0.75em 1.5em;
        border: 1px solid lightgray;
        background-color: transparent;
        color: rgb(255, 110, 110);
        margin-right: 0.75em;
        border-radius: 0.25em;
    }

    .card > .card-footer .footer-content .left button.restore-button {
        font-weight: normal;
        font-size: 0.8em;
        padding: 0.75em 1.5em;
        border: 1px solid lightgray;
        background-color: transparent;
        color: green;
        margin-right: 0.75em;
        border-radius: 0.25em;
    }

.card > .card-footer .footer-content .right {
    display: flex;
    align-items: center;
}

    .card > .card-footer .footer-content .right button {
    }

        .card > .card-footer .footer-content .right button.cancel-button {
            font-weight: normal;
            font-size: 0.8em;
            padding: 0.75em 1.5em;
            border: 1px solid lightgray;
            background-color: transparent;
            color: rgb(110, 110, 255);
            margin-right: 0.75em;
            border-radius: 0.25em;
        }

        .card > .card-footer .footer-content .right button.action-button {
            border: none;
            font-size: 0.8em;
            font-weight: normal;
            padding: 0.75em 1.5em;
            background-color: rgb(110, 110, 180);
            color: white;
            border-radius: 0.25em;
            margin-right: 0.7em;
        }

        .card > .card-footer .footer-content .right button.save-button {
            border: none;
            font-size: 0.8em;
            font-weight: normal;
            padding: 0.75em 1.5em;
            background-color: rgb(110, 180, 110);
            color: white;
            border-radius: 0.25em;
        }
        
        .footer-cancel-button {
            font-weight: normal;
            font-size: 0.8em;
            padding: 0.75em 1.5em;
            border: 1px solid lightgray;
            background-color: transparent;
            color: rgb(110, 110, 255);
            margin-right: 0.75em;
            border-radius: 0.25em;
        }
        
        .footer-action-button {
            border: none;
            font-size: 0.8em;
            font-weight: normal;
            padding: 0.75em 1.5em;
            background-color: rgb(110, 110, 180);
            color: white;
            border-radius: 0.25em;
            margin-right: 0.7em;
        }
        
        .footer-save-button {
            border: none;
            font-size: 0.8em;
            font-weight: normal;
            padding: 0.75em 1.5em;
            background-color: rgb(110, 180, 110);
            color: white;
            border-radius: 0.25em;
        }
        
        .footer-delete-button {
            font-weight: normal;
            font-size: 0.8em;
            padding: 0.75em 1.5em;
            border: 1px solid lightgray;
            background-color: transparent;
            color: rgb(255, 110, 110);
            margin-right: 0.75em;
            border-radius: 0.25em;
        }