/*--------------------------------------------------------------
1. Hide page title (same as registration plugin)
--------------------------------------------------------------*/
.page-title {
    display: none !important;
}

/*--------------------------------------------------------------
2. Outer wrapper (matches .cert-registration-form)
--------------------------------------------------------------*/
#cv-validator-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

/*--------------------------------------------------------------
3. Headings
--------------------------------------------------------------*/
/* Section heading (h3) */
#cv-validator-wrapper h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

/* Report title */
#cv-validator-wrapper .headingreport {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #333;
}

/*--------------------------------------------------------------
4. Intro & Footer text
--------------------------------------------------------------*/
#cv-validator-wrapper .cv-intro,
#cv-validator-wrapper .cv-footer-text {
    margin: 1.5rem 0;
    padding: 0 1em;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/*--------------------------------------------------------------
5. Inner container (same as .inner-form)
--------------------------------------------------------------*/
#cv-validator-wrapper .inner-form {
    max-width: 600px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
6. Form elements (inputs/buttons/selects)
--------------------------------------------------------------*/
#cv-validator-wrapper .inner-form input,
#cv-validator-wrapper .inner-form button,
#cv-validator-wrapper .inner-form select {
    width: 100%;
    padding: 0.6em;
    margin-bottom: 1em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit/Reset buttons & download links inherit theme styles */
#cv-validator-wrapper .inner-form button,
#cv-validator-wrapper .inner-form input[type="submit"],
#cv-validator-wrapper .cv-btn-download {
    background: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/*--------------------------------------------------------------
7. Error messaging
--------------------------------------------------------------*/
#cv-validator-wrapper .cv-error {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

/*--------------------------------------------------------------
8. Report table
--------------------------------------------------------------*/
#cv-validator-wrapper .report-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem auto;
    text-align: left;
}

#cv-validator-wrapper .report-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

#cv-validator-wrapper .report-table td:first-child {
    font-weight: bold;
    width: 200px;
}

/* Issue date, centred to match headings */
#cv-validator-wrapper .cv-issue-date {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem;
}

/*--------------------------------------------------------------
9. Footer link styling
--------------------------------------------------------------*/
#cv-validator-wrapper .cv-footer-text a {
    color: inherit;
    text-decoration: underline;
}

/*--------------------------------------------------------------
10. Responsive tweaks
--------------------------------------------------------------*/
@media (max-width: 767px) {
    #cv-validator-wrapper .inner-form,
    #cv-validator-wrapper .cv-intro,
    #cv-validator-wrapper .cv-footer-text {
        padding: 0 0.5em;
        font-size: 0.9em;
    }
}
