/* ==========================================================================
   ACADEMIA DE TREINAMENTOS DO SUPERVISOR (sup_training)
   Enterprise CRM Design System - Brasil Componentes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BOOTSTRAP 5 UTILITIES & COMPONENT ADAPTER FOR TRAINING MODULE
   Ensures 100% visual parity with preview page in any CRM environment
   -------------------------------------------------------------------------- */

/* Buttons System */
.training-module-container .btn,
.audit-modal-backdrop .btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    border: 1.5px solid transparent;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.training-module-container .btn-sm,
.audit-modal-backdrop .btn-sm,
.btn-sm {
    padding: 0.38rem 0.85rem !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    line-height: 1.35 !important;
}

.training-module-container .btn-success,
.audit-modal-backdrop .btn-success,
.btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: #047857 !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25) !important;
}
.training-module-container .btn-success:hover,
.audit-modal-backdrop .btn-success:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    border-color: #065f46 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35) !important;
}

.training-module-container .btn-outline-secondary,
.audit-modal-backdrop .btn-outline-secondary,
.btn-outline-secondary {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
.training-module-container .btn-outline-secondary:hover,
.audit-modal-backdrop .btn-outline-secondary:hover,
.btn-outline-secondary:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

.training-module-container .btn-outline-success,
.audit-modal-backdrop .btn-outline-success,
.btn-outline-success {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1.5px solid #a7f3d0 !important;
}
.training-module-container .btn-outline-success:hover,
.audit-modal-backdrop .btn-outline-success:hover,
.btn-outline-success:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25) !important;
}

.training-module-container .btn-light,
.audit-modal-backdrop .btn-light,
.btn-light {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0 !important;
}
.training-module-container .btn-light:hover,
.audit-modal-backdrop .btn-light:hover,
.btn-light:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.training-module-container .btn-close,
.audit-modal-backdrop .btn-close,
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.35em 0.35em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23334155'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 6px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.training-module-container .btn-close:hover,
.audit-modal-backdrop .btn-close:hover,
.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Grid System */
.training-module-container .row,
.audit-modal-backdrop .row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y, 0px));
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.training-module-container .row > *,
.audit-modal-backdrop .row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    margin-top: var(--bs-gutter-y, 0px);
    box-sizing: border-box;
}

.training-module-container .g-0, .audit-modal-backdrop .g-0 { --bs-gutter-x: 0px; --bs-gutter-y: 0px; }
.training-module-container .g-1, .audit-modal-backdrop .g-1 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.training-module-container .g-2, .audit-modal-backdrop .g-2 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
.training-module-container .g-3, .audit-modal-backdrop .g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.training-module-container .g-4, .audit-modal-backdrop .g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }

.training-module-container .col-12, .audit-modal-backdrop .col-12 { flex: 0 0 auto; width: 100%; }
.training-module-container .col-6,  .audit-modal-backdrop .col-6  { flex: 0 0 auto; width: 50%; }
.training-module-container .col-4,  .audit-modal-backdrop .col-4  { flex: 0 0 auto; width: 33.33333333%; }
.training-module-container .col-3,  .audit-modal-backdrop .col-3  { flex: 0 0 auto; width: 25%; }

@media (min-width: 576px) {
    .training-module-container .col-sm-6,  .audit-modal-backdrop .col-sm-6  { flex: 0 0 auto; width: 50%; }
    .training-module-container .col-sm-12, .audit-modal-backdrop .col-sm-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 768px) {
    .training-module-container .col-md-3, .audit-modal-backdrop .col-md-3 { flex: 0 0 auto; width: 25%; }
    .training-module-container .col-md-4, .audit-modal-backdrop .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
    .training-module-container .col-md-5, .audit-modal-backdrop .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
    .training-module-container .col-md-6, .audit-modal-backdrop .col-md-6 { flex: 0 0 auto; width: 50%; }
    .training-module-container .col-md-7, .audit-modal-backdrop .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
    .training-module-container .col-md-8, .audit-modal-backdrop .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 992px) {
    .training-module-container .col-lg-3, .audit-modal-backdrop .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .training-module-container .col-lg-4, .audit-modal-backdrop .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
    .training-module-container .col-lg-5, .audit-modal-backdrop .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
    .training-module-container .col-lg-6, .audit-modal-backdrop .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .training-module-container .col-lg-7, .audit-modal-backdrop .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
    .training-module-container .col-lg-8, .audit-modal-backdrop .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 1200px) {
    .training-module-container .col-xl-3, .audit-modal-backdrop .col-xl-3 { flex: 0 0 auto; width: 25%; }
    .training-module-container .col-xl-4, .audit-modal-backdrop .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
}

