/* NAN Order Lead Reports — Frontend */

.nan-report-form-wrap {
    max-width: 720px;
    margin: 20px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
}

.nan-report-form-wrap h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.nan-report-form-wrap h3 {
    font-size: 17px;
    margin: 24px 0 12px;
    color: #0073aa;
}

.nan-report-form-wrap h4 {
    font-size: 14px;
    margin: 16px 0 8px;
    color: #666;
}

/* Tables */
.nan-report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.nan-report-table td {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    vertical-align: top;
}

.nan-report-table .nan-report-label {
    font-weight: 600;
    width: 220px;
    background: #f7f7f7;
    white-space: nowrap;
}

.nan-report-table--small td {
    padding: 4px 10px;
    font-size: 13px;
}

/* Form fields */
.nan-report-section {
    margin-bottom: 24px;
    background: #fafafa;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.nan-report-form .nan-report-field {
    margin-bottom: 16px;
}

.nan-report-form .nan-report-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.nan-report-form .nan-report-field input[type="text"],
.nan-report-form .nan-report-field input[type="date"],
.nan-report-form .nan-report-field select,
.nan-report-form .nan-report-field textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.nan-report-form .nan-report-field input:focus,
.nan-report-form .nan-report-field select:focus,
.nan-report-form .nan-report-field textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.nan-report-form .nan-report-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.nan-report-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.nan-report-submit {
    display: inline-block;
    padding: 12px 32px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.nan-report-submit:hover {
    background: #005a87;
}

.nan-report-submit--send {
    background: #28a745;
}

.nan-report-submit--send:hover {
    background: #1e7e34;
}

/* Messages */
.nan-report-success {
    padding: 14px 18px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.nan-report-error {
    padding: 14px 18px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .nan-report-form-wrap {
        padding: 0 10px;
    }

    .nan-report-table .nan-report-label {
        width: auto;
        display: block;
    }

    .nan-report-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .nan-report-table tr {
        display: block;
        margin-bottom: 8px;
    }

    .nan-report-section {
        padding: 12px;
    }

    .nan-report-submit {
        width: 100%;
        text-align: center;
    }
}
