.aeonic-chat-component * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.aeonic-chat-component {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.aeonic-chat-component #chat-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.aeonic-chat-component #chat-button {
    background: linear-gradient(145deg, #0049ff, #2563eb);
    color: white;
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1),
                inset 0 -8px 8px -8px rgba(0, 0, 0, 0.3),
                inset 0 8px 8px -8px rgba(255, 255, 255, 0.3);
}

/* Media query for medium-sized screens */
@media screen and (min-width: 768px) {
    .aeonic-chat-component #chat-button {
	width: 5rem;
	height: 5rem;
    }

    .aeonic-chat-component #chat-container {
	bottom: 2.5rem;
	right: 2.5rem;
    }
}

/* Media query for larger screens */
@media screen and (min-width: 1024px) {
    .aeonic-chat-component #chat-button {
	width: 5.5rem;
	height: 5.5rem;
    }

    .aeonic-chat-component #chat-container {
	bottom: 3rem;
	right: 3rem;
    }
}


.aeonic-chat-component #chat-button:hover {
    transform: scale(1.1);
}

.aeonic-chat-component #chat-button svg {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.aeonic-chat-component #notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aeonic-chat-component #chat-popup {
    display: none;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    width: 26rem;
    max-width: calc(100vw - 2rem);
    position: absolute;
    bottom: 0;
    right: 0;
}

.aeonic-chat-component .chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.aeonic-chat-component .chat-header-left {
    display: flex;
    align-items: center;
}

.aeonic-chat-component .chat-header-logo {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
}

.aeonic-chat-component .chat-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ff9900;
}

.aeonic-chat-component #close-chat {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
}

.aeonic-chat-component #close-chat:hover {
    color: #4b5563;
}

.aeonic-chat-component #chat-form input,
.aeonic-chat-component #chat-form select,
.aeonic-chat-component #chat-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9fafb;
    color: #111827;
}

.aeonic-chat-component #chat-form input:focus,
.aeonic-chat-component #chat-form select:focus,
.aeonic-chat-component #chat-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.aeonic-chat-component #chat-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.aeonic-chat-component #chat-form select option[value=""][disabled] {
    display: none;
}

.aeonic-chat-component #chat-form select:invalid {
    color: #6b7280;
}

.aeonic-chat-component #chat-form input::placeholder,
.aeonic-chat-component #chat-form textarea::placeholder {
    color: #4b5563;
}

.aeonic-chat-component #chat-form button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.aeonic-chat-component #chat-form button:hover {
    background-color: #1d4ed8;
}

.aeonic-chat-component #chat-form button svg {
    margin-right: 0.5rem;
}

.aeonic-chat-component #success-message {
    display: none;
    background-color: #2563eb;
    border: 2px solid;
    padding: 1em;
    color: white;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.aeonic-chat-component #success-message strong {
    color: white;
    font-weight: 600;
}

/* .aeonic-chat-component #success-message { */
/*     display: none; */
/*     background-color: #dcfce7; */
/*     border: 1px solid #4ade80; */
/*     color: #15803d; */
/*     padding: 0.75rem 1rem; */
/*     border-radius: 0.375rem; */
/*     margin-top: 1rem; */
/* } */

/* .aeonic-chat-component #success-message strong { */
/*     font-weight: 600; */
/* } */
