/* CUSTOMIZATION: Update Google Fonts import if client needs different fonts */
/* Using Helvetica Neue system font - no Google Fonts import needed */

/* Essential Tailwind base and variables */
*,
:after,
:before {
	box-sizing: border-box;
	border: 0 solid #e5e7eb
}

:after,
:before {
	--tw-content: ""
}

:host,
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-feature-settings: normal;
	font-variation-settings: normal;
	-webkit-tap-highlight-color: transparent
}

body {
	margin: 0;
	line-height: inherit
}

/* Only the Tailwind utility classes that are actually used */
.block {
	display: block
}

.flex {
	display: flex
}

.grid {
	display: grid
}

.hidden {
	display: none
}

.h-5 {
	height: 1.25rem
}

.h-44 {
	height: 11rem
}

.h-full {
	height: 100%
}

.min-h-full {
	min-height: 100%
}

.w-5 {
	width: 1.25rem
}

.w-auto {
	width: auto
}

.w-full {
	width: 100%
}

.max-w-md {
	max-width: 28rem
}

.max-w-7xl {
	max-width: 80rem
}

.flex-1 {
	flex: 1 1 0%
}

.flex-shrink-0 {
	flex-shrink: 0
}

.flex-col {
	flex-direction: column
}

.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr))
}

.items-center {
	align-items: center
}

.justify-center {
	justify-content: center
}

.justify-between {
	justify-content: space-between
}

.justify-items-center {
	justify-items: center
}

.space-y-6>:not([hidden])~:not([hidden]) {
	--tw-space-y-reverse: 0;
	margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
	margin-bottom: calc(1.5rem * var(--tw-space-y-reverse))
}

.p-8 {
	padding: 2rem
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem
}

.py-12 {
	padding-top: 3rem;
	padding-bottom: 3rem
}

.pt-0 {
	padding-top: 0
}

.mb-2 {
	margin-bottom: 0.5rem
}

.mb-8 {
	margin-bottom: 2rem
}

.ml-3 {
	margin-left: 0.75rem
}

.mt-2 {
	margin-top: 0.5rem
}

.mt-5 {
	margin-top: 1.25rem
}

.mt-6 {
	margin-top: 1.5rem
}

.mx-auto {
	margin-left: auto;
	margin-right: auto
}

.my-3 {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem
}

.text-left {
	text-align: left
}

.text-center {
	text-align: center
}

.font-sans {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif
}

.text-3xl {
	font-size: 1.875rem;
	line-height: 2.25rem
}

.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem
}

.font-medium {
	font-weight: 500
}

.font-semibold {
	font-weight: 600
}

.uppercase {
	text-transform: uppercase
}

.leading-6 {
	line-height: 1.5rem
}

.leading-9 {
	line-height: 2.25rem
}

.tracking-tight {
	letter-spacing: -0.025em
}

.text-red-400 {
	--tw-text-opacity: 1;
	color: rgb(248 113 113/var(--tw-text-opacity))
}

.text-red-800 {
	--tw-text-opacity: 1;
	color: rgb(153 27 27/var(--tw-text-opacity))
}

.relative {
	position: relative
}

/* Responsive classes that are used */
@media (min-width: 640px) {
	.sm\:mx-auto {
		margin-left: auto;
		margin-right: auto
	}

	.sm\:w-full {
		width: 100%
	}

	.sm\:max-w-sm {
		max-width: 24rem
	}

	.sm\:px-2 {
		padding-left: 0.5rem;
		padding-right: 0.5rem
	}
}

@media (min-width: 1024px) {
	.lg\:px-8 {
		padding-left: 2rem;
		padding-right: 2rem
	}
}

/* Base body styling */
#__next,
body,
html {
	width: 100%;
	-webkit-overflow-scrolling: touch;
	margin: 0;
	padding: 0;
	min-height: 100%
}

#__next {
	flex-shrink: 0;
	flex-basis: auto;
	flex-direction: column;
	flex-grow: 1;
	display: flex;
	flex: 1
}

html {
	-webkit-text-size-adjust: 100%;
	height: 100%;
	overflow-y: scroll
}

body {
	display: flex;
	overflow-y: auto;
	overscroll-behavior-y: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-ms-overflow-style: scrollbar;
	scrollbar-width: thin;
	scrollbar-color: #888 transparent
}

::-webkit-scrollbar {
	width: 12px;
	height: 12px
}

::-webkit-scrollbar-track {
	background: transparent
}

::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 6px
}

::-webkit-scrollbar-thumb:hover {
	background: #555
}

