/* SessionSubmissionDEMO form/content presentation baseline */

.content {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.5;
    color: #2c2f35;
}

#bottom {
    background-color: #ffffff;
    padding: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    overflow: auto;
    border: 1px solid #d8dee8;
    border-radius: 4px;
}

#bottom p {
    margin: 0 0 0.95rem;
}

#bottom h2 {
    margin: 0 0 1rem;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.2;
    color: #263956;
}

#bottom h3 {
    margin: 0 0 0.7rem;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-weight: 400;
    font-size: 1.55rem;
    color: #263956;
}

#bottom hr {
    border: 0;
    border-top: 1px solid #d7dce6;
    margin: 1.2rem 0;
}

#bottom table {
    border-collapse: collapse;
    max-width: 100%;
}

#bottom td {
    vertical-align: top;
    padding: 6px 8px 6px 0;
    line-height: 1.4;
}

#bottom ol,
#bottom ul {
    margin: 0.35rem 0 1rem 1.3rem;
    padding: 0;
}

#bottom li {
    margin-bottom: 0.4rem;
}

#bottom form {
    margin: 0 0 1rem;
}

/* Vertical rhythm between flexboxgrid field rows in remarked forms. */
#bottom form .row {
    margin-bottom: 0.9rem;
}

#bottom select {
    min-height: 2.1rem;
}

#bottom textarea {
    width: min(100%, 720px);
    min-height: 180px;
    resize: vertical;
}

a.button,
a.button:visited,
input.button,
input.submit,
input.fileinput.button {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    background: #86d5f7;
    border: 1px solid #66bfdc;
    border-radius: 3px;
    color: #002661;
    padding: 12px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    min-width: 190px;
    cursor: pointer;
    -webkit-appearance: none;
}

a.button:hover,
a.button:active,
input.button:hover,
input.submit:hover,
input.fileinput.button:hover {
    background-color: #9bdef8;
    color: #002661;
    text-decoration: none;
}

input.button:disabled,
input.submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.optional {
    color: #4a5568;
    font-weight: 400;
}

.instructions-box {
    background-color: #efefef;
    border: 1px solid #cccccc;
    margin-bottom: 1rem;
}

.instructions-box td {
    padding: 12px 14px;
}

.table-header {
    background-color: #38597d;
}

.table-header td {
    padding: 8px 10px;
}

.table-header-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

.table-row-alt {
    background-color: #f2f4f8;
}

.role-label {
    color: #0f6f86;
    font-weight: 600;
}

.button-padded {
    padding: 10px 14px;
}

.button-padded-sm {
    padding: 8px 12px;
}

.text-error {
    color: #9c1d1d;
    font-weight: 600;
}

/* Error page */
.error-body {
    font-family: Arial, sans-serif;
    margin: 40px;
    background: #f5f5f5;
}

.error-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.error-container h1 {
    color: #c0392b;
}

.error-container p {
    color: #333;
    line-height: 1.6;
}

.error-detail {
    background: #fdf2f2;
    padding: 15px;
    border-left: 4px solid #c0392b;
    margin: 15px 0;
    font-size: 0.9em;
}

.error-container a {
    color: #2980b9;
}

@media only screen and (max-width: 767px) {
    #bottom {
        padding: 16px;
    }

    #bottom td {
        display: block;
        width: 100%;
        padding-right: 0;
    }

    #bottom input[type="text"],
    #bottom input[type="password"],
    #bottom input[type="email"],
    #bottom input[type="number"],
    #bottom select,
    #bottom textarea {
        width: 100%;
    }

    a.button,
    a.button:visited,
    input.button,
    input.submit,
    input.fileinput.button {
        width: 100%;
        min-width: 0;
        margin-bottom: 8px;
    }
}

/* ============================================================
   Soft Glow validation -- installed 2026-05-20
   See ~/.claude/skills/soft-glow/REFERENCE.md for design rationale.
   Accent is meeting-themed: the --sg-accent custom property is set
   in templates/apphead.cfm from tblMeetings.MeetingColor, and falls
   back to #4d9faa when the meeting has no color set.
   ============================================================ */

form input,
form select,
form textarea,
form button {
    font-family: inherit;
}

form label.question,
form .required-label,
form .required,
form .Required,
form .RequiredField {
    font-weight: bold;
    color: inherit;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"],
form input[type="number"],
form input[type="password"],
form input[type="search"],
form input:not([type]),
form select,
form textarea {
    padding: 9px 11px;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    color: #1c2026;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="url"]:focus,
form input[type="number"]:focus,
form input[type="password"]:focus,
form input[type="search"]:focus,
form input:not([type]):focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--sg-accent, #4d9faa);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sg-accent, #4d9faa) 18%, transparent);
}

/* Error state must beat the :focus rule above. `.has-error input:focus`
   has specificity (0,0,2,2), which outranks `input[type="text"]:focus`
   at (0,0,2,1) -- so a focused invalid field paints rose, not the accent. */
form .has-error input,
form .has-error input:focus,
form .has-error select,
form .has-error select:focus,
form .has-error textarea,
form .has-error textarea:focus {
    border-color: #b24a56;
    box-shadow: 0 0 0 3px rgba(178, 74, 86, 0.14);
}

form .required-note { display: none; }

form .field-error {
    display: block;
    margin: 4px 0 0;
    color: #b24a56;
    font-size: 12px;
    font-style: italic;
    line-height: 1.3;
}

/* Optional: section heading used to split long single-column forms
   into scannable groups. Harmless if unused. */
form .reg-section {
    font-size: 13px;
    font-weight: 600;
    color: var(--sg-accent, #4d9faa);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 28px 0 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}
form .reg-section:first-of-type { margin-top: 8px; }
