body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #34495e;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.box {
    width: 1000px;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Poppins;
    background: linear-gradient(45deg, #ff0000, #ff5733, #ff6348);
    text-align: center;
}

.box h1 {
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.box input[type="text"],
.box input[type="password"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #3498db;
    padding: 14px 10px;
    width: 200px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
}

.box input[type="text"]:focus,
.box input[type="password"]:focus {
    width: 280px;
    border-color: #2ecc71;
}

.box input[type="submit"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
}

.box input[type="submit"]:hover {
    background: #2ecc71;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#bio-auth-modal {
    background: linear-gradient(45deg, #ff0000, #ff5733, #ff6348);
}

#image-modal {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}

.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 9999;
    /* Set a high z-index value */
}

.chat-header {
    background: #fe3f40;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chat-content {
    padding: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.message {
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
}

.received {
    background: #f0f0f0;
}

.sent {
    background: #fe3f40;
    color: #fff;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#user-input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 70%;
}

#send-button {
    background: #fe3f40;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.chat-header {
    background: #fe3f40;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

#chatbot.small .chat-header {
    display: none;
}

#chatbot.small .chat-content {
    display: none;
}

#chatbot.small #chat-input {
    display: none;
}

#chatbot.small #close-button {
    display: none;
}

#chatbot.small .bot-name {
    display: block;
    text-align: center;
    background: #fe3f40;
    color: #fff;
    padding: 5px;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
}


/* Additional styles for the chatbot when it's expanded  */

#chatbot.expanded {
    width: 300px;
    height: auto;
}

#chat-content.expanded {
    display: block;
    max-height: 250px;
    overflow-y: auto;
}

#chat-input.expanded {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.bot-icon {
    width: 40px;
    height: 40px;
    background-color: #fe3f40;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
}


/* Bio mertric  */

.bio-auth-container {
    text-align: center;
    padding: 20px;
}

.bio-auth-image {
    width: 200px;
    /* Adjust the size as needed */
    height: auto;
    animation: pulse 2s infinite;
    /* Add a pulsating animation */
}

.bio-auth-instructions {
    font-size: 18px;
    margin-top: 10px;
}


/* Keyframe animation for pulsating effect */

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}