/* =====================================================
   DDP Screener Global Styles
   Scoped to .screener-container
   ===================================================== */

.screener-container {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

/* Headings */
.screener-container h1 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.screener-container h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #4338ca;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #c7d2fe;
    padding-bottom: 0.5rem;
}

.screener-container h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4f46e5;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Paragraphs and lists */
.screener-container p {
    margin-bottom: 1rem;
}

.screener-container ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.screener-container li {
    margin-bottom: 0.5rem;
}

/* Form labels */
.screener-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Inputs and textareas */
.screener-container input[type="text"],
.screener-container input[type="date"],
.screener-container input[type="number"],
.screener-container textarea,
.screener-container select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.screener-container textarea {
    resize: vertical;
}

/* Radio and checkbox groups */
.screener-container .radio-group,
.screener-container .checkbox-group {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.screener-container input[type="radio"],
.screener-container input[type="checkbox"] {
    margin-right: 0.4rem;
}

/* Observation blocks */
.screener-container .observation-section {
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Recommendation boxes */
.screener-container .recommendation-box {
    background-color: #eef2ff;
    border-left: 4px solid #4338ca;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.screener-container button,
.screener-container .btn {
    background-color: #4338ca;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
}

.screener-container button:hover,
.screener-container .btn:hover {
    background-color: #3730a3;
}

/* Secondary buttons */
.screener-container .btn-secondary {
    background-color: #6b7280;
}

.screener-container .btn-secondary:hover {
    background-color: #4b5563;
}

/* Alerts and notices */
.screener-container .text-red-600 {
    color: #b91c1c;
}

/* Print handling */
@media print {
    .print-hidden {
        display: none !important;
    }

    .screener-container {
        box-shadow: none;
    }
}
/* ============================================================
   DDPHub Screeners – Wide Layout Override
   Applies to all template based screeners
   ============================================================ */

.screener-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* On smaller screens, use full available width */
@media (max-width: 1400px) {
    .screener-container {
        max-width: 100% !important;
    }
}
