/* Student Records 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;
}
.post-type-student_certificate .wp-list-table th {
    background: #f1f6ff;
    color: #0073aa;
    font-weight: 600;
    padding: 12px;
}
.post-type-student_certificate .wp-list-table td {
    padding: 12px;
    vertical-align: middle;
}

/* Add/Edit Student Page */
.post-type-student_certificate .scv-student-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}
.post-type-student_certificate .scv-student-table th {
    width: 200px;
    padding: 15px;
    background: #f1f6ff;
    color: #0073aa;
    font-weight: 600;
    vertical-align: middle;
}
.post-type-student_certificate .scv-student-table td {
    padding: 15px;
}
.scv-input, .scv-select {
    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;
}
.scv-input:focus, .scv-select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
    outline: none;
}

/* Customization Page */
.scv-customization-wrap {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}
.scv-custom-title {
    color: #0073aa;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.scv-custom-desc {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}
.scv-section-title {
    color: #333;
    font-size: 22px;
    margin-top: 40px;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.scv-customization-table th {
    width: 200px;
    padding: 15px;
    vertical-align: middle;
    color: #0073aa;
    font-weight: 600;
}
.scv-customization-table td {
    padding: 15px 15px 15px 30px;
}
.scv-text-custom-table {
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.scv-text-custom-table tr {
    transition: background 0.3s ease;
}
.scv-text-custom-table tr:hover {
    background: #f1f6ff;
}
.scv-number-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
}
.scv-color-input {
    width: 80px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.scv-textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
}
.scv-textarea:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}
.scv-preview-img {
    max-width: 400px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
}
.scv-checkbox {
    margin-right: 10px;
}
.scv-file-input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    margin-top: 5px;
}

/* Bulk Upload Page */
.scv-bulk-upload-wrap {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}
.scv-bulk-upload-wrap h1 {
    color: #0073aa;
    font-size: 28px;
    margin-bottom: 20px;
}
.scv-bulk-upload-wrap p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Frontend Verification Form */
.scv-verify-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.scv-verify-wrap h2 {
    color: #0073aa;
    text-align: center;
    margin-bottom: 20px;
}
.scv-verify-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.scv-result-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.scv-result-table th,
.scv-result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.scv-result-table th {
    background: #f1f6ff;
    color: #0073aa;
    font-weight: 600;
    width: 30%;
}
.scv-result-table td {
    background: #fff;
}
.scv-result-table tr:last-child th,
.scv-result-table tr:last-child td {
    border-bottom: none;
}
.scv-download-container {
    text-align: center;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.scv-download-container .scv-download-btn,
.scv-download-container .scv-view-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}
.scv-download-container .scv-download-btn {
    background: linear-gradient(135deg, #28a745, #218838) !important;
    color: #fff !important;
}
.scv-download-container .scv-download-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}
.scv-download-container .scv-view-btn {
    background: linear-gradient(135deg, #0073aa, #005a87) !important;
    color: #fff !important;
}
.scv-download-container .scv-view-btn:hover {
    background: linear-gradient(135deg, #005a87, #003d5b) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}
.scv-error {
    color: #dc3545;
    text-align: center;
    margin-top: 20px;
}

/* Common Styles */
.scv-submit-btn {
    background: linear-gradient(135deg, #0073aa, #005a87);
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.scv-submit-btn:hover {
    background: linear-gradient(135deg, #005a87, #003d5b);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.scv-error-notice, .scv-success-notice {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.scv-error-notice {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
}
.scv-success-notice {
    background: #d4edda;
    border-left: 5px solid #28a745;
}

/* Ensure select matches input width */
.post-type-student_certificate .scv-student-table select.scv-select {
    width: 100% !important;
    max-width: 400px;
}