.matter-button-contained {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    min-width: 64px;
    height: 36px;
    vertical-align: middle;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    color: rgb(var(--matter-onprimary-rgb, 255, 255, 255));
    background-color: rgb(var(--matter-primary-rgb, 33, 150, 243));
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    font-family: var(--matter-font-family, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.matter-button-contained::-moz-focus-inner {
    border: none;
}

/* Highlight, Ripple */
.matter-button-contained::before,
.matter-button-contained::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
}

.matter-button-contained::before {
    background-color: rgb(var(--matter-onprimary-rgb, 255, 255, 255));
    transition: opacity 0.2s;
}

.matter-button-contained::after {
    background: radial-gradient(circle at center, currentColor 1%, transparent 1%) center/10000% 10000% no-repeat;
    transition: opacity 1s, background-size 0.5s;
}

/* Hover, Focus */
.matter-button-contained:hover,
.matter-button-contained:focus {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.matter-button-contained:hover::before {
    opacity: 0.08;
}

.matter-button-contained:focus::before {
    opacity: 0.24;
}

.matter-button-contained:hover:focus::before {
    opacity: 0.32;
}

/* Active */
.matter-button-contained:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.matter-button-contained:active::after {
    opacity: 0.32;
    background-size: 100% 100%;
    transition: background-size 0s;
}

/* Disabled */
.matter-button-contained:disabled {
    color: rgba(var(--matter-onsurface-rgb, 0, 0, 0), 0.38);
    background-color: rgba(var(--matter-onsurface-rgb, 0, 0, 0), 0.12);
    box-shadow: none;
    cursor: initial;
}

.matter-button-contained:disabled::before,
.matter-button-contained:disabled::after {
    opacity: 0;
}
