/* WhatsApp Floating Icon */
.smart-chat-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.whatsapp-float-icon {
    width: 55px;
    height: 55px;
    background: #ffea05; /* Red WhatsApp button as in image */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
    position: relative;
}

.whatsapp-float-icon::before {
    content: 'WhatsApp us';
    position: absolute;
    right: 70px;
    background: #ffea00;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.whatsapp-float-icon:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Global Cookie Consent Banner - Professional Glassmorphism */
.cookie-glass-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 450px;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 10000;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: 'Inter', Arial, sans-serif;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    opacity: 0;
}

.cookie-glass-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-glass-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-icon {
    font-size: 28px;
    color: var(--primary-yellow, #ffc107);
    margin-bottom: -5px;
}

.cookie-text h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.cookie-text p {
    color: #a0a0a0;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.cookie-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
}

#cookie-customize {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

#cookie-customize:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.cookie-btn {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cookie-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-solid {
    background: var(--primary-yellow, #ffc107);
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.2);
}

.cookie-btn-solid:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

/* Cookie Customize Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
}

.cookie-modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.show .cookie-modal {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: #fff;
}

.cookie-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-modal-body > p {
    color: #aaa;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cookie-toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-toggle-group:last-child {
    border-bottom: none;
}

.cookie-toggle-info h4 {
    margin: 0 0 6px 0;
    color: #fff;
    font-size: 15px;
}

.cookie-toggle-info p {
    margin: 0;
    color: #777;
    font-size: 13px;
    max-width: 280px;
    line-height: 1.4;
}

/* Switch Styles */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

.cookie-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .cookie-slider {
    background-color: #25D366;
}

input:focus + .cookie-slider {
    box-shadow: 0 0 1px #25D366;
}

input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-slider.round {
    border-radius: 34px;
}

.cookie-slider.round:before {
    border-radius: 50%;
}

input:disabled + .cookie-slider {
    background-color: #1a5e30;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.2);
    border-radius: 0 0 16px 16px;
}

@media (max-width: 480px) {
    .cookie-glass-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-width: none;
    }
}
