/* General CSS */

@media screen and(min-width:989px) {
    .translate-up-when-gt-989px {
        transform: translateY(-50px);
    }
}

.page-narration-options button.questionnaire-summary.active {
    background-color: lightskyblue;
}

.questionnaire-outer .progress-bar {
    transition: width 1s ease-out;
}

#submit[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.auto-expand {
    overflow-y: hidden;
    /* Hide vertical scrollbar. */
    resize: none;
    /* Disable textarea resizing. */
}

.disabled {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    background-color: #ccc !important;
}

.disabled:hover {
    background-color: #ccc !important;
}

#undoBtn[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}


[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    z-index: 1000;
    content: attr(data-tooltip);
    opacity: .8;
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 5px 10px;
    background: #333;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    white-space: normal;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
    overflow-wrap: break-word;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#reconciliation {
    margin: 20px;
}

#reconciliation ul {
    list-style-type: none;
    padding: 0;
}

#reconciliation li {
    padding: 5px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

#reconciliation li:hover {
    background-color: #f0f0f0;
}

#reconciliation .ai-removes-wrapper:has(#ai-removes:empty) {
    display: none;
}

#reconciliation #key-rooms li::before {
    content: "➡️";
    float: right;
    color: red;
    margin-right: 5px;
}

#reconciliation #missing-photos-list li::before {
    content: "❌";
    color: red;
    margin-right: 5px;
}