/*
@media (min-width: 760px) {
    #or_connect_form .responsive_item:has(p-select-wrapper),
    #or_connect_form .responsive_item:has(p-segmented-control) {
        display: block;
        width: 100%;
        overflow: visible;
        z-index: 20;
    }

    #or_connect_form .responsive_item:has(p-select-wrapper) .pds-card,
    #or_connect_form .responsive_item:has(p-segmented-control) .pds-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible;
    }

}
*/

.pds-margin-bw-grids {
    margin-top: 24px;
}

.orconnect-button-field {
    display: flex;
    flex-direction: column;
}

.orconnect-button-field-label {
    min-height: 24px;
    margin-bottom: 4px;
}




.orconnect-photo-annotation-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 80px);
    padding: 8px 0 14px 0;
    overflow: hidden;
}

.orconnect-photo-annotation-toolbar,
.orconnect-photo-annotation-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.orconnect-photo-annotation-toolbar {
    justify-content: center;
}

.orconnect-photo-annotation-footer {
    justify-content: center;
}

.orconnect-photo-annotation-toolbar {
    padding: 0 2px;
}

.orconnect-photo-tool {
    min-width: 58px;
}

.orconnect-photo-annotation-canvas-wrap {
    flex: 1;
    min-height: 260px;
    overflow: auto;
    text-align: center;
    touch-action: none;
    padding: 2px 0 8px 0;
    max-width: 100%;
}

.orconnect-photo-annotation-canvas-wrap canvas {
    border: 1px solid #626669;
    touch-action: none;
}

.orconnect-document-crop-canvas-wrap canvas {
    cursor: move;
}

.orconnect-document-crop-help {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

.orconnect-document-crop-action {
    min-width: 150px;
}

.orconnect-photo-rotation-action {
    min-width: 106px;
}

.orconnect-photo-rotation-preview-wrap {
    flex: 1;
    min-height: 260px;
    overflow: auto;
    text-align: center;
    max-width: 100%;
}

.orconnect-photo-rotation-preview {
    max-width: 100%;
    max-height: calc(100vh - 190px);
    border: 1px solid #626669;
    object-fit: contain;
}

.orconnect-document-photo-choice {
    display: grid;
    gap: 16px;
}

.orconnect-document-photo-choice > img {
    display: block;
    width: 100%;
    max-height: 48vh;
    border: 1px solid #b0b1b2;
    background: #f2f2f2;
    object-fit: contain;
}

.orconnect-document-photo-choice__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.orconnect-document-photo-choice__actions p-button {
    width: 100%;
}

.orconnect-document-photo-editor-feedback {
    color: #c5002b;
    text-align: center;
}

.pds-card .media img.img-preview.img-preview-contain {
    object-fit: contain;
}

.workshop-status-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 12px;
    margin: 16px 0 24px;
}

.workshop-edit-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #010205;
    text-decoration: none;
}

.workshop-edit-title p-icon {
    flex: 0 0 auto;
}

.workshop-edit-title:hover,
.workshop-edit-title:focus-visible {
    color: #010205;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.workshop-edit-title:focus-visible {
    outline: 2px solid #010205;
    outline-offset: 4px;
}

.workshop-status-filter {
    display: grid;
    grid-template-rows: 40px 44px;
    height: 120px;
    padding: 12px 14px;
    border: 1px solid #b0b1b2;
    border-radius: 4px;
    box-sizing: border-box;
    color: #010205;
    text-decoration: none;
    background: #ffffff;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.workshop-status-filter:hover,
.workshop-status-filter:focus-visible {
    border-color: #010205;
    color: #010205;
}

.workshop-status-filter:focus-visible {
    outline: 2px solid #010205;
    outline-offset: 2px;
}

.workshop-status-filter--active {
    border-color: #010205;
    box-shadow: inset 0 0 0 1px #010205;
}

.workshop-status-filter--personal {
    background: #f2f2f2;
}

.workshop-status-filter__title {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    align-self: start;
    font-weight: 600;
}

.workshop-status-filter__title p-icon {
    flex: 0 0 auto;
}

.workshop-status-filter__counts {
    display: grid;
    grid-auto-rows: 20px;
    align-self: end;
    align-content: end;
    gap: 4px;
    min-height: 44px;
    margin-top: 8px;
}

.workshop-status-filter__count,
.workshop-case-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.workshop-status-filter__count > span:last-child {
    color: #626669;
    font-size: 12px;
}

.workshop-case-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border: 1px solid rgba(1, 2, 5, 0.24);
    border-radius: 50%;
    box-sizing: border-box;
    background: #b0b1b2;
}

.workshop-case-dot--client {
    background: #2f7d45;
}

.workshop-case-dot--garantie {
    background: #ffcc00;
}

.workshop-case-dot--t99 {
    background: #c5002e;
}

.workshop-header-actions {
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .orconnect-document-photo-choice__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .orconnect-photo-annotation-toolbar,
    .orconnect-photo-annotation-footer {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .orconnect-photo-annotation-footer {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .orconnect-photo-annotation-toolbar p-button,
    .orconnect-photo-annotation-footer p-button,
    .orconnect-photo-tool {
        min-width: 0;
        width: 100%;
    }

    .orconnect-photo-tool {
        min-height: 48px;
    }

    .orconnect-document-crop-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        box-sizing: border-box;
        max-width: 448px;
        margin: 0 auto;
    }

    .orconnect-document-crop-help {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 0;
        text-align: center;
    }

    .orconnect-document-crop-toolbar p-button,
    .orconnect-document-crop-action {
        min-width: 0;
        min-height: 48px;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .orconnect-photo-rotation-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        box-sizing: border-box;
        max-width: 448px;
        margin: 0 auto;
    }

    .orconnect-photo-rotation-toolbar p-button,
    .orconnect-photo-rotation-action {
        min-width: 0;
        min-height: 48px;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
    }
}
