﻿.portaltextbox {
    transition: all .3s ease;
    font-size: medium;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #5f6161;
    font-family: Roboto-Regular, Arial, Helvetica, sans-serif;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 5px;
}

    .portaltextbox:focus {
        background-color: #dedede !important;
    }

.portalpassword .riContentWrapper {
    width: 100% !important;
}

.mobile-sticky-footer {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    height: 70px;
    left: 0px;
    right: 0px;
}

.mobile-max-width {
    max-width: calc(100vw - 20px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.7); /* 30% grey */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9000000;
    display: none; /* Initially hidden */
}

.mobile-hourglass {
    font-size: 3em;
    color: white;
}

.captchaImage {
    margin-top: 20px;
}

.captchaTextBox {
    margin: 10px;
    border: 3px dotted yellow;
    background-color: #dedede;
    border: 3px dotted yellow;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    max-height: 400px; /* Scrollbare Höhe */
    overflow-y: auto;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.chat-message {
    display: flex;
    max-width: 90%;
}

    .chat-message.question {
        justify-content: flex-start;
        align-self: flex-start;
    }

    .chat-message.answer {
        justify-content: flex-end;
        align-self: flex-end;
    }

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.customer .chat-bubble {
    border-top-left-radius: 2px;
}

.provider .chat-bubble {
    border-top-right-radius: 2px;
}

.shadowed-popup {
    border-radius: 5px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1; /* Für Firefox: Farbe des Balkens und der Spur */
}

    .scroll-container::-webkit-scrollbar {
        width: 4px; /* In Chrome/Edge/Safari sehr schmal */
    }

    /* Webkit (Chrome, Edge, Safari) */
    .scroll-container::-webkit-scrollbar {
        width: 6px; /* Breite des Scrollbalkens */
        height: 6px;
    }

    .scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1; /* Hintergrund der Scrollleiste */
        border-radius: 3px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background: #888; /* Farbe des Scrollbalkens */
        border-radius: 3px;
    }

        .scroll-container::-webkit-scrollbar-thumb:hover {
            background: #555; /* Dunkler bei Hover */
        }
