/**
 * Certificate Search Form Styles
 */

#certificate-search-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#certificate-search-form .form-group {
    margin-bottom: 15px;
}

#certificate-search-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#certificate-search-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}


#certificate-search-loading {
    text-align: center;
    padding: 20px;
    display: none;
}

#certificate-search-message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    display: none;
}

#certificate-search-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#certificate-search-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#certificate-search-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

#certificate-search-results {
    margin-top: 30px;
}

.certificate-results-table {
    overflow-x: auto;
}

.certificate-results-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.certificate-results-table thead {
    background-color: #f8f9fa;
}

.certificate-results-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.certificate-results-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.certificate-results-table tbody tr:hover {
    background-color: #f8f9fa;
}

.certificate-results-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .certificate-results-table {
        font-size: 14px;
    }
    
    .certificate-results-table th,
    .certificate-results-table td {
        padding: 8px;
    }
}

