﻿

/* USER VIEWING THE BAKERS TERMS AT PRE-CHECKOUT */
/* Modal body that displays saved terms */

.terms-container {
    font-size: 14px;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    /*color: #212529;*/
}

/*.terms-section{
    padding-bottom:15px;
}*/

/* Headings */
.terms-container h1 {
    font-size: 1.35rem;
    margin: 0 0 .75rem 0;
    padding-bottom: .25rem;
    font-weight:bold;
    /*border-bottom: 1px solid #e9ecef;*/
}

.terms-container h2,
#editor .ql-editor h2 {
    font-size: 1.4rem;
    font-weight: bold;
    /*background: #f8f9fa;*/
    padding: .35rem .5rem;
    /*border-radius: 5px;*/
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

    /* Don’t put a line above the first h2 in the doc */
    .terms-container h2:first-of-type,
    #editor .ql-editor h2:first-of-type {
        border-top: 0;
        padding-top:0;
    }


.terms-container h3 {
    font-size: 1.05rem;
    margin: .85rem 0 .4rem 0;
}

.terms-container h4 {
    font-size: 1.0rem;
    margin: .75rem 0 .35rem 0;
}

.terms-container h5 {
    font-size: .95rem;
    margin: .65rem 0 .3rem 0;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.terms-container h6 {
    font-size: .9rem;
    margin: .6rem 0 .25rem 0;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .85;
}

/* Paragraphs + lists */
.terms-container p {
    margin: 0 0 .75rem 0;
}

.terms-container ul,
.terms-container ol {
    margin: 0 0 .75rem 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.terms-container li {
    margin: .25rem 0;
}

.terms-container blockquote {
    margin: .75rem 0;
    padding: .5rem .75rem;
    border-left: 3px solid #dee2e6;
    background: #f8f9fa;
}

/* Tables (if any slip in later) */
.terms-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.terms-container th,
.terms-container td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
    vertical-align: top;
}

.terms-container th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* If any links ever slip through, make them obvious */
.terms-container a {
    color: inherit;
    text-decoration: underline;
}

/* Quill alignment classes (only if you’re preserving class="ql-align-...") */
.terms-container .ql-align-center {
    text-align: center;
}

.terms-container .ql-align-right {
    text-align: right;
}

.terms-container .ql-align-justify {
    text-align: justify;
}
