@use "../colors";

.quick-center {
    border-radius: 20px;
    background-color: colors.$surface_dim;
    color: colors.$on_background;
    margin: 5px;
    border: 1px solid rgba(colors.$outline_variant, 0.5);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);

    .notification-center {
        padding: 10px;
        border-radius: 30px 30px 20px 20px;
        scrolledwindow viewport {
            border-radius: 20px;
        }
        .notification-center-info-icon {
            font-family: "Material Symbols Outlined", "Material Icons Outlined";
            font-size: 24pt;
            color: colors.$on_surface_variant;
            margin-bottom: 5px;
        }
        .notification-center-info-label {
            font-weight: 500;
        }
        .notification-center-content {
            revealer {
                .notification {
                    border-radius: 8px;
                }
                &:last-child {
                    border-bottom-left-radius: 20px;
                    border-bottom-right-radius: 20px;
                }
            }
        }
    }

    .bottom-controls {
        padding: 10px;
        padding-top: 0px;
    }

    .quick-toggles-container {
        margin: 10px;
        border-radius: 50rem;
        .quick-toggle.m3-button {
            padding: 0px 10px;
            background-color: colors.$surface_container;
            color: colors.$on_background;
            border-radius: 8px;

            .quick-toggle-icon {
                font-family:
                    "Material Symbols Outlined", "Material Icons Outlined";
                font-size: 16pt;
            }

            &:hover {
                background-color: colors.$surface_container_high;
            }

            &:first-child {
                border-top-left-radius: 20px;
                border-bottom-left-radius: 20px;
            }

            &:last-child {
                border-top-right-radius: 20px;
                border-bottom-right-radius: 20px;
            }

            &.active {
                border-radius: 50rem;
                background-color: colors.$primary;
                .m3-button-icon {
                    color: colors.$on_primary;
                }

                &:hover {
                    background-color: colors.$primary;
                }
            }
        }
    }

    .quick-sliders-container {
        margin: 10px;
        margin-top: 0px;

        .m3-slider {
            border-radius: 8px;
        }
        .m3-slider:first-child {
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }
        .m3-slider:last-child {
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }
    }
}