:root {
	/* CUSTOMIZATION: Update these colors to match your client's brand */
	--primary: #3a3a3a;         /* Charcoal grey - Redhouse Productions */
	--primary-light: #505050;   /* Lighter charcoal */
	--primary-dark: #2a2a2a;    /* Darker charcoal */
	--secondary: #555555;       /* Medium gray */
	--secondary-light: #707070; /* Light gray */
	--accent: #3a3a3a;          /* Charcoal grey accent */
	--accent-hover: #2a2a2a;    /* Darker charcoal on hover */
	--light: #f5f5f5;           /* Light background */
	--gray-50: #fafafa;
	--gray-100: #f5f5f5;
	--gray-200: #e5e5e5;
	--gray-300: #d4d4d4;
	--gray-400: #a3a3a3;
	--gray-500: #737373;
	--gray-600: #525252;
	--gray-700: #404040;
	--gray-800: #262626;
	--gray-900: #171717;
	
	/* CUSTOMIZATION: Update font family if client has different brand fonts */
	--font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Volanteus inspired body styling */
body {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	min-height: 100vh;
	position: relative;
}

/* Subtle professional background pattern */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		radial-gradient(circle at 25px 25px, var(--primary-light) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.3;
	z-index: -1;
}

/* Professional card styling - Sharp and clean for Redhouse Productions */
.login-card {
	background: rgba(255, 255, 255, 0.98);  /* Light background for readability */
	border-radius: 4px;  /* Sharp, minimal rounding */
	box-shadow:
		0 25px 50px -12px rgba(58, 58, 58, 0.15),
		0 10px 20px -8px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--accent);
}

/* Smooth entry animation */
.login-card {
	animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form transition animations */
.form-container {
	opacity: 1;
	transform: translateX(0);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-container.hidden {
	display: none;
}

/* Container for smooth height transitions */
.form-wrapper {
	position: relative;
	overflow: hidden;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: 200px;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* CUSTOMIZATION: Button styling - Charcoal grey for Redhouse Productions */
.btn-primary {
	background: #3a3a3a;            /* Charcoal grey button */
	color: white;                   /* White text */
	border: none;
	padding: 16px 32px;
	border-radius: 2px;             /* Sharp corners - professional */
	font-weight: 600;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
}

.btn-primary:hover::before {
	left: 100%;
}

.btn-primary:hover {
	background: #2a2a2a;            /* Darker charcoal on hover */
	transform: translateY(-2px);
}

.btn-primary:active {
	transform: translateY(0);
}

.btn-primary:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(58, 58, 58, 0.3);
}

/* CUSTOMIZATION: Input field styling - Sharp professional style for Redhouse Productions */
.form-input {
	border: 1px solid #a3a3a3;      /* Medium grey border */
	border-radius: 2px;             /* Sharp corners - minimal rounding */
	padding: 14px 16px;             /* Professional padding */
	font-size: 16px;
	transition: all 0.2s ease;
	background: #ffffff;            /* Clean white background */
	width: 100%;
	color: #2a2a2a;                 /* Dark charcoal text */
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	box-shadow: none;
}

.form-input:focus {
	border-color: #3a3a3a;          /* Charcoal border on focus */
	box-shadow: 0 0 0 2px rgba(58, 58, 58, 0.2);
	outline: none;
	background: #ffffff;            /* White background on focus */
}

.form-input::placeholder {
	color: #a3a3a3;                 /* Light grey placeholder */
	font-weight: 400;
}

.form-input:hover {
	border-color: #737373;          /* Darker grey on hover */
	background: #ffffff;            /* White background on hover */
}

/* Professional typography */
.heading {
	color: var(--primary);  /* Dark text on light background */
	font-weight: 700;
	letter-spacing: -0.025em;
}

.text {
	color: var(--primary);  /* Dark text on light background */
	line-height: 1.6;
}

.text-muted {
	color: var(--gray-600);  /* Muted dark text */
}

/* Font family utilities */
.font-primary {
	font-family: var(--font-primary);
}

/* Combined font + style utilities */
.heading-primary {
	font-family: var(--font-primary);
	color: var(--primary);  /* Dark text on light background */
	font-weight: 700;
	letter-spacing: -0.025em;
}

.text-primary {
	font-family: var(--font-primary);
	color: var(--primary);  /* Dark text on light background */
	line-height: 1.6;
}

/* Error message styling */
.error-message {
	background: #fef2f2;
	border: 1px solid #dc2626;
	color: #991b1b;
	padding: 16px 20px;
	border-radius: 2px;              /* Sharp corners - professional */
	border-left: 4px solid #dc2626;
	position: relative;
	overflow: hidden;
}

.error-message::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: #dc2626;
}

/* Responsive design enhancements */
@media (max-width: 640px) {
	.login-card {
		margin: 16px;
		padding: 24px 20px;
		border-radius: 4px;  /* Maintain sharp corners on mobile */
	}

	.btn-primary {
		padding: 18px 32px;
		font-size: 16px;
		border-radius: 2px;  /* Sharp corners on mobile */
	}

	.form-input {
		padding: 16px;      /* Comfortable padding on mobile for touch */
		font-size: 16px;
	}
}

/* Professional focus indicators */
.form-input:focus,
.btn-primary:focus {
	box-shadow: 0 0 0 2px rgba(58, 58, 58, 0.2);
}