@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

.getgenius_chatBot * {
    box-sizing: border-box;
    font-family: "Inter", "Poppins", Arial, sans-serif;
}

.getgenius_privacy_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInPrivacy 0.4s ease-out;
}

.getgenius_privacy_overlay.hiding {
    animation: fadeOutPrivacy 0.3s ease-in forwards;
}

.getgenius_privacy_content {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform-origin: center;
    animation: scaleInPrivacy 0.4s ease-out;
}

.hiding .getgenius_privacy_content {
    animation: scaleOutPrivacy 0.3s ease-in forwards;
}

.getgenius_privacy_content h3 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
    color: #333;
}

.getgenius_privacy_content p {
    margin: 0 0 20px 0;
    line-height: 1.5;
    color: #666;
}

.getgenius_privacy_buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.getgenius_btn-accept {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.getgenius_btn-decline {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.getgenius_btn-accept:hover {
    background-color: #45a049;
}

.getgenius_btn-decline:hover {
    background-color: #da190b;
}

.getgenius_chatBot {
    border: none;
    border-radius: 18px;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 392px;
    max-width: 95vw;
    height: 520px;
    max-height: 80vh;
    background: #fff;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18), 0 1.5px 8px rgba(44, 62, 80, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    animation: fadeIn 0.4s;
    transition: box-shadow 0.2s, background 0.2s;
    overflow: hidden;
}

.getgenius_container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
}

.getgenius_header {
    background: linear-gradient(90deg, #23272f 60%, #444950 100%);
    text-align: left;
    padding: 18px 24px 14px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.getgenius_title {
    color: #fff;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    flex: 1;
}

.getgenius_btn {
    position: static;
    margin-left: 12px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    transition: color 0.2s, background 0.2s;
    z-index: 2;
    border: none;
    line-height: 1;
}

.getgenius_btn-reset {
    background: none;
    padding: 0 4px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.getgenius_btn-close {
    background: none;
    padding: 0 4px;

    font-size: 1.3rem;
}

.getgenius_btn-reset:hover {
    opacity: 1;
    color: #4caf50;
}

.getgenius_btn-close:hover {
    color: #ff3737;
}

.getgenius_chatbox {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #f8f9fa;
    padding: 20px 6px 10px 20px;
}
.getgenius_chatbox::-webkit-scrollbar {
    width: 7px;
}
.getgenius_chatbox::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 6px;
}
.getgenius_chat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.getgenius_chat-incoming .getgenius_message {
    background: #f1f3f4;
    color: #222;
    align-self: flex-start;
    border-bottom-left-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    margin-bottom: 2px;
}

.getgenius_chat-outgoing {
    align-items: flex-end;
}

.getgenius_chat-outgoing .getgenius_message {
    background: linear-gradient(90deg, #23272f 60%, #444950 100%);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 0;
    border-top-right-radius: 8px;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    margin-bottom: 2px;
}

.getgenius_message {
    padding: 11px 16px;
    border-radius: 16px;
    max-width: 80%;
    word-break: break-word;
    font-size: 1rem;
    margin: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    line-height: 1.5;
    font-family: inherit;
}

.getgenius_chatbox .chat p.error {
    background: #ff3737e8;
    color: #fff;
}

.getgenius_chat-input {
    padding: 14px 14px 14px 14px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}
.getgenius_input {
    min-height: 38px;
    max-height: 90px;
    padding: 10px 12px;
    background: #f3f3f3;
    font-size: 1rem;
    color: #222;
    font-weight: 400;
    transition: border 0.2s, box-shadow 0.2s;
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    outline: none;
    overflow-y: auto;
    box-shadow: none;
}
.getgenius_input:focus {
    border: 1.5px solid #2f8d46;
    box-shadow: 0 0 0 2px #2f8d4633;
}

.getgenius_btn-send {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #23272f 60%, #444950 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 70px;
    justify-content: center;
    display: flex;
    align-items: center;
}
.getgenius_btn-send:hover {
    background: linear-gradient(90deg, #444950 60%, #23272f 100%);
}

.lastMessage {
    margin-top: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f8d46;
    margin-left: 0;
    text-align: center;
}

.getgenius_open-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #23272f 60%, #444950 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(47, 141, 70, 0.18);
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
}

.getgenius_open-btn:hover {
    background: linear-gradient(135deg, #444950 60%, #23272f 100%);
    box-shadow: 0 4px 16px rgba(47, 141, 70, 0.22);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInPrivacy {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutPrivacy {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleInPrivacy {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOutPrivacy {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}
