/* DII Application Styles (Orchard-based) */

.dii-content {
    max-width: 960px;
    margin: 1rem auto;
    padding: 0 1rem;
    font-size: 0.9rem;
}

.dii-content p {
    margin: 0.4rem 0;
}

.dii-content h1 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.dii-form-section {
    background: #fff;
    border: 1px solid #dde0e3;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dii-form-section h3 {
    border-bottom: 3px solid var(--color-primary, #0564b8);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.dii-sidebar {
    background: #e8e6e2;
    border-left: 4px solid #8fb3a3;
    border-radius: 6px;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
}

.dii-sidebar h5 {
    margin-top: 0;
}

.dii-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.25rem;
}

.dii-form-row label {
    flex: 0 0 220px;
    font-weight: 600;
    white-space: nowrap;
}

.dii-form-row input {
    flex: 1;
    max-width: 280px;
}

.dii-required {
    color: #c00;
    font-style: italic;
    font-size: 0.85rem;
}

.dii-error {
    color: #c00;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dii-terms {
    color: #c00;
    margin: 1rem 0;
}

.dii-page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .dii-page-layout {
        grid-template-columns: 1fr;
    }
}

/* Footer (Orchard pattern) */
#copyright {
    width: 100%;
    padding: 16px 0 6px 0;
    margin: 0;
    border-bottom: 4px solid #f58555;
}

#globalbottom {
    width: 100%;
    text-align: center;
    padding: 12px 0 20px 0;
    margin: 0;
    background-color: #192934;
    color: #fff;
    font-size: 0.8125rem;
}

#globalbottom a {
    color: #fff;
    text-decoration: none;
    padding: 0 0.5rem;
}

#globalbottom a:hover {
    text-decoration: underline;
}


/* Results display — Orchard style key-value rows */
.table-standard {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.table-standard th,
.table-standard td {
    padding: 0.5rem 0.75rem;
    vertical-align: top;
    font-family: var(--orchard-font-stack-sans-serif, "Montserrat", "Open Sans", Arial, sans-serif);
    font-size: 0.95rem;
    line-height: 1.5;
    border: none;
}
.table-standard th {
    text-align: right;
    font-weight: 600;
    width: 40%;
    color: var(--color-heading, #031018);
}
.table-standard td {
    text-align: left;
    color: var(--color-body, #38424b);
}

/* Orchard card sections */
.result-card {
    background-color: #f4f6f8;
    border-top: solid 3px var(--gta-orange, #c8702a);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.result-card h4 {
    font-family: "Source Serif 4", "Source Serif Pro VF", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-heading, #031018);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dde2e7;
}
