/* ------------------------------------------------
   BNIT Certificate Verification Area - New Look (Red/Black/White)
   ------------------------------------------------ */

.bnit-verification-area {
    max-width: 550px; /* Slightly narrower for a cleaner look */
    margin: 30px auto;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px; /* Small base font */
    color: #333;
}
.bnit-verification-area h2 {
    color: #cb102c; /* Primary Red */
    border-bottom: 2px solid #cb102c;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.5em;
}
.bnit-verification-area p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* --- Form Elements --- */

.bnit-verification-area label {
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.bnit-verification-area input[type="text"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.95em;
}

.bnit-verification-area input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #cb102c; /* Primary Red Button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.2s;
}
.bnit-verification-area input[type="submit"]:hover {
    background: #a80f24; /* Darker Red on hover */
}

/* --- Verification Results Styling --- */

.bnit-result-success {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #cb102c; /* Red border */
    background-color: #fcf4f5; /* Very light background accent */
    color: #000000; /* Black text */
    border-radius: 5px;
}
.bnit-result-success h3 {
    margin-top: 0;
    font-size: 1.1em;
    color: #cb102c; /* Red title */
    display: flex;
    align-items: center;
    font-weight: 700;
}
.bnit-result-success table {
    margin-top: 15px;
    border: none;
    width: 100%;
    /* Ensure table collapses nicely on mobile if needed */
    table-layout: fixed;
}
.bnit-result-success th, .bnit-result-success td {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1); /* Subtle black dash */
    text-align: left;
    font-size: 0.9em; /* Small font for details */
}
.bnit-result-success th {
    width: 40%; /* Adjusted width */
    font-weight: 600;
    color: #333;
}
.bnit-result-success strong {
    color: #cb102c;
}
.bnit-result-success tr:last-child th, .bnit-result-success tr:last-child td {
    border-bottom: none;
}

/* --- Error/Notice Styling --- */

.bnit-notice {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.95em;
}
.bnit-notice.error {
    color: #cb102c; /* Red text */
    background-color: #ffe6e9; /* Light red background */
    border: 1px solid #cb102c;
}

/* ------------------------------------------------
   Mobile Responsiveness
   ------------------------------------------------ */

@media (max-width: 550px) {
    .bnit-verification-area {
        margin: 15px; /* Reduce side margins on small screens */
        padding: 15px;
        font-size: 13px; /* Slightly smaller base font */
    }

    .bnit-verification-area h2 {
        font-size: 1.3em;
    }
    
    .bnit-result-success {
        padding: 15px;
    }

    /* Stack table cells vertically for very small devices */
    .bnit-result-success table {
        border-collapse: collapse;
        display: block; 
    }
    
    .bnit-result-success th, .bnit-result-success td {
        display: block;
        width: 100%;
        padding: 4px 0;
        border-bottom: none;
        box-sizing: border-box;
    }

    /* Re-add separation using margins/borders suitable for stacked view */
    .bnit-result-success tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .bnit-result-success tr:last-child {
        border-bottom: none;
    }

    .bnit-result-success th {
        font-weight: 700;
        color: #000;
        margin-bottom: 2px;
        border-bottom: none;
    }
    .bnit-result-success td {
         margin-bottom: 5px;
    }

}