/* Badge Components - Reused from workshop-attendance-tracker */

/* General Badge Styles */
.wat-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.wat-badge:hover{
    background: #DDF2FF;
}

.wat-badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wat-badge-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wat-badge-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wat-badge-gray {
    background: #e9ecef;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

/* Badges Strip Container */
.wat-badges-strip {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Achievement badges (Live Event) - Hidden */
.hta-achievement-badges-section {
    display: none !important;
}

.hta-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.hta-badge-item {
    flex: 1 1 200px;
    display: flex;
    align-items: stretch;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hta-badge-item__inner {
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: flex-start;
    gap: 20px;
    text-align: left;
}

.hta-badge-item__icon {
    max-width:100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hta-badge-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hta-badge-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hta-badge-item__value {
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.hta-badge-item__label {
    font-size: 13px;
    font-weight: 600;
    color: black;
    text-transform: uppercase;
}

.hta-badge-item:hover .hta-badge-item__inner {
    background: #DDF2FF;
    border-color: #D9D9D9;
}





@media (max-width: 768px) {
    .hta-achievement-badges-section {
        display: none;
    }
    .hta-badge-item {
        min-width: 100%;
    }
}

/* Course Builder Section */
.hta-open-course-builder-section {
  margin-top: 20px;;
    padding: 20px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
}

.hta-open-course-builder-section__title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hta-open-course-builder-section__title .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1.2;
    color: #374151;
}

.hta-open-course-builder-section__description {
    margin: 0 0 16px 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

.hta-open-course-builder-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(231, 110, 60);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.hta-open-course-builder-btn {
    background: rgb(231, 110, 60);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(231, 110, 60, 0.3);
    transform: translateY(-1px);
}

.hta-open-course-builder-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hta-open-course-builder-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

@media (max-width: 768px) {
    .hta-open-course-builder-section {
        padding: 16px;
    }
    .hta-open-course-builder-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Certificate Status Badges */
.wat-certificate-status {
    margin-top: 5px;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wat-cert-eligible {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.wat-cert-not-eligible {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wat-cert-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Status Indicators */
.wat-status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.wat-status-completed {
    background: #28a745;
}

.wat-status-partial {
    background: #ffc107;
}

.wat-status-not-completed {
    background: #dc3545;
}

/* Status Badge */
.wat-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wat-status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.wat-status-badge.partial {
    background: #fff3cd;
    color: #856404;
}

.wat-status-badge.not_completed {
    background: #f8d7da;
    color: #721c24;
}

.wat-status-badge.confirm {
    background: #ffeaa7;
    color: #d63031;
}

.wat-completion-badge {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}










