/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.data-head.data-head-visibility {
    display:none !important;
}

.media-folder_visibility {
    display:none !important;
}
.wdm-form-access-restricted {
    padding: 20px;
    margin: 20px 0;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 16px;
    line-height: 1.5;
}

/* Skills Dashboard */
.wdm-skills-dashboard {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    margin-bottom: 30px;
    padding: 0 30px;
}

/* Course Collapsible Styles */
.wdm-course-collapsible {
    margin-bottom: 20px;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.wdm-course-collapsible:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.wdm-course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    background: #f9fafb;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 60px;
}

.wdm-course-header:hover {
    background: #f3f4f6;
}

.wdm-course-header.active {
    background: #f3f4f6;
    color: #374151;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.wdm-course-title {
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    flex: 1;
    transition: color 0.3s ease;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.wdm-course-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(55, 65, 81, 0.1);
    transition: all 0.3s ease;
    margin-left: 16px;
}

.wdm-course-header.active .wdm-course-toggle {
    background: rgba(55, 65, 81, 0.15);
}

.wdm-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6b7280;
}

.wdm-course-header.active .wdm-chevron {
    transform: rotate(90deg);
    color: #374151;
}

.wdm-course-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.wdm-course-content.active {
    max-height: 500px;
}

.wdm-course-content-inner {
    padding: 24px;
    border-top: 1px solid #f1f5f9;
}