/* Badges */
.training-module-container .badge,
.audit-modal-backdrop .badge,
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
}
.rounded-pill { border-radius: 50rem !important; }
.bg-success-subtle { background-color: #ecfdf5 !important; }
.border-success-subtle { border-color: #a7f3d0 !important; }
.bg-primary-subtle { background-color: #eff6ff !important; }
.border-primary-subtle { border-color: #bfdbfe !important; }
.bg-warning-subtle { background-color: #fffbeb !important; }
.border-warning-subtle { border-color: #fde68a !important; }
.bg-danger-subtle { background-color: #fef2f2 !important; }
.border-danger-subtle { border-color: #fecaca !important; }
.bg-info-subtle { background-color: #f0fdfa !important; }
.border-info-subtle { border-color: #99f6e4 !important; }
.bg-white { background-color: #ffffff !important; }
.bg-light { background-color: #f8fafc !important; }

/* Progress */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #059669;
    transition: width 0.6s ease;
}
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}
@keyframes progress-bar-stripes {
    0% { background-position-x: 1rem; }
    100% { background-position-x: 0; }
}
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

/* Cards & Structural */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}
.card-header {
    padding: 1.15rem 1.5rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}
.border { border: 1px solid #e2e8f0 !important; }
.border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid #e2e8f0 !important; }
.border-top { border-top: 1px solid #e2e8f0 !important; }
.rounded-3 { border-radius: 12px !important; }
.rounded-4 { border-radius: 16px !important; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; }
.shadow-lg { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

/* Flex & Spacing Utilities */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-50 { top: 50% !important; }
.start-0 { left: 0 !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }
.text-dark { color: #0f172a !important; }
.text-muted { color: #64748b !important; }
.text-success { color: #059669 !important; }
.text-danger { color: #dc2626 !important; }
.text-primary { color: #2563eb !important; }
.text-secondary { color: #475569 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.small { font-size: 0.85rem !important; }
.text-uppercase { text-transform: uppercase !important; }
.list-unstyled { list-style: none; padding-left: 0; }

/* --------------------------------------------------------------------------
   2. ACADEMIA DE TREINAMENTOS - CORE LAYOUT
   -------------------------------------------------------------------------- */

.training-module-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.5rem 0 3.5rem 0;
    font-family: var(--font-family, inherit);
}

/* Header Box */
.training-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.training-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.training-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Progress Ribbon Card */
.training-progress-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.training-progress-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, rgba(5, 150, 105, 0) 70%);
    pointer-events: none;
}

/* Metric Stats Row */
.training-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.training-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* Search and Filter Toolbar */
.training-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.training-search-input {
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding-left: 2.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.training-search-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.training-filter-pill {
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-size: 0.825rem;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.training-filter-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.training-filter-pill.active {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

/* Video Card Grid */
.video-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.05);
    border-color: #cbd5e1;
}

/* Video Thumbnail Box */
.video-thumb-container {
    position: relative;
    width: 100%;
    height: 175px;
    background: #0f172a;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb-bg {
    transform: scale(1.04);
    opacity: 0.95;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #059669;
}

.video-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.video-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Video Card Content */
.video-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.video-card-desc {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Department Info Cards */
.dept-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    transition: all 0.2s ease;
    border-left: 4px solid #cbd5e1;
}

.dept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.dept-card.dept-logistica { border-left-color: #2563eb; }
.dept-card.dept-credito   { border-left-color: #059669; }
.dept-card.dept-garantia  { border-left-color: #d97706; }
.dept-card.dept-fiscal    { border-left-color: #7c3aed; }
.dept-card.dept-estoque   { border-left-color: #e11d48; }

.dept-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.dept-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dept-contact-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Onboarding Week Stepper */
.week-day-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.week-day-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.day-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #a7f3d0;
    flex-shrink: 0;
}

/* Checkbox item in Onboarding */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    transition: background-color 0.15s ease;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.checklist-item:hover {
    background-color: #f8fafc;
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 17px;
    height: 17px;
    accent-color: #059669;
    cursor: pointer;
}

.checklist-text {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
}

.checklist-item.completed .checklist-text {
    text-decoration: line-through;
    color: #94a3b8;
}

/* Modal Player Styling */
.modal-video-wrapper {
    position: relative;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #090d16 0%, #111827 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
}

.modal-play-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.6);
}

.modal-play-large:hover {
    transform: scale(1.1);
    background: #047857;
}

/* Toast Notification for Completed Courses */
.training-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1080;
    min-width: 300px;
}
