
.workflow-header {
    background-color: var(--cardoo-black);
    border-radius: 8px;
    margin-bottom: 16px;
}

.document-item {
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.document-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.document-item.active {
    border-left-color: var(--cardoo-green);
    background-color: rgba(76, 169, 71, 0.1);
}

.document-item .warning-icon {
    color: var(--cardoo-orange);
}

.document-item .verified-icon {
    color: var(--cardoo-green);
}

.document-preview {
    background-color: #f8f9fa;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.document-preview-pdf-container {
    overflow: auto;
    max-height: calc(80vh - 180px);
}

.document-preview-container-full {
    width: calc(100% - 95px);
}

.document-preview canvas {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.wizard-steps-container {
    position: relative;
    padding: 0;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0;
}

.wizard-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.wizard-step {
    position: relative;
    z-index: 2;
    width: 33%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: white;
    border: 1px solid #e9ecef;
}

.wizard-step.active .step-icon {
    background-color: var(--cardoo-green);
    border-color: var(--cardoo-green);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(76, 169, 71, 0.3);
}

.wizard-step.active .step-label {
    color: var(--cardoo-black);
    font-weight: bold;
    background-color: #e0f3e0;
    border-color: var(--cardoo-green);
}

.wizard-step.completed .step-icon {
    background-color: var(--cardoo-green);
    border-color: var(--cardoo-green);
    color: #fff;
}

.wizard-step.completed .step-icon::after {
    content: "✓";
}

.wizard-step.completed .step-label {
    color: var(--cardoo-black);
    background-color: #f0f9f0;
    border-color: #d1e7dd;
}

.compact-workflow-header {
    margin-bottom: 10px;
}

.process-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255,255,255,0.8);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.action-buttons {
    margin-top: 16px;
}

.content-wrapper {
    height: calc(100vh - 270px);
    max-height: calc(100vh - 270px);
    overflow: hidden;
}

.card-vh {
    height: calc(100vh - 280px);
    display: flex;
    flex-direction: column;
}

.card-vh .card-body {
    flex: 1;
    overflow: auto;
}

.document-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.document-item.active {
    border-left: 4px solid var(--cardoo-green);
    background-color: rgba(76, 169, 71, 0.1);
}

.delete-document-btn:hover {
    color: #dc3545 !important;
}

@media (max-width: 768px) {
    .documents-list-compact {
        width: 95px;
    }

    .documents-list-compact .document-type-header small {
        display: none;
    }

    .documents-list-compact .document-item small {
        display: none;
    }

    .documents-list-compact .document-item-placeholder small {
        display: none;
    }

    .documents-list-compact .document-item::before {
        content: counter(doc-counter);
        counter-increment: doc-counter;
        float: left;
    }

    .documents-list-compact .document-group {
        counter-reset: doc-counter;
    }


    table.dataTable td.details-control-md {
        padding: 5px 0 0 10px;
    }

    table.dataTable td.details-control-md:before {
        content: '\f0fe';
        font-family: FontAwesome, serif;
        cursor: pointer;
        font-size: 22px;
        color: var(--cardoo-light-gray);
    }

    table.dataTable tr.dt-hasChild td.details-control-md:before {
        content: '\f146';
        color: var(--bs-secondary);
    }

    .documents-list-container {
        margin-bottom: 10px;
    }

    .document-preview {
        height: calc(70vh - 200px);
    }

    .action-buttons .card {
        padding-bottom: 16px;
    }

    .content-wrapper {
        margin-bottom: 10px;
        margin-top: 10px;
        height: auto;
        max-height: 100%;
    }
}