/*
* Copyright (c) 2022 Ford Motor Company
* All rights reserved.
*
* Licensed 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 CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

@use 'colors';
@use 'mixins';

@mixin white-modal-base {
	width: 100%;
	height: auto;
	padding: 3rem 3.5rem 4.5rem;

	font-size: 1rem;

	background-color: colors.$white;
	border-radius: 6px;
	box-shadow: 0 19px 38px rgba(colors.$black, 0.3);

	.dark-theme & {
		background-color: colors.$dark-asphalt;
	}
}

@mixin white-modal-title {
	width: 100%;
	margin-bottom: 0.5rem;

	font-weight: bold;

	font-size: 2rem;
	text-align: center;
	text-transform: capitalize;

	cursor: default;

	@include mixins.breakpoint-medium {
		font-size: 2.5rem;
	}

	.dark-theme & {
		color: colors.$off-white;
	}
}
