/*!
Copyright 2023 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.
*/

.spectrum-CoachMark{
	--spectrum-coachmark-min-width:var(--spectrum-coach-mark-minimum-width);
	--spectrum-coachmark-width:var(--spectrum-coach-mark-width);
	--spectrum-coachmark-max-width:var(--spectrum-coach-mark-maximum-width);

	--spectrum-coachmark-media-height:var(--spectrum-coach-mark-media-height);
	--spectrum-coachmark-media-min-height:var(--spectrum-coach-mark-media-minimum-height);

	--spectrum-coachmark-border-size:var(--mod-popover-border-width);
	--spectrum-coachmark-border-radius:var(--mod-popover-corner-radius);
	--spectrum-coachmark-padding:var(--spectrum-coach-mark-edge-to-content);
	--spectrum-coachmark-heading-to-action-button:var(--spectrum-spacing-300);
	--spectrum-coachmark-header-to-body:var(--spectrum-spacing-200);
	--spectrum-coachmark-body-to-footer:var(--spectrum-spacing-300);
	--spectrum-coachmark-title-color:var(--spectrum-heading-color);
	--spectrum-coachmark-title-font-family:var(--spectrum-sans-serif-font);
	--spectrum-coachmark-title-font-style:var(--spectrum-heading-serif-font-style);
	--spectrum-coachmark-title-text-font-weight:var(--spectrum-heading-sans-serif-font-weight);
	--spectrum-coachmark-title-font-size:var(--spectrum-coach-mark-title-size);
	--spectrum-coachmark-title-text-line-height:var(--spectrum-heading-line-height);

	--spectrum-coachmark-content-font-color:var(--spectrum-body-color);
	--spectrum-coachmark-content-font-weight:var(--spectrum-body-sans-serif-font-weight);
	--spectrum-coachmark-content-font-family:var(--spectrum-sans-serif-font);
	--spectrum-coachmark-content-font-style:var(--spectrum-body-sans-serif-font-style);
	--spectrum-coachmark-content-line-height:var(--spectrum-body-line-height);
	--spectrum-coachmark-content-font-size:var(--spectrum-coach-mark-body-size);

	--spectrum-coachmark-step-color:var(--spectrum-coach-mark-pagination-color);
	--spectrum-coachmark-step-font-weight:var(--spectrum-body-medium-font-weight);
	--spectrum-coachmark-step-font-family:var(--spectrum-sans-serif-font);
	--spectrum-coachmark-step-font-style:var(--spectrum-body-sans-serif-font-style);
	--spectrum-coachmark-step-line-height:var(--spectrum-body-line-height);
	--spectrum-coachmark-step-font-size:var(--spectrum-coach-mark-pagination-body-size);
	--spectrum-coachmark-step-to-bottom:var(--spectrum-coach-mark-pagination-text-to-bottom-edge);
	--mod-buttongroup-justify-content:flex-end;
	--mod-popover-border-width:var(--spectrum-border-width-100);
	--mod-popover-corner-radius:var(--spectrum-corner-radius-100);
	--mod-popover-content-area-spacing-vertical:0;
	--mod-button-edge-to-visual-only:9px;
}

.spectrum-CoachMark{
  position:relative;
	min-inline-size:var(--mod-coachmark-min-width, var(--spectrum-coachmark-min-width));
	max-inline-size:var(--mod-coachmark-max-width, var(--spectrum-coachmark-max-width));
	inline-size:var(--mod-coachmark-width, var(--spectrum-coachmark-width));
}

.spectrum-CoachMark-buttongroup{
	display:var(--spectrum-coachmark-buttongroup-display);
}

.spectrum-CoachMark-buttongroup--mobile{
	--mod-buttongroup-spacing-horizontal:var(--spectrum-spacing-100);
	display:var(--spectrum-coachmark-buttongroup-mobile-display);
}

.spectrum-CoachMark-menu{
	display:var(--spectrum-coachmark-menu-display);
}

.spectrum-CoachMark-menu--mobile{
	display:var(--spectrum-coachmark-menu-mobile-display);
}

