* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: rgb(36, 59, 49);
    --primary-dark: rgb(25, 40, 33);
    --secondary: rgb(75, 137, 98);
    --bg: rgb(36, 59, 49);
    --bg-light: rgba(36, 59, 49, 0.95);
    --bg-lighter: rgba(75, 137, 98, 0.3);
    --text: rgb(192, 208, 190);
    --text-muted: rgb(150, 170, 145);
    --accent: rgb(83, 161, 110);
    --success: rgb(83, 161, 110);
    --border: rgb(83, 161, 110);
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgb(36, 59, 49) 0%, rgb(75, 137, 98) 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px;
}

body.vive-vice-page {
    background: linear-gradient(135deg, rgb(36, 59, 49) 0%, rgb(75, 137, 98) 100%);
    padding-top: 80px;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out 0.5s both;
}

/* Écran d'accueil */
.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.mascot-container {
    margin-bottom: 3rem;
}

.mascot {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.mascot-small {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.mascot-face {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 40px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye {
    width: 20px;
    height: 20px;
    background: var(--text);
    border-radius: 50%;
    position: absolute;
    top: 35%;
    animation: pulse 2s ease-in-out infinite;
}

.left-eye {
    left: 30%;
}

.right-eye {
    right: 30%;
}

.mouth {
    width: 40px;
    height: 20px;
    border: 3px solid var(--text);
    border-top: none;
    border-radius: 0 0 40px 40px;
    position: absolute;
    bottom: 25%;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    white-space: nowrap;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-google:active {
    transform: translateY(0);
}

.topbar .btn-google {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Interface de chat */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-header {
    background: linear-gradient(135deg, rgba(36, 59, 49, 0.95) 0%, rgba(75, 137, 98, 0.95) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgb(83, 161, 110);
    box-shadow: 0 2px 10px var(--shadow);
    backdrop-filter: blur(10px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-back {
    padding: 0.5rem 1.5rem;
    background: rgba(36, 59, 49, 0.5);
    color: rgb(192, 208, 190);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgb(83, 161, 110);
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-back:hover {
    color: white;
    background: rgba(83, 161, 110, 0.5);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(83, 161, 110, 0.4);
}

.btn-back:hover {
    background: var(--bg-lighter);
    transform: translateY(-2px);
    border-color: var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-name {
    font-weight: 600;
}

.btn-logout {
    padding: 0.5rem 1.5rem;
    background: var(--bg-lighter);
    color: var(--text);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.btn-logout:hover {
    background: var(--bg-lighter);
    transform: translateY(-2px);
    border-color: var(--border);
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 300px;
    background: var(--bg-light);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.btn-new-chat {
    width: 100%;
    padding: 1rem;
    background: var(--bg-lighter);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-new-chat:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-new-chat span {
    font-size: 1.5rem;
    font-weight: 300;
}

.chats-list {
    flex: 1;
    overflow-y: auto;
}

.chat-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    box-sizing: border-box;
    position: relative;
}

.chat-item:hover {
    background: var(--bg-lighter);
    border-color: var(--accent);
}

.chat-item.active {
    background: var(--bg-lighter);
    border-left: 3px solid var(--text-muted);
    border-color: var(--text-muted);
}

.chat-item-title {
    flex: 1;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-delete-chat {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
}

.chat-item:hover .btn-delete-chat {
    opacity: 1;
}

.btn-delete-chat:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Zone de chat */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.welcome-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 0.8s ease-out;
}

.welcome-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.welcome-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.message {
    display: flex;
    gap: 1rem;
    animation: fadeIn 0.3s ease-out;
    max-width: 80%;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.6;
}

.message.user .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.assistant .message-content {
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 5px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: var(--bg-lighter);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 600;
}

.message.assistant .message-avatar {
    background: transparent;
    border: none;
    padding: 0;
}

.message.assistant .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    border-bottom-left-radius: 5px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Input */
.chat-input-container {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.chat-form {
    display: flex;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

#messageInput {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 25px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

#messageInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-send {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-send:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.btn-send:active {
    transform: scale(0.95);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Système de notation */
.btn-rating {
    transition: all 0.3s ease;
}

.btn-rating:hover {
    background: var(--bg-light) !important;
    border-color: var(--text-muted) !important;
    transform: translateY(-2px);
}

.rating-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.rating-modal-content {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--border);
}

.rating-modal-content h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
}

.star {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
}

.star:hover {
    transform: scale(1.2);
}

.rating-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-submit-rating {
    padding: 0.75rem 2rem;
    background: var(--bg-lighter);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-rating:hover {
    background: var(--bg);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.8rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .mascot {
        width: 150px;
        height: 150px;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .chat-messages {
        padding: 1rem;
    }

    .message {
        max-width: 95%;
    }

    .chat-input-container {
        padding: 1rem;
    }

    .chat-header {
        padding: 1rem;
    }

    .user-name {
        display: none;
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Styles pour la page Vive-vice */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(36, 59, 49, 0.95) 0%, rgba(75, 137, 98, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgb(83, 161, 110);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(192, 208, 190);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.topbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-topbar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-name-topbar {
    font-weight: 600;
    color: var(--text);
}

.btn-logout-topbar {
    padding: 0.5rem 1.5rem;
    background: rgba(36, 59, 49, 0.5);
    color: rgb(192, 208, 190);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgb(83, 161, 110);
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-logout-topbar:hover {
    color: white;
    background: rgba(83, 161, 110, 0.5);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(83, 161, 110, 0.4);
}

.nav-link {
    color: rgb(192, 208, 190);
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    background: rgba(36, 59, 49, 0.5);
}

.nav-link:hover {
    color: white;
    background: rgba(83, 161, 110, 0.5);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(83, 161, 110, 0.4);
    border-color: rgb(83, 161, 110);
}

.nav-link.active {
    color: white;
    background: rgba(83, 161, 110, 0.5);
    border: 2px solid rgb(83, 161, 110);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
}

.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.page.active {
    display: block;
}

.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Page Accueil */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.2;
    animation: fadeIn 0.8s ease-out;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    animation: fadeIn 1s ease-out 0.3s both;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.container-text {
    background: rgba(36, 59, 49, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    animation: fadeIn 1.2s ease-out;
    border: 2px solid rgb(83, 161, 110);
    backdrop-filter: blur(10px);
}

.container-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 600;
}

.container-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.container-text strong {
    color: var(--text);
    font-weight: 600;
}

.container-text em {
    color: var(--text-muted);
    font-style: italic;
}

/* Section IA */
.ai-section {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 1s ease-out 0.5s both;
}

.ai-content {
    max-width: 700px;
    margin: 0 auto;
}

.ai-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    animation: fadeIn 1s ease-out 0.7s both;
}

.ai-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.9s both;
}

.btn-ai {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    animation: fadeIn 1s ease-out 1.1s both;
}

.btn-ai:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow);
}

.btn-ai:active {
    transform: translateY(-1px);
}

.btn-ai span {
    font-size: 1.3rem;
}

/* Page Galerie */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    animation: fadeIn 0.8s ease-out;
    background: rgba(36, 59, 49, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgb(83, 161, 110);
    backdrop-filter: blur(10px);
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    background: rgba(36, 59, 49, 0.95);
    aspect-ratio: 4/3;
    border: 2px solid rgb(83, 161, 110);
    backdrop-filter: blur(10px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(36, 59, 49, 0.95);
    border-radius: 15px;
    border: 2px dashed rgb(83, 161, 110);
    backdrop-filter: blur(10px);
}

.gallery-empty p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gallery-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.gallery-hint code {
    background: rgba(36, 59, 49, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    color: rgb(83, 161, 110);
    font-family: 'Courier New', monospace;
    border: 1px solid rgb(83, 161, 110);
}

/* Responsive pour la nouvelle page */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .topbar-container {
        flex-direction: column;
        gap: 1rem;
        padding: 15px 20px;
    }

    .nav-links {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
    }

    .topbar-auth {
        width: 100%;
        justify-content: center;
    }

    .user-info-topbar {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .user-name-topbar {
        display: none;
    }

    .btn-google {
        width: 100%;
        justify-content: center;
    }

    .container-text {
        padding: 2rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .page {
        padding: 1rem;
    }

    .ai-title {
        font-size: 2rem;
    }

    .ai-description {
        font-size: 1rem;
    }

    .btn-ai {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Warning bavard */
.bavard-warning {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(245, 158, 11, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bavard-warning.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bavard-warning-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bavard-warning-content span {
    font-weight: 500;
    flex: 1;
    min-width: 200px;
    font-size: 0.9rem;
}

.btn-stop-bavard {
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-stop-bavard:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.btn-stop-bavard:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .bavard-warning {
        width: 95%;
        padding: 1rem;
    }
    
    .bavard-warning-content {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-stop-bavard {
        width: 100%;
    }
}

