/*!
 * Copyright 2024 Adobe. All rights reserved.
 *
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at <http://www.apache.org/licenses/LICENSE-2.0>
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

/* @combine .spectrum.spectrum--express */

@import "./spectrum.css";

@container style(--system: express) {
	.spectrum-Stepper {
		--spectrum-stepper-border-width: var(--spectrum-border-width-200);
		--spectrum-stepper-border-color-default: var(--spectrum-gray-400);
		--spectrum-stepper-border-color-hover: var(--spectrum-gray-500);
		--spectrum-stepper-border-color-focus: var(--spectrum-gray-800);
		--spectrum-stepper-border-color-focus-hover: var(--spectrum-gray-900);
		--spectrum-stepper-border-color-keyboard-focus: var(--spectrum-gray-900);
		--spectrum-stepper-border-color-disabled: var(--spectrum-disabled-background-color);

		--spectrum-stepper-buttons-border-style: solid;
		--spectrum-stepper-buttons-border-width: var(--spectrum-border-width-200);
		--spectrum-stepper-buttons-border-color: transparent;
		--spectrum-stepper-buttons-background-color: var(--spectrum-gray-50);
		--spectrum-stepper-buttons-border-color-hover: transparent;
		--spectrum-stepper-buttons-border-color-focus: transparent;
		--spectrum-stepper-buttons-border-color-keyboard-focus: transparent;

		--spectrum-stepper-button-border-width: 0;

		/** Invalid **/
		--spectrum-stepper-border-color-invalid: transparent;
		--spectrum-stepper-border-color-focus-invalid: transparent;
		--spectrum-stepper-border-color-focus-hover-invalid: transparent;
		--spectrum-stepper-border-color-keyboard-focus-invalid: transparent;

		/** Disabled **/
		--spectrum-stepper-button-border-width-disabled: 0;
		--spectrum-stepper-buttons-background-color-disabled: var(--spectrum-disabled-background-color);
	}

	.spectrum-Stepper--quiet {
		--spectrum-stepper-buttons-border-style: none;
		--spectrum-stepper-button-edge-to-fill: 0;
	}
}
