
/** ALL THE TEXT SYLING **/

.hero {
    padding: 0.5rem 0 0.25rem;
    max-width: 760px;
}

.hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-teal);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}

.hero, .text p {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin: 0;
    max-width: none;
}
.text {
    padding: 0.5rem 0 1rem;
    color: var(--c-text);
    line-height: 1.6;
}

/* Main heading */
.text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-teal);
    margin: 0 0 0.8rem;
    letter-spacing: -0.01em;
}

/* Section headings */
.text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-teal);
    margin: 2rem 0 0.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--c-border);
}

/* Subsection headings */
.text h3 {
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--c-teal);
    margin: 1.4rem 0 0.4rem;
}

/* Smaller headings */
.text h4 {
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--c-text);
    margin: 1rem 0 0.35rem;
}

/* Paragraphs */
.text p {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin: 0 0 0.8rem;
    max-width: none;
}


/* Lists */
.text ul,
.text ol {
    margin: 0.4rem 0 1rem;
    padding-left: 1.5rem;
    color: var(--c-text-muted);
}

.text li {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    padding-left: 0.15rem;
}

.text li::marker {
    color: var(--c-teal);
}

/* Links */
.text a {
    color: var(--c-teal);
    text-decoration: none;
    font-weight: 500;
}

.text a:hover {
    text-decoration: underline;
}

/* Inline code */
.text code {
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    background: var(--c-bg-sunken);
    color: var(--c-text);
    font-family: monospace;
    font-size: 0.88em;
}

/* Larger code blocks if you add <pre> later */
.text pre {
    margin: 0.8rem 0 1rem;
    padding: 0.8rem 1rem;
    overflow-x: auto;
    border-radius: 6px;
    background: var(--c-bg-sunken);
    border: 1px solid var(--c-border);
}

.text pre code {
    padding: 0;
    background: none;
}

/* Quotes */
.text blockquote {
    margin: 0.8rem 0 1rem;
    padding: 0.5rem 0.9rem;
    border-left: 3px solid var(--c-teal);
    color: var(--c-text-muted);
    background: var(--c-bg-sunken);
    border-radius: 0 5px 5px 0;
}

/* Horizontal separators */
.text hr {
    margin: 1.8rem 0;
    border: 0;
    border-top: 1px solid var(--c-border);
}

/* Bold text */
.text strong {
    color: var(--c-text);
    font-weight: 650;
}

/* settings in the user */
.settings-card .card-title {
    margin-top: 0;
}

.settings-card,
.user-header {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: var(--c-bg);
    margin-bottom: 1rem;
}


.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.row-label {
    flex: 0 0 9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-muted);
}

.row-value {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



/* ======= NOTICES ======= */

/* all the demo stuff*/
.demo-disabled {
    position: relative;
    opacity: 0.55;
    cursor: not-allowed;
}

.demo-disabled::after {
    content: "DEMO";
    position: absolute;
    top: 6px;
    right: 6px;

    padding: 2px 5px;
    border-radius: 4px;

    background: var(--c-red);
    color: white;

    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}
/** notices **/
.notice .disabled {
    display: none;
}
.demo-notice {
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;

    border: 1px solid var(--c-red);
    border-left: 5px solid var(--c-red);
    border-radius: 7px;

    background: rgba(138, 44, 34, 0.10);
}
.demo-warning {
    color: #5c1712 !important;
    font-weight: 600;
}
.demo-notice strong {
    display: block;
    margin-bottom: 0.3rem;

    font-size: 1rem;
    font-weight: 700;
    color: var(--c-red);
}

.demo-notice p {
    margin: 0 0 0.5rem;
    color: var(--c-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-notice-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-red);
    text-decoration: none;
}

.demo-notice-link:hover {
    text-decoration: underline;
}

/* other notices */
.notice .important{
    display: block;
    margin-bottom: 0.3rem;

    font-size: 1rem;
    font-weight: 700;
    color: var(--c-red);
}

.notice .disabled{
    display: none !important;
}