* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
}

/* Main floating popup container */
.cookies {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    width: calc(100% - 40px);
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Flexbox container putting icon on the left of text */
.cookies-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#cookie-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px; /* Aligns visually with heading top */
}

.cookies p {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

#cookie-message {
    display: block;
    color: #aaa;
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    margin-top: 4px;
}

/* Row wrapper for buttons */
.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookies button {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease-in-out;
}

#accept-cookies {
    background-color: #3eff00;
    color: black;
}

#accept-cookies:hover {
    background-color: #32cc00;
}

#reject-cookies {
    background-color: #333;
    color: white;
}

#reject-cookies:hover {
    background-color: #444;
}

/* Mobile viewport adjustments */
@media (max-width: 480px) {
    .cookies {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}