/*	The CSS for the minimal template theme */

* {
/*	font-family: Helvetica;	 */
	padding: 0;
	margin: 0;
	border-collapse: collapse;	
	border: none;	
	font-family: Arial, sans-serif;
	font-size: 1.25cqw;
} 

html, body {
	height: 100%;
	overflow: hidden;
}

.app-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

header, footer {
	flex-shrink: 0; /* Prevents them from squishing */
	background: var(--utility-colour);
	color: var(--header-text);
	padding: 1rem;
	z-index: 1000;
}

header {
	border-bottom: 3px solid var(--page-border);
	text-align: center;
}

main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: var(--page-colour);
	overflow-y: auto;
}

svg {
	width: 100%;
	height: auto;
}

.logo-box {
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	padding: 1rem;

	height: auto;
	max-width: 100%;
	flex-shrink: 0;
}

.branding-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Ensures smooth rendering */
	image-rendering: -webkit-optimize-contrast;
}

.content-box {
	flex-grow: 1;
	padding: 0 2rem;
	margin: 0;
	position: relative;
}

.my-logo-container {
	background-image: url('/assets/images/Logo-002a.svg');
	background-repeat: no-repeat;
	background-position: center; /* Adjust as needed */
	background-size: contain;	/* Or 'cover', or a specific size */
	width: 30dvw;
	height: 25dvh;

	/* width: 80%;	 Give the div explicit dimensions */
	/* height: 50px;	Or use padding-bottom for aspect ratio */
}

footer {
	border-top: 3px solid var(--page-border);
	font-size: 0.8rem; 
	text-align: center;
}


.btn-primary {
	--bs-btn-color: var(--quote-text);
	--bs-btn-bg: var(--quote-colour);
	--bs-btn-border-color: var(--quote-text);
	--bs-btn-hover-color: var(--page-colour);
	--bs-btn-hover-bg: var(--quote-colour);
	--bs-btn-hover-border-color: var(--quote-colour);
	--bs-btn-focus-shadow-rgb: color-mix(in srgb, var(--highlight), transparent 75%);
	--bs-btn-active-color: var(--highlight);
	--bs-btn-active-bg: var(--quote-colour);
	--bs-btn-active-border-color: var(--quote-colour);
	--bs-btn-active-shadow: inset 0 3px 5px color-mix(in srgb, var(--highlight), transparent 75%);
	--bs-btn-disabled-color: var(--page-colour);
	--bs-btn-disabled-bg: var(--page-colour);
	--bs-btn-disabled-border-color: var(--page-colour);
}

.cta-btn {
	background: var(--quote-colour);
	color: var(--quote-text);
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	text-decoration: none;
}

.form-control:focus {
	border-color: var(--highlight);
	box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--highlight), transparent 75%);
	outline: 0;
}

.form-check-input:focus {
	border-color: var(--highlight);
	box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--highlight), transparent 75%);
	outline: 0;
 }

.form-select:checked {
	background-color: pink !important;
	color: #fff !important;
	background-image: linear-gradient(0deg, #0d6efd 0%, #0d6efd 100%);
}


#croppie-container {
	width:100%; 
	height:300px; 
	border:1px solid var(--page-border); 
	display:none;
}

@keyframes disappear {
  0% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { 
    opacity: 0; 
    transform: translateY(-20px); 
    pointer-events: none; /* Prevents clicking on the invisible element */
  }
}

.alert {
  /* Change 5s to however long you want it to stay */
  animation: disappear 5s forwards; 
}


@media (min-width: 992px) {
	main {
		flex-direction: row; /* Horizontal layout */
		overflow-y: hidden;
	}

	.logo-box {
		height: 100%;
		width: 40%;
		padding: 3rem;
	}

	.content-box {
		width: 60%;
		overflow-y: auto;
		height: 100%; 
		padding: 2rem;
	}
}
