/* /public/assets/css/app.css */

html, body {
	height: 100%;
}

body {
	min-height: 100vh;
}

/* Login Form Layout */

.form-signin {
	max-width: 330px;
	padding: 1rem;
	margin: auto;
}

.form-signin .form-floating:focus-within {
	z-index: 2;
}

.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.card-hover {
    transition: transform .15s ease, box-shadow .15s ease;
}

.card-hover:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.btn-icon-edit {
	border-radius: 0.5rem;
	transition: background-color 0.15s ease-in-out;
}

.btn-icon-edit:hover {
	background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.btn-icon-delete {
	border-radius: 0.5rem;
	transition: background-color 0.15s ease-in-out;
}

.btn-icon-delete:hover {
	background-color: rgba(var(--bs-danger-rgb), 0.1);
}

.job-share-textarea-wrap {
	position: relative;
}

.job-share-copy-trigger {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bs-secondary);
	font-size: 1.125rem;
	line-height: 1;
}

.job-share-copy-trigger:hover {
	color: var(--bs-primary);
}

.job-share-textarea {
	min-height: 28rem;
	padding: 1rem;
	padding-right: 3rem;
	resize: vertical;
	line-height: 1.6;
}

.mail-attachment-badge {
	max-width: 100%;
	font-size: 0.875rem;
	line-height: 1.2;
}

[data-mail-badge-list] {
	align-items: flex-start;
}

.mail-attachment-badge .fw-semibold {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mail-attachment-meta {
	display: block;
	font-size: 0.75rem;
	opacity: 0.85;
}

.mail-attachment-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: inherit;
	flex-shrink: 0;
}

.mail-attachment-remove:hover {
	background: rgba(255, 255, 255, 0.28);
}

.mail-upload-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 8.75rem;
	padding: 1rem;
	border: 2px dashed rgba(var(--bs-primary-rgb), 0.35);
	border-radius: 1rem;
	background: rgba(var(--bs-primary-rgb), 0.03);
	cursor: pointer;
	transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.mail-upload-dropzone:hover,
.mail-upload-dropzone:focus-visible,
.mail-upload-dropzone.is-dragover {
	border-color: rgba(var(--bs-primary-rgb), 0.75);
	background: rgba(var(--bs-primary-rgb), 0.08);
	transform: translateY(-1px);
	outline: 0;
}

.mail-upload-dropzone-label {
	position: absolute;
	top: 0.9rem;
	left: 1rem;
	right: 1rem;
	font-weight: 600;
	color: var(--bs-body-color);
}

.mail-upload-dropzone-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding-top: 1.5rem;
	text-align: center;
	color: var(--bs-body-secondary);
}

.mail-upload-dropzone-icon {
	font-size: 1.75rem;
	line-height: 1;
	color: var(--bs-primary);
}

.mail-upload-dropzone-text {
	display: block;
	font-size: 0.8rem;
	line-height: 1.35;
	word-break: break-word;
	color: var(--bs-secondary-color);
}

.mail-upload-dropzone.has-selection .mail-upload-dropzone-text {
	font-weight: 600;
	color: var(--bs-body-color);
}

.overview-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
}
