/* Main Containers */
.empty-state {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--md-sys-color-on-surface-variant);
    z-index: 1;
    transition: all var(--motion-expressive-default-effects);
}

.empty-state .material-symbols-rounded {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--md-sys-color-primary);
}

.empty-state p {
    font-size: 24px;
    margin: 0;
}

.container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 20px;
    animation: fadeIn var(--motion-expressive-default-spatial);
}

.container {
    background-color: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-on-surface);
    width: 100%;
    border-radius: 12px;
    position: relative;
    padding: 20px;

    & h3:not(#settings h3) {
        text-transform: uppercase;
        font-family: "Roboto", sans-serif;
        font-size: 1rem;
        padding: 0;
        margin: 0;
        padding-block-end: 10px;

        opacity: 0.4;
    }

    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    .task-item {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 0.7rem;
        padding: 10px 0;
        transition: transform var(--motion-expressive-default-spatial);
    }

    .task-title {
        cursor: pointer;
    }
}

/* Custom Checkbox */
.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Original Input (Its hidden so I can make a custom one and style it accordingly) */
.custom-checkbox-input {
    display: none;
}

.custom-check {
    width: 20px;
    height: 20px;
    border-radius: var(--checkbox-radius, 50%);
    background-color: var(--md-sys-color-surface-container);
    border: 2px solid var(--md-sys-color-outline);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--motion-expressive-default-effects);
}

.custom-checkbox-input:checked+.custom-check {
    background-color: var(--md-sys-color-primary);
    border-color: var(--md-sys-color-primary);
    animation: checkboxPop var(--motion-expressive-fast-effects);
}

.custom-checkbox-input:checked+.custom-check::after {
    font-family: 'Material Symbols Rounded';
    content: 'check';
    font-size: 20px;
    color: var(--md-sys-color-on-primary);
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: checkmark var(--motion-expressive-fast-effects);
}

@media (min-width: 768px) {
    .container-wrapper {
        width: 100%;
        flex-direction: row;
        justify-content: start;
        align-items: start;
    }

    .container {
        width: 50%;
        max-width: 800px;
    }

    .empty-state {
        display: flex;
        position: absolute;
        left: 250px;
        top: 50%;
        transform: none;
        transform: translateY(-50%);
        width: calc(100% - 250px);
        z-index: 1;
    }
}