/* Zeynep AI Bot - Medical Luxe Styling */
:root {
    --zeynep-primary: #004d40;
    /* Dark Teal */
    --zeynep-secondary: #c6a15b;
    /* Gold accent */
    --zeynep-accent: #00796b;
    --zeynep-text: #ffffff;
    --zeynep-bg: rgba(0, 77, 64, 0.95);
    --zeynep-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#zeynep-chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 20000000;
    /* ABOVE EVERYTHING UNIVERSE WIDE */
    font-family: 'Inter', -apple-system, sans-serif;
    display: block;
}

.zeynep-launcher {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--zeynep-primary);
    box-shadow: var(--zeynep-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--zeynep-secondary);
    position: relative;
}

.zeynep-launcher:hover {
    transform: scale(1.1);
}

.zeynep-launcher img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.zeynep-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff5252;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid white;
}

.zeynep-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 600px;
    max-height: calc(100vh - 120px);
    background: var(--zeynep-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--zeynep-shadow);
    border: 1px solid rgba(198, 161, 91, 0.3);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s ease;
}

.zeynep-window.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.zeynep-header {
    background: linear-gradient(135deg, var(--zeynep-primary), var(--zeynep-accent));
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(198, 161, 91, 0.3);
}

.zeynep-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid var(--zeynep-secondary);
}

.zeynep-header .info {
    flex: 1;
}

.zeynep-header .info h4 {
    margin: 0;
    color: var(--zeynep-text);
    font-size: 16px;
    font-weight: 600;
}

.zeynep-header .info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.zeynep-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 2px;
}

.msg.user {
    align-self: flex-end;
    background: var(--zeynep-secondary);
    color: #000;
    border-bottom-right-radius: 2px;
}

.zeynep-typing {
    padding: 10px 14px;
    align-self: flex-start;
    display: flex;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.zeynep-typing span {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.zeynep-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.zeynep-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    from {
        opacity: 0.3;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.zeynep-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
}

.zeynep-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(198, 161, 91, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    outline: none;
}

.zeynep-input-area button {
    background: var(--zeynep-secondary);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .zeynep-window {
        width: calc(100vw - 40px);
        height: 60vh;
        bottom: 70px;
    }
}