/* Cookie Notice Styles for Mobile - Horizontal Layout */
#cookie_note {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    padding: 10px 35px 10px 15px;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-sizing: border-box;
    
}

#cookie_note.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cookie_note p {
    margin: 0;
    font-size: 0.85rem;
    text-align: left;
    color: black;
    line-height: 1.3;
    flex: 1;
    padding-right: 10px;
}

.cookie_accept {
    background-color: #fce503;
    color: black;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 10px;
    transition: background-color 0.2s ease;
}

.cookie_accept:hover {
    background-color: #e6ce00;
}

.cookie_close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    position: absolute;
    top: 5px;
    right: 5px;
}

.cookie_close:hover {
    color: #000;
}

/* Desktop styles */
@media (min-width: 576px) {
    #cookie_note {
        bottom: 15px;
        left: 50%;
        right: auto;
        width: auto;
        max-width: 600px;
        transform: translateX(-50%);
        padding: 15px 40px 15px 20px;
        border-radius: 4px;
        box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
        
    }
    
    #cookie_note p {
        font-size: 1.0rem;
        padding-right: 15px;
    }
    
    .cookie_accept {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .cookie_close {
        top: 8px;
        right: 8px;
    }
}

/* Mobile-only adjustments */
@media (max-width: 575px) {
    #cookie_note {
        padding: 8px 35px 8px 12px;
        
    }
    
    #cookie_note p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .cookie_accept {
        padding: 5px 10px;
        font-size: 0.8rem;
        margin-right: 8px;
    }
    
    .cookie_close {
        font-size: 1.1rem;
        width: 18px;
        height: 18px;
        top: 4px;
        right: 4px;
    }
}