.wdm-course-description {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.wdm-course-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wdm-course-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.wdm-course-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004561 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.wdm-course-button svg {
    width: 14px;
    height: 14px;
}

/* Progress Bar */
.wdm-course-progress {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.wdm-progress-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.wdm-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.wdm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* No Courses State */
.wdm-no-courses {
    text-align: center;
    padding: 60px 40px;
    color: #64748b;
}

.wdm-no-courses svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.wdm-no-courses p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wdm-course-header {
        padding: 16px 20px;
    }
    
    .wdm-course-title {
        font-size: 16px;
    }
    
    .wdm-course-content-inner {
        padding: 20px;
    }
    
    .wdm-course-actions {
        align-items: stretch;
    }
    
    .wdm-course-button {
        justify-content: center;
        width: 100%;
    }
    
    .wdm-no-courses {
        padding: 40px 20px;
    }
}

/* Animation for smooth expansion */
@keyframes expandIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wdm-course-content.active .wdm-course-content-inner {
    animation: expandIn 0.3s ease forwards;
}

.wdm-course-skills-category-list {
    display: flex;
    flex-wrap: wrap;
}

.wdm-course-skill-item {
    width: 300px;
    display: flex;
    border: 1px solid #444;
    align-items: center;
    margin: 10px;
    font-size: 1.1em;
}

.wdm-course-skill-item-icon .dashicons::before{
    font-size: 2em;
}

.wdm-course-skill-item-name {
    padding: 10px;
}
.wdm-course-skill-item-icon span.dashicons.dashicons-awards {
    width: 60px;
    height: 40px;
    display: block;
}

.wdm-course-skill-item-icon {height: 100%;display: flex;align-items: center;border-right: 1px solid #888;}

.wdm-course-skills-category h4 {
    font-size: 1.2em;
    background: #f9fbfd;
    border-bottom: 1px solid;
    padding: 15px;
}

.wdm-course-skills-category {
    border: 1px solid rgba(0, 0, 0, 0.17);
    margin-bottom: 20px;
}

.wdm-course-skill-item.active {
    background: #f9fbfd;
}

.wdm-course-skill-item.active .wdm-course-skill-item-icon {
    background: #f9fbfd;
}

.wdm-course-skill-item.active .wdm-course-skill-item-name {
    background: #f9fbfd;
}

.wdm-course-skill-item.active-skill {
    background: #1b2240;
    color: #fff;
}
.wdm-course-skill-item {
    color: #888;
}
.wdm-course-skill-item.active-skill .wdm-course-skill-item-icon {border-right: 1px solid #888;}

.wdm-course-skills-category-list {
    margin: 0 0 1.6875rem;
}

/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .data-head.data-head-visibility {
    display:none !important;
}

.media-folder_visibility {
    display:none !important;
}
.wdm-form-access-restricted {
    padding: 20px;
    margin: 20px 0;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 16px;
    line-height: 1.5;
}

/* Skills Dashboard */
.wdm-skills-dashboard {
    background: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-block-radius);
    margin-bottom: 30px;
    padding: 0 30px;
}

/* Course Collapsible Styles */
.wdm-course-collapsible {
    margin-bottom: 20px;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.wdm-course-collapsible:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.wdm-course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    background: #f9fafb;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 60px;
}

.wdm-course-header:hover {
    background: #f3f4f6;
}

.wdm-course-header.active {
    background: #f3f4f6;
    color: #374151;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.wdm-course-title {
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    flex: 1;
    transition: color 0.3s ease;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.wdm-course-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(55, 65, 81, 0.1);
    transition: all 0.3s ease;
    margin-left: 16px;
}

.wdm-course-header.active .wdm-course-toggle {
    background: rgba(55, 65, 81, 0.15);
}

.wdm-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6b7280;
}

.wdm-course-header.active .wdm-chevron {
    transform: rotate(90deg);
    color: #374151;
}

.wdm-course-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.wdm-course-content.active {
    max-height: 500px;
}

.wdm-course-content-inner {
    padding: 24px;
    border-top: 1px solid #f1f5f9;
}

.wdm-course-description {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.wdm-course-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wdm-course-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.wdm-course-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004561 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.wdm-course-button svg {
    width: 14px;
    height: 14px;
}

/* Progress Bar */
.wdm-course-progress {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.wdm-progress-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.wdm-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.wdm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* No Courses State */
.wdm-no-courses {
    text-align: center;
    padding: 60px 40px;
    color: #64748b;
}

.wdm-no-courses svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.wdm-no-courses p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wdm-course-header {
        padding: 16px 20px;
    }
    
    .wdm-course-title {
        font-size: 16px;
    }
    
    .wdm-course-content-inner {
        padding: 20px;
    }
    
    .wdm-course-actions {
        align-items: stretch;
    }
    
    .wdm-course-button {
        justify-content: center;
        width: 100%;
    }
    
    .wdm-no-courses {
        padding: 40px 20px;
    }
}

/* Animation for smooth expansion */
@keyframes expandIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wdm-course-content.active .wdm-course-content-inner {
    animation: expandIn 0.3s ease forwards;
}

.wdm-course-skills-category-list {
    display: flex;
    flex-wrap: wrap;
}

.wdm-course-skill-item {
    width: 300px;
    display: flex;
    border: 1px solid #444;
    align-items: center;
    margin: 10px;
    font-size: 1.1em;
}

.wdm-course-skill-item-icon .dashicons::before{
    font-size: 2em;
}

.wdm-course-skill-item-name {
    padding: 10px;
}
.wdm-course-skill-item-icon span.dashicons.dashicons-awards {
    width: 60px;
    height: 40px;
    display: block;
}

.wdm-course-skill-item-icon {height: 100%;display: flex;align-items: center;border-right: 1px solid #888;}

.wdm-course-skills-category h4 {
    font-size: 1.2em;
    background: #f9fbfd;
    border-bottom: 1px solid;
    padding: 15px;
}

.wdm-course-skills-category {
    border: 1px solid rgba(0, 0, 0, 0.17);
    margin-bottom: 20px;
}

.wdm-course-skill-item.active {
    background: #f9fbfd;
}

.wdm-course-skill-item.active .wdm-course-skill-item-icon {
    background: #f9fbfd;
}

.wdm-course-skill-item.active .wdm-course-skill-item-name {
    background: #f9fbfd;
}

.wdm-course-skill-item.active-skill {
    background: #1b2240;
    color: #fff;
}
.wdm-course-skill-item {
    color: #888;
}
.wdm-course-skill-item.active-skill .wdm-course-skill-item-icon {
    border-right: 1px solid #888;
}

.wdm-course-skills-category-list {
    margin: 0 0 0.6875rem;
}

.wdm-course-skill-item-description {
    margin: 0 0 1.6875rem;
}

span.wdm-skill-description-icon {
    width: 1rem;
    display: inline-block;
    height: 1rem;
    background-color: #888;
    border-radius: 100%;
    margin-right: 8px;
}

span.skill-des-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

span.wdm-skill-description {
    display: flex;
    padding: 0 10px;
}

/* span.wdm-skill-description-text.wdm-earned {
    color: #1b2240;
} */

.skill-des-item.wdm-earned {
    color: #1b2240;
}

.skill-des-item.wdm-earned .wdm-skill-description-icon {
    background-color: #1b2240;
}