/* Supplemental styles for the Technical Solutions section.
   Layers on top of styles.css and reuses its palette (#333 / #007BFF / #f7f7f7 / #ddd)
   and existing classes (.container, .content, .provider-grid, .provider-card, .button)
   rather than redefining them. */

.tech-lede {
    font-size: 1.1rem;
    max-width: 60rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.tech-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: #007BFF;
    text-decoration: none;
}

.tech-back:hover {
    text-decoration: underline;
}

.tech-onion-note {
    background: #f7f7f7;
    border-left: 4px solid #007BFF;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 2rem;
}

.tech-onion-note p {
    margin: 0;
    line-height: 1.5;
}

.tech-onion-note code {
    word-break: break-all;
}

.tech-onion-note--emphasis {
    background: #eaf3ff;
    border-left-width: 6px;
    font-size: 1.05rem;
}

.tech-onion-note a,
.tech-onion-table a {
    color: #007BFF;
    text-decoration: none;
}

.tech-onion-note a:hover,
.tech-onion-table a:hover {
    text-decoration: underline;
}

.tech-download-box {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0 2rem;
}

.tech-download-box .warning {
    font-weight: bold;
    margin: 0 0 1rem;
    color: #333;
}

.tech-download-box .button {
    display: inline-block;
    margin-top: 0.25rem;
}

.tech-steps {
    padding-left: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.tech-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* styles.css sets ".provider-card a" to blue text (for its plain-link use case),
   which wins over ".button"'s white text and makes button labels invisible
   on the blue background. Restore white text specifically for buttons inside cards. */
.provider-card a.button {
    color: #fff !important;
    text-decoration: none !important;
}

.provider-card a.button:hover {
    color: #fff !important;
    text-decoration: none !important;
    background: #0056b3;
}

.tech-explore-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
}

.tech-onion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tech-onion-table th,
.tech-onion-table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.tech-onion-table thead th {
    background: #f2f2f2;
    font-weight: bold;
}

.tech-onion-table code {
    word-break: break-all;
    font-size: 0.9rem;
}

code {
    background: #f2f2f2;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.9em;
}

@media (max-width: 640px) {
    .tech-onion-table {
        font-size: 0.85rem;
    }
}
