#bonafide-wrapper {
    width: 800px;
    min-height: 1000px;
    margin: 20px auto;
    padding: 50px 60px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #333;
    position: relative;
}

#bonafide-wrapper .header-meta {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

#bonafide-wrapper .header-meta .ref {
    text-align: left;
}

#bonafide-wrapper .header-meta .date {
    text-align: right;
}

#bonafide-wrapper .title-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 25px;
}

#bonafide-wrapper .title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

#bonafide-wrapper .intro-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 30px;
}

#bonafide-wrapper .intro-text strong {
    font-weight: bold;
    color: #000;
}

#bonafide-wrapper .table-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

#bonafide-wrapper .student-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

#bonafide-wrapper .student-table th,
#bonafide-wrapper .student-table td {
    border: 1px solid #666;
    padding: 10px 15px;
    font-size: 15px;
    text-align: left;
}

#bonafide-wrapper .student-table th {
    width: 35%;
    font-weight: bold;
    color: #000;
    background-color: #f9f9f9;
}

#bonafide-wrapper .student-table td {
    width: 65%;
    color: #333;
}

#bonafide-wrapper .disclaimer {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 60px;
    text-align: justify;
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}

#bonafide-wrapper .footer-signatures {
    width: 100%;
    margin-top: 50px;
}

#bonafide-wrapper .footer-signatures td {
    text-align: center;
    vertical-align: bottom;
    padding-bottom: 10px;
    font-size: 15px;
}

#bonafide-wrapper .footer-signatures .sig-title {
    font-weight: bold;
    margin-top: 40px;
    color: #000;
}

#bonafide-wrapper .footer-signatures .sig-meta {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.no-print-container {
    text-align: center;
    margin: 20px 0;
}

.print-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.print-btn:hover {
    background-color: #218838;
}

/* Bonafide Download Form Styling */
.bonafide-download-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
}

.bonafide-download-container h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.bonafide-download-container h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007bff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.bonafide-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.bonafide-form-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .bonafide-form-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .bonafide-form-row {
        margin-bottom: 0;
    }
}

.bonafide-form-col label {
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 8px;
    display: block;
}

.bonafide-form-col label .form-required::after {
    color: #dc3545;
    margin-left: 4px;
}

.bonafide-form-col input[type="text"],
.bonafide-form-col select {
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.bonafide-form-col input[type="text"]:focus,
.bonafide-form-col select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    outline: none;
}

.bonafide-form-col .description {
    font-size: 12px;
    color: #777777;
    margin-top: 6px;
}

.bonafide-submit-row {
    text-align: center;
    margin-top: 30px;
}

.bonafide-submit-btn {
    background-color: #007bff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 35px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.bonafide-submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.bonafide-submit-btn:active {
    transform: translateY(0);
}

/* College banner styling */
.college-banner {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.college-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Page settings for A4 print size */
@page {
    size: A4;
    margin: 15mm 15mm 15mm 15mm;
}
