/*
 * 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 '../../Styles/main';

.column-item {
	color: inherit;
	font-weight: bold;
	font-size: 1rem;

	background-color: main.$white;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(main.$black, 0.25);

	transition: none;

	.column-item-message-button {
		width: 100%;
		padding: 1rem 1.2rem;

		white-space: pre-wrap;
		text-align: left;
		word-break: break-word;

		border: 3px solid transparent;

		&.opacity {
			opacity: 0.25;
		}

		&:disabled {
			user-select: none;
			pointer-events: none;
		}
	}
}

@include main.inside-modal {
	.column-item {
		width: calc(100% - 16px);
		margin: main.$in-modal-border-width;

		border-radius: 6px;
		transform: none;

		@include main.breakpoint-medium {
			width: 450px;
			max-width: 650px;

			font-size: 1rem;
		}
	}
}

@include main.dark-theme {
	.column-item {
		color: main.$off-white;

		background-color: main.$light-asphalt;
		box-shadow: 0 1px 2px rgba(main.$black, 0.35);
	}
}