.spectrum-CoachMark-image-wrapper{
	block-size:var(--mod-coachmark-media-height, var(--spectrum-coachmark-media-height));
	min-block-size:var(--mod-coachmark-media-min-height, var(--spectrum-coachmark-media-min-height));
	inline-size:calc(var(--mod-coachmark-width, var(--spectrum-coachmark-width)) - (var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)) * 2));
	object-fit:cover;
	object-position:center;
	border-start-start-radius:inherit;
	border-start-end-radius:inherit;
}

.spectrum-CoachMark-image{
	display:block;
	inline-size:100%;
	block-size:100%;
	object-fit:cover;
	border-start-start-radius:calc(var(--mod-coachmark-border-radius, var(--spectrum-coachmark-border-radius)) - var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)));
	border-start-end-radius:calc(var(--mod-coachmark-border-radius, var(--spectrum-coachmark-border-radius)) - var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)));
}

.spectrum-CoachMark-header, .spectrum-CoachMark-content, .spectrum-CoachMark-footer{
	padding-block:0;
	padding-inline:var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
}

.spectrum-CoachMark-header{
	padding-block-start:var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-block-end:var(--mod-coachmark-header-to-body, var(--spectrum-coachmark-header-to-body));
}

.spectrum-CoachMark-action-menu{
	white-space:nowrap;
	z-index:1;
	margin-inline-start:var(--mod-coachmark-heading-to-action-button, var(--spectrum-coachmark-heading-to-action-button))
}

.spectrum-CoachMark-content{
	margin-block-end:var(--mod-coachmark-body-to-footer, var(--spectrum-coachmark-body-to-footer));
	color:var(--mod-coachmark-content-font-color, var(--spectrum-coachmark-content-font-color));
	font-size:var(--mod-coachmark-content-font-size, var(--spectrum-coachmark-content-font-size));
	font-weight:var(--mod-coachmark-content-font-weight, var(--spectrum-coachmark-content-font-weight));
	font-family:var(--mod-coachmark-content-font-family, var(--spectrum-coachmark-content-font-family));
	font-style:var(--mod-coachmark-content-font-style, var(--spectrum-coachmark-content-font-style));
	line-height:var(--mod-coachmark-content-line-height, var(--spectrum-coachmark-content-line-height));
}

.spectrum-CoachMark-footer{
	display:grid;
	align-items:end;
	margin-block-start:0;
	padding-block-end:var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
}

.spectrum-CoachMark-footer .spectrum-ButtonGroup{
		grid-column-start:2;
	}

.spectrum-CoachMark-title{
	color:var(--mod-coachmark-title-color, var(--spectrum-coachmark-title-color));
	font-size:var(--mod-coachmark-title-font-size, var(--spectrum-coachmark-title-font-size));
	font-weight:var(--mod-coachmark-title-text-font-weight, var(--spectrum-coachmark-title-text-font-weight));
	font-family:var(--mod-coachmark-title-font-family, var(--spectrum-coachmark-title-font-family));
	font-style:var(--mod-coachmark-title-font-style, var(--spectrum-coachmark-title-font-style));
	line-height:var(--mod-coachmark-title-text-line-height, var(--spectrum-coachmark-title-text-line-height));
	margin-block-end:0;
}

.spectrum-CoachMark-step{
	justify-self:start;
	color:var(--mod-coachmark-step-color, var(--spectrum-coachmark-step-color));
	font-size:var(--mod-coachmark-step-font-size, var(--spectrum-coachmark-step-font-size));
	font-weight:var(--mod-coachmark-step-text-font-weight, var(--spectrum-coachmark-step-text-font-weight));
	font-style:var(--mod-coachmark-step-font-style, var(--spectrum-coachmark-step-font-style));
	line-height:var(--mod-coachmark-step-text-line-height, var(--spectrum-coachmark-step-text-line-height));
	white-space:nowrap;
	margin-block-end:calc(var(--mod-coachmark-step-to-bottom, var(--spectrum-coachmark-step-to-bottom)) - var(--mod-coachmark-padding, var(--spectrum-coachmark-padding)));
}
