/* Project — kanban Odoo (Proyectos) */
.prj-odo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 40vh;
}

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

.prj-odo-new {
    position: relative;
}

.prj-odo-new__btn {
    background: var(--sfe-primary, #007BFF) !important;
    border-color: var(--sfe-primary, #007BFF) !important;
    min-height: 32px;
    padding: 0 14px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.prj-odo-new__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 40;
    min-width: 220px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 4px 0;
}

.prj-odo-new__item {
    display: block;
    padding: 8px 14px;
    color: #1e2b3c;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}

.prj-odo-new__item:hover {
    background: #f4f3f5;
}

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

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

.prj-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;
}

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

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

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

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

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

.prj-odo-card {
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 14px 14px 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.prj-odo-card__head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.prj-odo-star-form {
    margin: 0;
    display: inline;
}

.prj-odo-star {
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.prj-odo-star.is-on {
    color: #f0ad4e;
}

.prj-odo-card__title {
    flex: 1;
    font-weight: 650;
    color: #1e2b3c;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.3;
}

.prj-odo-card__title:hover {
    color: var(--sfe-primary, #007BFF);
}

.prj-odo-card__gear {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.95rem;
}

.prj-odo-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.prj-odo-card__tasks {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 0.8125rem;
}

.prj-odo-card__clock {
    font-size: 0.75rem;
}

.prj-odo-card__right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prj-odo-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sfe-primary, #007BFF);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prj-odo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.22);
}

.prj-odo-empty {
    padding: 48px 16px;
    text-align: center;
    color: #495057;
}

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

.prj-odo-report {
    max-width: 720px;
}

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

.prj-odo-report .field-hint {
    margin-bottom: 16px;
}
