/* Admin dashboard styles */
.certificate-verification {
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-verification h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.certificate-verification .nav-tab-wrapper {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.certificate-verification .nav-tab {
    padding: 10px 20px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-right: 5px;
    text-decoration: none;
    color: #555;
    border-radius: 4px 4px 0 0;
}

.certificate-verification .nav-tab-active {
    background: #fff;
    border-bottom: 1px solid #fff;
    color: #000;
    margin-bottom: -1px;
}

/* Settings page tabs */
.acceve-settings-page .acceve-settings-tab-panel {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-top: none;
    padding: 16px 20px 8px;
    margin: 0 0 20px;
    max-width: 920px;
}

.acceve-settings-page .acceve-settings-tab-panel[hidden],
.acceve-settings-page .acceve-settings-tab-panel:not(.is-active) {
    display: none;
}

.acceve-settings-page .acceve-settings-tab-panel.is-active {
    display: block;
}

.acceve-settings-page .acceve-settings-tabs-nav .nav-tab {
    cursor: pointer;
}

.acceve-settings-page .acceve-settings-tabs-nav .nav-tab:focus {
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

/* Form styles */
.certificate-form {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.certificate-form .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
}

.certificate-form .form-table td {
    padding: 15px 10px;
}

.certificate-form input[type="text"],
.certificate-form input[type="date"],
.certificate-form select,
.certificate-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.certificate-form input[type="submit"] {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.certificate-form input[type="submit"]:hover {
    background: #2980b9;
}

/* Table styles */
.certificate-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.certificate-list-table th,
.certificate-list-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.certificate-list-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.certificate-list-table tr:hover {
    background: #f9f9f9;
}

.certificate-list-table .row-actions {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.certificate-list-table .row-actions a {
    margin-right: 10px;
    text-decoration: none;
}

.certificate-list-table .row-actions a:hover {
    color: #3498db;
}

/* Status indicators */
.certificate-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.certificate-status.active {
    background: #d4edda;
    color: #155724;
}

.certificate-status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.certificate-status.expired {
    background: #fff3cd;
    color: #856404;
}

/* Import section */
.csv-import-section {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.csv-import-section h2 {
    margin-top: 0;
}

.csv-import-section p.description {
    color: #666;
    margin-bottom: 20px;
}

.csv-import-section .download-sample {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.csv-import-section .download-sample:hover {
    background: #e9e9e9;
}

/* Responsive styles */
@media (max-width: 782px) {
    .certificate-form .form-table th {
        width: auto;
        display: block;
        padding: 10px 0 5px 0;
    }

    .certificate-form .form-table td {
        display: block;
        padding: 5px 0 15px 0;
    }

    .certificate-list-table {
        display: block;
        overflow-x: auto;
    }
}


.certificate-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin-top: 0;
    font-size: 16px;
    color: #555;
}

.stat-card p {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 0;
    color: #2c3e50;
}

@media (max-width: 782px) {
    .certificate-stats {
        flex-direction: column;
    }
}