/* Rich text editor + rendered proposal terms styling */

/* ---- Editor (admin, light background) ---- */
.rich-text-editor .ql-container {
    min-height: 220px;
    font-size: 0.95rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    background-color: #fff;
}

.rich-text-editor .ql-toolbar {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    background-color: #f9fafb;
}

.rich-text-editor .ql-editor {
    min-height: 220px;
}

/* ---- Rendered terms (client sign-off, dark background) ---- */
.proposal-terms {
    color: #cbd5e1; /* slate-300 */
    line-height: 1.7;
    font-size: 0.95rem;
}

.proposal-terms > :first-child {
    margin-top: 0;
}

.proposal-terms > :last-child {
    margin-bottom: 0;
}

.proposal-terms p {
    margin: 0 0 1rem 0;
}

.proposal-terms h2,
.proposal-terms h3 {
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.5rem 0 0.75rem 0;
}

.proposal-terms h2 {
    font-size: 1.15rem;
}

.proposal-terms h3 {
    font-size: 1.05rem;
}

.proposal-terms ul,
.proposal-terms ol {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.proposal-terms ul {
    list-style: disc;
}

.proposal-terms ol {
    list-style: decimal;
}

.proposal-terms li {
    margin-bottom: 0.4rem;
}

.proposal-terms a {
    color: #818cf8; /* indigo-400 */
    text-decoration: underline;
}

.proposal-terms a:hover {
    color: #a5b4fc; /* indigo-300 */
}

.proposal-terms strong {
    color: #e2e8f0; /* slate-200 */
    font-weight: 600;
}

.proposal-terms blockquote {
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    padding-left: 1rem;
    margin: 0 0 1rem 0;
    color: #94a3b8; /* slate-400 */
}
