/*******************************************************
 * Global Container Styling (Applies to Both Forms)
 *******************************************************/
.certificate-search-container,
.atp-search-container {
    max-width: 600px;
    margin: 30px auto;
    border: 1px solid #ddd;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/*******************************************************
 * Shared Form Layout
 *******************************************************/
.certificate-search-form {
    display: flex;
    flex-direction: column;
}

.certificate-search-form h2 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.certificate-search-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.certificate-search-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 14px;
}

.certificate-search-form button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.certificate-search-form button:hover {
    background-color: #0056b3;
}

/*******************************************************
 * Results Container (Both Certificate & ATP)
 *******************************************************/
.certificate-result {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    display: none; /* Initially hidden */
}

/*******************************************************
 * Detailed Results: Standard Certificate & ATP
 *******************************************************/
/* Headings for the detail sections */
.certificate-details h3,
.atp-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

/* Lists for itemized details */
.certificate-details ul,
.atp-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certificate-details li,
.atp-details li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.certificate-details li:last-child,
.atp-details li:last-child {
    border-bottom: none;
}
