.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 25px;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    border-radius: 8px;
}

.cookie-content {
    width: 100%;
    margin-right: 20px;
    margin-bottom: 0;
}

.cookie-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #111;
    font-weight: 600;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.cookie-content a {
    color: #ED1C24;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.btn-cookie {
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
}

.btn-accept {
    background-color: #ED1C24;
    color: white;
    border-radius: 6px;
}

.btn-accept:hover {
    background-color: #c9171e;
}

.btn-decline {
    background-color: transparent;
    color: #666;
    padding: 8px 10px;
}

.btn-decline:hover {
    color: #111;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 15px;
    }
    .cookie-content {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

