:root {
    --background-color: linear-gradient(to bottom left, #f6c798, #ffdfda, #f7bdd8, #b5c6f2);
    --primary-color: #cf83a7;
    --primary-hover-color: #ca9bb1;
    --header-footer-color: rgba(22, 22, 22, 0.555);
    --text-color: #f1f1f1;
    --hover-shadow-color: rgba(0, 0, 0, 0.6);
    --border-color: #414141;
    --highlight-color: #888;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: var(--header-footer-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px var(--hover-shadow-color);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: var(--text-color);
    font-size: 2rem;
}

.button-style {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-style:hover {
    background-color: var(--primary-hover-color);
    transform: scale(1.02);
    box-shadow: 4px 4px 10px var(--hover-shadow-color);
}

.del-btn:hover {
    background-color: red;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.form-container {
    margin: 20px auto;
    width: 90%;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    background-color: var(--header-footer-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-in-out, box-shadow 0.3s;
}

.form-container:hover {
    transform: scale(1.01);
    box-shadow: 6px 6px 15px var(--hover-shadow-color);
}

.form-container h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-form input {
    resize: none;
    background-color: rgba(22, 22, 22, 0.623);
    color: var(--text-color);
    border: none;
    padding: 10px;
    border-radius: 5px;
}

.chat-form input::placeholder,
.chat-form textarea::placeholder {
    color: var(--highlight-color);
}

.chat-form textarea {
    resize: none;
    font-family: 'Arial', sans-serif;
    background-color: rgba(22, 22, 22, 0.623);
    color: var(--text-color);
    border: none;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    min-height: 150px;
}

.footer {
    background-color: var(--header-footer-color);
    text-align: center;
    color: var(--text-color);
    padding: 1.5rem;
    margin-top: auto;
    box-shadow: 0 -2px 5px var(--hover-shadow-color);
}

textarea::-webkit-scrollbar {
    display: none;
}

.options-form {
    text-align: center;
    color: var(--text-color);
    margin-top: 20px;
}

.options-form a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.options-form a:hover {
    text-decoration: underline;
}

.password-requirements {
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: var(--highlight-color);
    text-align: left;
}

.otp-section {
    display: flex;
}

#otpField {
    padding-left: 5px;
}

#dropdownValue {
    background-color: rgba(22, 22, 22, 0.623);
    color: var(--text-color);
    border: none;
    padding: 10px;
    border-radius: 5px;
}

#dropdownValue:focus {
    border-color: var(--text-color);
}

#dropdownValue option {
    font-size: 1rem;
}

.dropdownValueLabel {
    display: inline-block;
    vertical-align: bottom;
    text-align: left;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .chat-box .chat-info p {
        font-size: 12px;
    }

    .form-container {
        max-width: 90%;
    }

    .chat-message {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-icon {
        padding-inline-end: 0.5rem;
        font-size: 14px;
    }

    .icon-circle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .container,
    .chat-container,
    .form-container {
        width: 90%;
        padding: 0 10px;
    }

    .message-section {
        width: 85%;
        height: auto;
    }

    .button-style {
        margin-bottom: 10px;
    }

    .two-btn {
        display: flex;
        justify-content: space-between;
    }

    .two-btn button {
        padding: 15px;
        margin: 10px;
        width: 5rem;
    }

    .chat-box,
    .message-section {
        padding: 15px;
    }

    .chat-form input,
    .chat-form textarea {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.4rem;
    }

    .chat-box .chat-info p {
        font-size: 10px;
    }

    .user-icon {
        gap: 5px;
        font-size: 12px;
        background-color: inherit;
    }

    .icon-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .user-name {
        display: none;
    }

    .chat-container,
    .container {
        padding: 0 5px;
    }

    .chat-box,
    .message-section {
        padding: 10px;
        margin: 10px 0;
    }

    .chat-message {
        flex-direction: column;
        align-items: flex-start;
    }

    .message-section {
        width: 90%;
        height: auto;
    }

    .message-section h3 {
        font-size: 1rem;
    }

    .chat-form input,
    .chat-form textarea {
        font-size: 10px;
        padding: 8px;
    }

    .button-style {
        font-size: 12px;
        padding: 8px 16px;
    }

    .message-section {
        max-width: 100%;
    }
}