body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.consent-container {
    display: flex;
    flex-direction: row;
    width: 80%;
    max-width: 800px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.consent-part {
    flex: 1;
    padding: 30px;
    border-right: 1px solid #ddd;
}

.consent-part:last-child {
    border-right: none;
}

.consent-part h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.consent-part p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.clickable-div {
    display: inline-block;
    background-color: #68b5ac;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 30px;
    text-align: center;
}

.clickable-div:hover {
    background-color: #0A705D;
}

.chat-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 80vh;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.chat-header {
    background-color: #075E54;
    color: white;
    padding: 10px;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.chat-header h1 {
    margin: 0;
    font-size: 18px;
}

.chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    position: relative;
}

.message {
    padding: 8px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    max-width: 80%;
    opacity: 0;
    animation: messageFadeIn 0.5s forwards;
}

.message.user {
    background-color: #DCF8C6;
    align-self: flex-end;
}

.message.bot {
    background-color: #ECE5DD;
    align-self: flex-start;
}

.message.system {
    background-color: #FF6347;
    color: white;
    align-self: center;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.chat-input input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.chat-input button {
    padding: 10px 20px;
    background-color: #075E54;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-input button:hover {
    background-color: #0A705D;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    align-self: flex-start;
    margin-bottom: 10px;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes messageFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .chat-container {
        max-height: 100%;
    }
    .consent-container {
        flex-direction: column;
    }
    .consent-part {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .consent-part:last-child {
        border-bottom: none;
    }
}
.acknowledged{
    background-color:#075E54;
}

.consent-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 90vh;
    height: 80vh;
    max-height: 80vh;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow-y: auto; /* Allow scrolling */
    animation: slideIn 0.5s ease-out;
}

.chat-container{
    height: 100vh;
}