#scdev-cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999; /* Changed from 999999 to prevent blocking header dropdowns */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: slideIn 0.5s ease-out;
    pointer-events: auto;
}

#scdev-cookie-notice.scdev-cookie-top {
    top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#scdev-cookie-notice.scdev-cookie-bottom {
    bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.scdev-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.scdev-cookie-close {
    position: absolute;
    top: -10px;
    right: 0;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
}

.scdev-cookie-close:hover {
    opacity: 1;
}

.scdev-cookie-text {
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.scdev-cookie-button {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s;
}

.scdev-cookie-button:hover {
    opacity: 0.9;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#scdev-cookie-notice.scdev-cookie-bottom {
    animation: slideInBottom 0.5s ease-out;
}

@keyframes slideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .scdev-cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .scdev-cookie-button {
        width: 100%;
    }
}