/* Conteneurs principaux */
.ykbs-download-container,
.ykbs-verify-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ykbs-header {
    margin-bottom: 2rem;
    text-align: center;
}

.ykbs-header h2 {
    color: #001F3F;
    margin-bottom: 0.5rem;
}

.ykbs-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Alertes */
.ykbs-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.ykbs-alert.ykbs-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* Formulaires */
.ykbs-form {
    margin-top: 30px;
}

.ykbs-form-group {
    margin-bottom: 1.5rem;
}

.ykbs-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #001F3F;
}

.ykbs-form-group input[type="text"],
.ykbs-form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.ykbs-help-text {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Boutons */
.ykbs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ykbs-button-primary {
    background-color: #001F3F;
    color: white;
}

.ykbs-button-primary:hover {
    background-color: #3399FF;
}

.ykbs-button-download {
    background-color: #2e7d32;
    color: white;
}

.ykbs-button-download:hover {
    background-color: #4caf50;
}

/* Liste des certificats */
.ykbs-certificats-list {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.ykbs-certificats-list h3 {
    color: #001F3F;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ykbs-certificats-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ykbs-certificats-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f9f9f9;
    border-left: 3px solid #3399FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.ykbs-certificat-info {
    display: flex;
    flex-direction: column;
}

.ykbs-formation {
    font-weight: 600;
    color: #001F3F;
    margin-bottom: 5px;
}

.ykbs-date {
    color: #666;
    font-size: 14px;
}

/* Résultats de vérification */
.ykbs-verification-result {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.ykbs-certificat-valid h3,
.ykbs-certificat-invalid h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.ykbs-certificat-valid {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 4px;
}

.ykbs-certificat-invalid {
    background-color: #ffebee;
    padding: 20px;
    border-radius: 4px;
}

.ykbs-certificat-details {
    margin: 20px 0;
}

.ykbs-detail-row {
    display: flex;
    margin-bottom: 10px;
}

.ykbs-detail-label {
    font-weight: 600;
    width: 150px;
    color: #001F3F;
}

.ykbs-detail-value {
    flex: 1;
}

.ykbs-certificat-actions {
    margin-top: 20px;
}

/* Icônes */
.dashicons {
    vertical-align: middle;
}

.ykbs-success-message {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.ykbs-success-message h3 {
    color: #2e7d32;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ykbs-success-message p {
    margin-bottom: 0;
    color: #1b5e20;
}