/* eLearning — kanban Odoo (Todos los cursos) */
.el-odo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 48vh;
    position: relative;
}

.el-odo-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 8px;
}

.el-odo-new {
    background: var(--o-brand, #714B67) !important;
    border-color: var(--o-brand, #714B67) !important;
    min-height: 32px;
    padding: 0 14px;
    font-size: 0.875rem;
}

.el-odo-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 650;
    color: var(--sfe-navy, #1e2b3c);
}

.el-odo-search {
    flex: 1 1 220px;
    max-width: 420px;
    margin: 0 auto;
}

.el-odo-search input[type="search"] {
    width: 100%;
    min-height: 34px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0 12px 0 32px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 10px center no-repeat;
    font-size: 0.875rem;
}

.el-odo-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    color: #6c757d;
    font-size: 0.8125rem;
}

.el-odo-views {
    display: inline-flex;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
}

.el-odo-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    color: #495057;
    text-decoration: none;
    background: #fff;
}

.el-odo-view-btn.is-active {
    background: #1e2b3c;
    color: #fff;
}

.el-odo-kanban {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    align-items: start;
}

.el-odo-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    min-height: 160px;
    overflow: hidden;
}

.el-odo-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
}

.el-odo-card__ref {
    font-size: 0.75rem;
    color: #6c757d;
    letter-spacing: 0.02em;
}

.el-odo-card__cover {
    display: block;
    margin: 8px -14px 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f3f5;
}

.el-odo-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.el-odo-ribbon {
    position: absolute;
    top: 12px;
    right: -28px;
    background: #28a745;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 36px;
    transform: rotate(35deg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.el-odo-card__title {
    margin: 10px 0 14px;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.3;
}

.el-odo-card__title a {
    color: #1e2b3c;
    text-decoration: none;
}

.el-odo-card__title a:hover {
    color: var(--o-brand, #714B67);
}

.el-odo-card__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.el-odo-card__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: right;
}

.el-odo-card__stats li {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    line-height: 1.45;
}

.el-odo-card__stats strong {
    color: #1e2b3c;
    min-width: 2.5rem;
    text-align: right;
}

.el-odo-empty-wrap {
    position: relative;
    min-height: 420px;
}

.el-odo-ghosts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    opacity: 0.28;
    pointer-events: none;
    filter: grayscale(0.15);
}

.el-odo-ghost-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    min-height: 170px;
    padding: 14px;
    overflow: hidden;
}

.el-odo-ghost-ref {
    font-size: 0.75rem;
    color: #adb5bd;
}

.el-odo-ghost-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 48px;
    gap: 12px;
}

.el-odo-ghost-btn {
    display: inline-block;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    color: #6c757d;
}

.el-odo-ghost-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: #adb5bd;
    text-align: right;
    line-height: 1.45;
}

.el-odo-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 2;
}

.el-odo-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #875A7B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(135, 90, 123, 0.28);
}

.el-odo-empty h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: #1e2b3c;
}

.el-odo-empty-lead {
    margin: 0 0 4px;
    color: #495057;
}

.el-odo-empty-hint {
    margin: 0 0 16px;
    color: #6c757d;
    font-size: 0.875rem;
}

.el-odo-table {
    width: 100%;
}

.el-odo-report {
    max-width: 760px;
}

.el-odo-report h2 {
    margin: 0 0 8px;
}

.el-odo-content-actions {
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.el-odo-content-actions a {
    color: #017e84;
    text-decoration: none;
    font-weight: 500;
}

.el-odo-content-actions a:hover {
    text-decoration: underline;
}

.el-odo-content-row.is-section td:first-child {
    font-weight: 650;
}
