.blinds-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: white;
}

.blinds-name {
    margin-right: auto;
    font-size: 1.25rem;
}

.blinds-buttons {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.blinds-button {
    --blinds-accent: var(--app-accent, #00E5E2);
    width: 100%;
    min-height: 20%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.blinds-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

@media (hover: hover) and (pointer: fine) {
    .blinds-button:not(:disabled):hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.32);
        box-shadow: 0 0 1vh rgba(0, 229, 226, 0.2);

        background: color-mix(in srgb, var(--blinds-accent) 18%, rgba(255, 255, 255, 0.1));
        border-color: color-mix(in srgb, var(--blinds-accent) 40%, rgba(255, 255, 255, 0.2));
        box-shadow: 0 0 1vh color-mix(in srgb, var(--blinds-accent) 35%, transparent);
    }
}

.blinds-button:not(:disabled):active {
    transform: scale(0.97);
    background: rgba(0, 229, 226, 0.22);
    border-color: rgba(0, 229, 226, 0.7);
    box-shadow: 0 0 1.2vh rgba(0, 229, 226, 0.55);

    background: color-mix(in srgb, var(--blinds-accent) 28%, rgba(255, 255, 255, 0.1));
    border-color: color-mix(in srgb, var(--blinds-accent) 65%, rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 1.2vh color-mix(in srgb, var(--blinds-accent) 55%, transparent);
}

.widget-template.blinds {
/*    width: 40vmin;
    height: 25vmin;*/
}





/* === MEDIA === */

/* Mobile  */

@media (max-width: 699px) {
    .blinds-widget {
        gap: 0.5rem;
    }

    .blinds-name {
        font-size: 0.95rem;
    }

    .blinds-buttons {
        gap: 0.5rem;
    }

    .blinds-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* WVGA / WVGA-Narrow (720x480, 800x480) */

@media (min-width: 700px) and (max-width: 880px) {
}

/* WSVGA / XGA (1024x600, 1024x768) */

@media (min-width: 881px) and (max-width: 1150px) {
    .blinds-widget {
        gap: 0.5rem;
    }

    .blinds-name {
        font-size: 0.95rem;
    }

    .blinds-buttons {
        gap: 0.5rem;
    }

    .blinds-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* WXGA / HD720 / SXGA (1280x720/800/1024) */

@media (min-width: 1151px) and (max-width: 1600px) {
    .blinds-name {
        font-size: 0.95rem;
    }

    .blinds-buttons {
/*        gap: 0.5rem;*/
    }

    .blinds-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* HD / WUXGA (1920x1080, 1920x1200) */

@media (min-width: 1601px) and (max-width: 2879px) {
    /* standard styles */
}

/* 4K (3840x2160) */

@media (min-width: 2880px) {

    .blinds-name {
        font-size: 2rem;
    }

    .blinds-buttons {
        gap: 1rem;
    }

    .blinds-button {
        padding: 1.5rem;
        font-size: 2rem;
    }
}

/* Low height */

@media (min-width: 1000px) and (max-height: 650px) {
    .blinds-buttons {
        flex-direction: row;
    }
}

/* Override for 1024x600 */

@media (width: 1024px) and (height: 600px) {
    .blinds-buttons {
        flex-direction: row;
    }
}