/* General Admin Styling */
.post-type-student_certificate .wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* Student Details List Page */
.post-type-student_certificate .wp-list-table {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-top: 20px;
}
.post-type-student_certificate .wp-list-table th {
    background: #f1f6ff;
    color: #0073aa;
    font-weight: 600;
    padding: 12px;
    text-align: left;
}
.post-type-student_certificate .wp-list-table td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e5;
}
.post-type-student_certificate .wp-list-table tr:hover {
    background: #f9f9f9;
}

/* Add/Edit Student Page */
.post-type-student_certificate .cvs-student-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-collapse: collapse;
}
.post-type-student_certificate .cvs-student-table th {
    width: 200px;
    padding: 15px;
    background: #f1f6ff;
    color: #0073aa;
    font-weight: 600;
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e5;
}
.post-type-student_certificate .cvs-student-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.cvs-input, .cvs-select, .cvs-date-picker {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
.cvs-input:focus, .cvs-select:focus, .cvs-date-picker:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
    outline: none;
}
.cvs-date-picker {
    max-width: 200px;
}

/* Bulk Upload Page */
.cvs-bulk-upload-wrap {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 600px;
}
.cvs-bulk-title {
    color: #0073aa;
    font-size: 28px;
    margin-bottom: 10px;
}
.cvs-bulk-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
.cvs-sample-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.cvs-sample-link {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}
.cvs-sample-link:hover {
    background: #218838;
}
.cvs-file-input {
    padding: 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background: #fff;
}
.cvs-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cvs-submit-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}
.cvs-error-notice, .cvs-success-notice {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cvs-error-notice {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
}
.cvs-success-notice {
    background: #d4edda;
    border-left: 5px solid #28a745;
}

/* Settings Page */
.cvs-settings-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}
.cvs-settings-wrap h2 {
    color: #0073aa;
    font-size: 20px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cvs-bulk-upload-wrap {
        padding: 20px;
        margin: 10px;
    }
    .cvs-student-table th {
        width: 100%;
        display: block;
        padding: 10px;
    }
    .cvs-student-table td {
        display: block;
        padding: 10px;
    }
    .cvs-input, .cvs-select, .cvs-date-picker {
        max-width: 100%;
    }
    .cvs-sample-container {
        flex-direction: column;
    }
}