/* --- Overall Container Styling --- */
.participants-database {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    max-width: 900px;
    margin: 20px auto;
}

/* --- Search Bar Styling --- */
.pdb-searchform {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e4e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}

.pdb-searchform h3 {
    color: #004a99; /* Institutional Blue */
    margin-bottom: 20px;
}

.pdb-searchform input[type="text"] {
    width: 250px;
    padding: 12px;
    border: 2px solid #ccd1d6;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.pdb-searchform input[type="text"]:focus {
    border-color: #004a99;
    outline: none;
}

.pdb-searchform input[type="submit"] {
    background-color: #004a99;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pdb-searchform input[type="submit"]:hover {
    background-color: #003366;
}

/* --- Results Table Styling --- */
.participants-database.list-container table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.participants-database.list-container th {
    background-color: #004a99;
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
}

.participants-database.list-container td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.participants-database.list-container tr:last-child td {
    border-bottom: none;
}

/* --- Single Record View (Verification Certificate Look) --- */
.pdb-single-record {
    background: #fff;
    border: 2px solid #004a99;
    padding: 40px;
    border-radius: 0; /* Keeps it looking like a certificate */
    position: relative;
}

.pdb-single-record::before {
    content: "OFFICIAL VERIFICATION RECORD";
    display: block;
    text-align: center;
    font-weight: bold;
    color: #004a99;
    font-size: 1.2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #004a99;
    padding-bottom: 10px;
}

.pdb-single-record .control-group {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.pdb-single-record .control-label {
    width: 200px;
    font-weight: bold;
    color: #555;
}

.pdb-single-record .field-value {
    color: #000;
    font-weight: 600;
}