.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    transition: all 0.3s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cookie-notice.hidden {
    transform: translateY(150%);
    opacity: 0;
}

.cookie-notice-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.cookie-notice-close:hover {
    background: #e0e0e0;
    color: #333;
}

.cookie-notice-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-notice-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.cookie-icon {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-notice-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.cookie-notice-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.cookie-notice-link:hover {
    text-decoration: underline;
}

.cookie-notice-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-notice-button {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.cookie-notice-accept {
    background: var(--primary-color);
    color: #fff;
}

.cookie-notice-accept:hover {
    background: var(--primary-color-dark);
}

.cookie-notice-decline {
    background: #f0f0f0;
    color: #666;
}

.cookie-notice-decline:hover {
    background: #e5e5e5;
}

/* Mobil Tasarım */
@media (max-width: 767px) {
    .cookie-notice {
        left: 20px;
        right: auto;
        bottom: 20px; /* WhatsApp ile aynı hizada */
        width: 40px;
        height: 40px;
        min-width: 40px;
        max-width: 40px;
        padding: 0;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Bottom bar varsa yukarı çek */
    body.has-bottom-bar .cookie-notice:not(.expanded) {
        bottom: 90px;
    }

    .cookie-notice.expanded {
        bottom: 20px !important; /* Expanded durumunda her zaman altta */
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        height: auto;
        min-height: unset;
        border-radius: 12px;
        padding: 20px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        left: 20px;
        border: none;
    }

    /* Bottom bar varsa expanded durumunda yukarı çek */
    body.has-bottom-bar .cookie-notice.expanded {
        bottom: 90px !important;
    }

    .cookie-notice-close {
        display: none;
    }

    .cookie-notice:not(.expanded) {
        animation: pulse 2s infinite;
    }

    .cookie-notice:not(.expanded) .cookie-notice-content,
    .cookie-notice:not(.expanded) .cookie-notice-buttons {
        display: none;
    }

    .cookie-notice:not(.expanded)::before {
        content: '🍪';
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        line-height: 1;
        color: initial;
    }

    .cookie-notice.expanded .cookie-notice-close {
        display: flex;
    }

    .cookie-notice.expanded .cookie-notice-content {
        display: flex;
        width: 100%;
    }

    .cookie-notice.expanded .cookie-notice-buttons {
        width: 100%;
        margin-top: 5px;
    }

    .cookie-notice.expanded .cookie-notice-button {
        flex: 1;
        padding: 12px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        border-color: var(--primary-color-dark);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
} 