/* =======================
   RESET / ISOLATION
======================= */

#hinatou-cookie-banner,
#hinatou-cookie-banner *,
#hinatou-cookie-settings-btn {
    all: unset;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* =======================
   CHECKBOX
======================= */

#hinatou-cookie-banner input[type="checkbox"] {
    all: revert;
    appearance: checkbox;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    accent-color: #ff3399;
}

/* =======================
   COOKIE BANNER
======================= */

#hinatou-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
    max-width: 90%;
    width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: hinatou-slideUp 0.5s ease-out;
}

/* =======================
   MESSAGE
======================= */

#hinatou-cookie-message {
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-align: center;
}

/* =======================
   BUTTONS GROUP
======================= */

#hinatou-cookie-banner .hinatou-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* =======================
   BUTTONS
======================= */

#hinatou-cookie-banner button {
    padding: 6px 14px;
    font-size: 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #ff3399;
    color: #fff;
    margin-top: 10px;
}

#hinatou-cookie-banner button:hover {
    background: #e02687;
}

/* =======================
   CUSTOMIZE
======================= */

#hinatou-cookie-customize label {
    font-size: 0.75rem;
    color: #ccc;
    display: block;
    margin: 6px 0;
}

/* =======================
   SETTINGS BUTTON
======================= */

#hinatou-cookie-settings-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #000;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    color: #db1895;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =======================
   ANIMATION
======================= */

@keyframes hinatou-slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* =======================
   MOBILE
======================= */

@media screen and (max-width: 480px) {

    #hinatou-cookie-message {
        font-size: 0.8rem;
    }

}