/* ============================================================ -->
<!-- FLOATING HANDLES - WHATSAPP, TELEGRAM & WEBPAGE TRANSLATOR   -->
<!-- FIXED TOOLTIP BEHAVIOR                                       -->
<!-- ============================================================ -->*/

/* ===== FLOATING CONTAINER ===== */
.floating-container {
    position: fixed;
    left: 20px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    cursor: default;
    position: relative;
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-btn:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-btn:nth-child(3) {
    animation-delay: 1s;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== BUTTON WRAPPER - CONTROLS TOOLTIP ===== */
.floating-btn .btn-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

/* ===== BUTTON CIRCLE ===== */
.floating-btn .btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.1);
    text-decoration: none;
    z-index: 2;
}

/* WhatsApp */
.floating-btn.whatsapp .btn-circle {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.floating-btn.whatsapp .btn-wrapper:hover .btn-circle {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 45px rgba(37, 211, 102, 0.55);
}

/* Telegram */
.floating-btn.telegram .btn-circle {
    background: linear-gradient(135deg, #0088cc 0%, #005f8a 100%);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

.floating-btn.telegram .btn-wrapper:hover .btn-circle {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 12px 45px rgba(0, 136, 204, 0.55);
}

/* Translator */
.floating-btn.translator .btn-circle {
    background: linear-gradient(135deg, #6C5CE7 0%, #4834D4 100%);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.floating-btn.translator .btn-wrapper:hover .btn-circle {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 45px rgba(108, 92, 231, 0.55);
}

/* ===== PULSE RING ===== */
.floating-btn .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    animation: pulseRing 2.5s ease-out infinite;
    pointer-events: none;
}

.floating-btn .pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== NOTIFICATION DOT ===== */
.floating-btn .notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.floating-btn.whatsapp .notification-dot {
    background: #ff2d7e;
    box-shadow: 0 2px 10px rgba(255, 45, 126, 0.4);
}

.floating-btn.telegram .notification-dot {
    background: #ff6b35;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

.floating-btn.translator .notification-dot {
    background: #fdcb6e;
    box-shadow: 0 2px 10px rgba(253, 203, 110, 0.4);
    color: #2d3436;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ============================================================ */
/* TOOLTIP - ONLY SHOWS ON BUTTON HOVER (NOT CARD)             */
/* ============================================================ */
.floating-btn .tooltip {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px) scale(0.85);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(15px) scale(0.85);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.06);
    z-index: 10;
}

/* Tooltip arrow pointing right */
.floating-btn .tooltip::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-right: 8px solid rgba(0, 0, 0, 0.85);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Tooltip only shows on button wrapper hover */
.floating-btn .btn-wrapper:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

.floating-btn .tooltip .highlight-wa {
    color: #25D366;
    font-weight: 700;
}

.floating-btn .tooltip .highlight-tg {
    color: #4fc3f7;
    font-weight: 700;
}

.floating-btn .tooltip .highlight-tr {
    color: #a29bfe;
    font-weight: 700;
}

.floating-btn .tooltip .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.floating-btn .tooltip .status-dot.online {
    background: #4caf50;
}

.floating-btn .tooltip .status-dot.away {
    background: #ff9800;
}

/* ============================================================ */
/* CHAT CARD - EXPANDS TO THE RIGHT                             */
/* ============================================================ */
.floating-btn .chat-card {
    position: absolute;
    left: 78px;
    bottom: 10px;
    width: 340px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    border: 1px solid rgba(0,0,0,0.04);
    display: none;
    z-index: 10;
}

.floating-btn .chat-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    display: block;
}

.floating-btn .chat-card::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    border-right: 10px solid rgba(255,255,255,0.98);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* ===== CHAT CARD STYLES ===== */
.floating-btn .chat-card .card-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.floating-btn.whatsapp .chat-card .card-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.telegram .chat-card .card-header {
    background: linear-gradient(135deg, #0088cc, #005f8a);
}

.floating-btn.translator .chat-card .card-header {
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
}

.floating-btn .chat-card .card-header .avatar {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}

.floating-btn .chat-card .card-header .info {
    flex: 1;
}

.floating-btn .chat-card .card-header .info h6 {
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.floating-btn .chat-card .card-header .info small {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.floating-btn .chat-card .card-header .info small .online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.floating-btn .chat-card .card-header .close-card {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 28px;
    cursor: pointer;
    padding: 0 6px;
    transition: all 0.3s ease;
}

.floating-btn .chat-card .card-header .close-card:hover {
    color: #fff;
    transform: rotate(90deg);
}

.floating-btn .chat-card .card-body {
    padding: 18px 20px;
    max-height: 450px;
    overflow-y: auto;
}

.floating-btn .chat-card .card-body .message-bubble {
    background: #f0f4f8;
    border-radius: 14px 14px 14px 6px;
    padding: 14px 18px;
    font-size: 1.2rem;
    color: #1a1a2e;
    line-height: 1.6;
    margin-bottom: 14px;
}

.floating-btn.whatsapp .chat-card .card-body .message-bubble {
    border-left: 4px solid #25D366;
}

.floating-btn.telegram .chat-card .card-body .message-bubble {
    border-left: 4px solid #0088cc;
}

.floating-btn.translator .chat-card .card-body .message-bubble {
    border-left: 4px solid #6C5CE7;
}

.floating-btn .chat-card .card-body .message-bubble .emoji {
    font-size: 1.6rem;
}

.floating-btn .chat-card .card-body .quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.floating-btn .chat-card .card-body .quick-replies .qr-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.floating-btn.whatsapp .chat-card .card-body .quick-replies .qr-btn {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.floating-btn.whatsapp .chat-card .card-body .quick-replies .qr-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.floating-btn.telegram .chat-card .card-body .quick-replies .qr-btn {
    background: rgba(0, 136, 204, 0.08);
    border: 1px solid rgba(0, 136, 204, 0.12);
    color: #0088cc;
}

.floating-btn.telegram .chat-card .card-body .quick-replies .qr-btn:hover {
    background: rgba(0, 136, 204, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.15);
}

.floating-btn.translator .chat-card .card-body .quick-replies .qr-btn {
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.12);
    color: #6C5CE7;
}

.floating-btn.translator .chat-card .card-body .quick-replies .qr-btn:hover {
    background: rgba(108, 92, 231, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.15);
}

.floating-btn .chat-card .card-footer {
    padding: 14px 18px;
    background: rgba(0,0,0,0.02);
    border-top: 1px solid rgba(0,0,0,0.04);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.floating-btn .chat-card .card-footer .input-group-custom {
    flex: 1;
    display: flex;
    gap: 8px;
}

.floating-btn .chat-card .card-footer input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.floating-btn .chat-card .card-footer input:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.floating-btn .chat-card .card-footer .send-btn {
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-btn.whatsapp .chat-card .card-footer .send-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.whatsapp .chat-card .card-footer .send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.floating-btn.telegram .chat-card .card-footer .send-btn {
    background: linear-gradient(135deg, #0088cc, #005f8a);
}

.floating-btn.telegram .chat-card .card-footer .send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.floating-btn.translator .chat-card .card-footer .send-btn {
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
}

.floating-btn.translator .chat-card .card-footer .send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

/* ============================================================ */
/* TRANSLATOR CARD - ENLARGED FONTS                             */
/* ============================================================ */

.floating-btn.translator .chat-card .card-body label {
    font-size: 1rem !important;
    font-weight: 600;
    color: #2d3436;
    display: block;
    margin-bottom: 4px;
}

.floating-btn.translator .chat-card .card-body select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 0.9rem;
    background: #f8fafc;
    outline: none;
    transition: border 0.3s;
    cursor: pointer;
    color: #1a1a2e;
}

.floating-btn.translator .chat-card .card-body select:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.floating-btn.translator .chat-card .card-body textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 1.2rem;
    resize: vertical;
    background: #f8fafc;
    outline: none;
    transition: border 0.3s;
    font-family: inherit;
    color: #1a1a2e;
}

.floating-btn.translator .chat-card .card-body textarea:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.floating-btn.translator .chat-card .translation-result {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
    border: 1px solid rgba(108, 92, 231, 0.1);
    display: none;
}

.floating-btn.translator .chat-card .translation-result.active {
    display: block;
    animation: fadeSlideIn 0.4s ease;
}

.floating-btn.translator .chat-card .translation-result .result-label {
    font-size: 1rem;
    font-weight: 700;
    color: #6C5CE7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.floating-btn.translator .chat-card .translation-result .result-text {
    font-size: 1.3rem;
    color: #1a1a2e;
    line-height: 1.6;
}

.floating-btn.translator .chat-card .translation-status {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-top: 12px;
    display: none;
    align-items: center;
    gap: 10px;
}

.floating-btn.translator .chat-card .translation-status.active {
    display: flex;
    animation: fadeSlideIn 0.4s ease;
}

.floating-btn.translator .chat-card .translation-status.loading {
    background: rgba(108, 92, 231, 0.08);
    color: #6C5CE7;
}

.floating-btn.translator .chat-card .translation-status.success {
    background: rgba(0, 184, 148, 0.08);
    color: #00b894;
}

.floating-btn.translator .chat-card .translation-status.error {
    background: rgba(255, 107, 107, 0.08);
    color: #ff6b6b;
}

.floating-btn.translator .chat-card .translation-status .spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(108, 92, 231, 0.1);
    border-top-color: #6C5CE7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.floating-btn.translator .chat-card .card-footer select {
    flex: 1;
    min-width: 120px;
    padding: 9px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 1.4rem;
    outline: none;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.floating-btn.translator .chat-card .card-footer select:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.floating-btn.translator .chat-card .card-footer .action-btn {
    border: none;
    color: #fff;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.floating-btn.translator .chat-card .card-footer .action-btn.primary {
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
}

.floating-btn.translator .chat-card .card-footer .action-btn.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.floating-btn.translator .chat-card .card-footer .action-btn.danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.floating-btn.translator .chat-card .card-footer .action-btn.danger:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.floating-btn.translator .chat-card .card-footer .action-btn.success {
    background: linear-gradient(135deg, #00b894, #00a381);
}

.floating-btn.translator .chat-card .card-footer .action-btn.success:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.floating-btn .chat-card ::-webkit-scrollbar {
    display: none;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    .floating-container {
        left: 12px;
        bottom: 80px;
        gap: 10px;
    }
    .floating-btn .btn-circle {
        width: 52px;
        height: 52px;
        font-size: 30px;
    }
    .floating-btn .chat-card {
        left: 65px;
        width: 290px;
        bottom: 5px;
    }
    .floating-btn .chat-card::before {
        top: 25px;
    }
    .floating-btn .tooltip {
        font-size: 1.2rem;
        padding: 7px 16px;
    }
    .floating-btn .notification-dot {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    .floating-btn .chat-card .card-header .info h6 {
        font-size: 1.3rem;
    }
    .floating-btn .chat-card .card-header .info small {
        font-size: 1.1rem;
    }
    .floating-btn .chat-card .card-body .message-bubble {
        font-size: 1.2rem;
    }
    .floating-btn .chat-card .card-body .quick-replies .qr-btn {
        font-size: 1.2rem;
        padding: 6px 14px;
    }
    .floating-btn .chat-card .card-footer input {
        font-size: 1.1rem;
        padding: 8px 14px;
    }
    .floating-btn.translator .chat-card .card-body label {
        font-size: 1rem !important;
    }
    .floating-btn.translator .chat-card .card-body select,
    .floating-btn.translator .chat-card .card-body textarea {
        font-size: 1.2rem;
    }
    .floating-btn.translator .chat-card .translation-status {
        font-size: 1.2rem;
    }
    .floating-btn.translator .chat-card .card-footer select {
        font-size: 1.2rem;
        padding: 7px 12px;
        min-width: 90px;
    }
    .floating-btn.translator .chat-card .card-footer .action-btn {
        font-size: 1.2rem;
        padding: 7px 14px;
    }
}

@media (max-width: 480px) {
    .floating-container {
        left: 10px;
        bottom: 70px;
        gap: 8px;
    }
    .floating-btn .btn-circle {
        width: 48px;
        height: 48px;
        font-size: 29px;
        border-width: 2px;
    }
    .floating-btn .chat-card {
        left: 58px;
        width: 300px;
        bottom: 0px;
    }
    .floating-btn .chat-card::before {
        top: 18px;
        border-right: 8px solid rgba(255,255,255,0.98);
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    .floating-btn .tooltip {
        display: none;
    }
    .floating-btn .chat-card .card-header {
        padding: 12px 14px;
    }
    .floating-btn .chat-card .card-header .info h6 {
        font-size: 1.2rem;
    }
    .floating-btn .chat-card .card-header .info small {
        font-size: 1rem;
    }
    .floating-btn .chat-card .card-body {
        padding: 14px;
    }
    .floating-btn .chat-card .card-body .message-bubble {
        font-size: 1.1rem;
        padding: 10px 14px;
    }
    .floating-btn .chat-card .card-body .quick-replies .qr-btn {
        font-size: 1rem;
        padding: 5px 12px;
    }
    .floating-btn .chat-card .card-footer {
        padding: 10px 14px;
    }
    .floating-btn .chat-card .card-footer input {
        font-size: 1rem;
        padding: 7px 12px;
    }
    .floating-btn .chat-card .card-footer .send-btn {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    .floating-btn .chat-card .card-header .close-card {
        font-size: 22px;
    }
    .floating-btn.translator .chat-card .card-body label {
        font-size: 1rem !important;
    }
    .floating-btn.translator .chat-card .card-body select,
    .floating-btn.translator .chat-card .card-body textarea {
        font-size: 1rem;
        padding: 8px 12px;
    }
    .floating-btn.translator .chat-card .translation-status {
        font-size: 1rem;
    }
    .floating-btn.translator .chat-card .translation-result .result-text {
        font-size: 1.4rem;
    }
    .floating-btn.translator .chat-card .card-footer select {
        font-size: 1rem;
        padding: 6px 10px;
        min-width: 70px;
    }
    .floating-btn.translator .chat-card .card-footer .action-btn {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

/*<!-- ============================================================ -->
<!-- COOKIE CONSENT BANNER                                         -->
<!-- ============================================================ -->*/

/* ===== COOKIE CONSENT STYLES ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 30px;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.3);
    border-top: 3px solid rgba(212, 175, 55, 0.3);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
}

.cookie-consent.show {
    transform: translateY(0);
    display: block;
}

.cookie-consent .cookie-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent .cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent .cookie-text .cookie-icon {
    font-size: 28px;
    margin-right: 12px;
    display: inline-block;
    animation: cookieWiggle 3s ease-in-out infinite;
}

@keyframes cookieWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.cookie-consent .cookie-text h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 4px 0;
    display: inline-flex;
    align-items: center;
}

.cookie-consent .cookie-text h4 .highlight {
    color: #d4af37;
}

.cookie-consent .cookie-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent .cookie-text p a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-consent .cookie-text p a:hover {
    color: #f1c40f;
    text-decoration: underline;
}

.cookie-consent .cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-consent .cookie-buttons .btn-cookie {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent .cookie-buttons .btn-cookie.accept {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: #0f0c29;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cookie-consent .cookie-buttons .btn-cookie.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.cookie-consent .cookie-buttons .btn-cookie.settings {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent .cookie-buttons .btn-cookie.settings:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cookie-consent .cookie-buttons .btn-cookie.decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
}

.cookie-consent .cookie-buttons .btn-cookie.decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.cookie-settings-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.cookie-settings-modal .modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    padding: 35px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    0% { transform: translateY(40px) scale(0.95); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-settings-modal .modal-box .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cookie-settings-modal .modal-box .modal-header h3 {
    font-weight: 700;
    color: #0f0c29;
    margin: 0;
    font-size: 1.5rem;
}

.cookie-settings-modal .modal-box .modal-header h3 .icon {
    margin-right: 10px;
}

.cookie-settings-modal .modal-box .modal-header .close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #adb5bd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.cookie-settings-modal .modal-box .modal-header .close-modal:hover {
    color: #0f0c29;
    transform: rotate(90deg);
}

.cookie-settings-modal .modal-box p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-settings-modal .modal-box .cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-settings-modal .modal-box .cookie-option:last-child {
    border-bottom: none;
}

.cookie-settings-modal .modal-box .cookie-option .option-info {
    flex: 1;
}

.cookie-settings-modal .modal-box .cookie-option .option-info .option-name {
    font-weight: 600;
    color: #0f0c29;
    font-size: 0.95rem;
}

.cookie-settings-modal .modal-box .cookie-option .option-info .option-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-left: 15px;
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ced4da;
    border-radius: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle .slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle input:checked + .slider {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle input:checked + .slider::before {
    transform: translateX(22px);
}

.cookie-settings-modal .modal-box .cookie-option .option-toggle input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-modal .modal-box .modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-settings-modal .modal-box .modal-footer .btn-save {
    flex: 1;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: #0f0c29;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cookie-settings-modal .modal-box .modal-footer .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px 20px;
    }
    .cookie-consent .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-consent .cookie-text {
        min-width: auto;
        text-align: center;
    }
    .cookie-consent .cookie-text h4 {
        font-size: 1.1rem !important;
        justify-content: center;
    }
    .cookie-consent .cookie-text p {
        font-size: 0.9rem !important;
    }
    .cookie-consent .cookie-buttons {
        justify-content: center;
    }
    .cookie-consent .cookie-buttons .btn-cookie {
        padding: 10px 24px !important;
        font-size: 0.85rem !important;
    }
    .cookie-settings-modal .modal-box {
        padding: 25px 20px;
    }
    .cookie-settings-modal .modal-box .cookie-option {
        flex-wrap: wrap;
        gap: 8px;
    }
    .cookie-settings-modal .modal-box .cookie-option .option-toggle {
        margin-left: 0;
    }
     .cookie-settings-modal .modal-box .modal-header h3 {
        font-size: 1.2rem !important;
    }
    .cookie-settings-modal .modal-box .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 12px 15px;
    }
    .cookie-consent .cookie-text h4 {
        font-size: 0.9rem;
    }
    .cookie-consent .cookie-text p {
        font-size: 0.75rem;
    }
    .cookie-consent .cookie-buttons .btn-cookie {
        padding: 6px 16px;
        font-size: 0.72rem;
    }
    .cookie-settings-modal .modal-box {
        padding: 20px 15px;
        width: 95%;
    }
}


