﻿.visit-protocol-container {
    margin: 20px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .visit-record .flex-container-checkbox div {
        width: 130px;
        white-space: nowrap;
    }

    .visit-record .flex-container-checkbox .yes-no-checkbox {
        width: auto;
    }

    .visit-record .flex-container .textfield {
        width: 100%;
        margin-right: 0;
        margin-top: 15px;
    }

.visit-record .header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .header-section input {
        width: 30%;
        padding: 8px;
        margin-right: 0;
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.visit-record {
    animation: fadeIn ease 0s;
    opacity: 0;
    animation-fill-mode: forwards; 
}

.visit-records {
    margin-top: 10px;
}

.visit-record {
    padding: 5px;
    border: 0px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
}

.entry-number-circle {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    background-color: #0097E2;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
}

.entry-id-head {
    position: absolute;
    font-size: 12px;
    color: lightgray;
    right: 10px;
    top: 10px;
}
    .entry-id-head:before{
        content: "ID: ";
    }

    .stoma-section,
    .umgebungshaut-section,
    .hautunebenheit-section {
        margin-bottom: 20px;
    }

    .header-section h4, .stoma-section h4, .umgebungshaut-section h4, .hautunebenheit-section h4 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 18px;
    }

/* Media queries for larger screens */
@media (min-width: 768px) {

    .visit-protocol-container {
        margin: 40px auto;
        max-width: 800px;
    }

        .visit-protocol-container .header-section input {
            width: calc(33% - 20px);
        }

    .stoma-protocol-list-ct {
        width: fit-content;
    }
}