/**
 * Infoplakat Login SPA Styles
 */

html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.layout-container {
	height: 100%;
}

.main {
	display: flex;
	height: 100%;
}

.main .wallpaper {
	flex: 0 0 60%;
	background: url('assets/images/wallpaper2019_07.jpg') no-repeat center center fixed;
	background-size: cover;
}

.main .content {
	flex: 0 0 40%;
	background-color: #fff;
	overflow-y: auto;
}

.main .content .content-inner {
	margin-top: 10%;
	padding: 40px 45px;
}

.main .content .logo {
	margin-bottom: 35px;
	text-align: center;
}

.main .content .logo img {
	width: 85%;
	max-width: 300px;
}


/* Responsive - Mobile */
@media only screen and (max-width: 800px) {
	.main {
		flex-direction: column;
	}

	.main .wallpaper {
		display: none;
	}

	.main .content {
		flex: 0 0 100%;
	}

	.main .content .content-inner {
		margin-top: 10%;
		padding: 25px;
	}
}

/* Responsive - Tablet and up */
@media only screen and (min-width: 800px) {
	.main {
		flex-direction: row;
	}

	.main .wallpaper {
		display: block;
		flex: 0 0 60%;
	}

	.main .content {
		flex: 0 0 40%;
	}
}

/* Responsive - Large screens */
@media only screen and (min-width: 1200px) {
	.main .wallpaper {
		flex: 1 1 auto;
	}

	.main .content {
		flex: 0 0 500px;
	}
}


/* Typography */
h2 {
	font-size: 1.4rem;
	color: #333;
}

h4 {
	text-transform: uppercase;
	font-size: 1.2rem;
	color: #6f6f6f;
}


/* Forms */
.form-group {
	margin-bottom: 15px;
}

.form-group label {
	font-weight: 600;
	font-size: 0.9rem;
	color: #555;
}

.form-text {
	font-size: 0.75rem;
	color: #888;
}

/* Use Bootstrap default placeholder styling */

input.onetimecode {
	font-family: monospace;
	font-size: 1.2rem;
	letter-spacing: 2px;
}


/* Feedback messages */
.feedback {
	margin: 15px 0;
	padding: 0;
}

.feedback.has-error {
	animation: headShake;
	animation-duration: 0.8s;
}

.feedback .text-danger {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	border-radius: 8px;
	padding: 12px;
}

.feedback .text-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	padding: 12px;
}

#pw-feedback {
	margin-top: 10px;
}


/* Buttons */
.btn-light {
	border-color: #c3c3c3;
}

.btn-light:hover {
	border-color: #666;
}

.d-grid .btn {
	margin-bottom: 8px;
}


/* Footer links */
.footer-links {
	text-align: center;
	margin-top: 25px;
	font-size: 0.9rem;
}


/* Help text */
.help {
	font-size: 0.85rem;
	color: #888;
	margin: 15px 0;
	line-height: 1.5;
}


/* Logged in view */
.logged-in-message {
	text-align: center;
	padding: 20px 0;
}

.logged-in-message h4 {
	color: #333;
	margin-bottom: 10px;
	text-transform: none;
}

.logged-in-email {
	color: #666;
	font-size: 1rem;
	margin: 0;
}


/* Loader */
.loader {
	margin-right: 8px;
}


/* Credits footer */
.credits {
	font-size: 0.75rem;
	color: #999;
	text-align: center;
	padding: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none; /* Allow clicks to pass through to elements below */
}

@media only screen and (max-width: 800px) {
	.credits {
		position: static;
		margin-top: 40px;
	}
}


/* Terms modal */
#modal-terms {
	padding: 20px;
	font-size: 0.85rem;
	line-height: 1.6;
}

#modal-terms h2 {
	font-size: 1.1rem;
}

#modal-terms h3 {
	font-size: 1rem;
}

#modal-terms h4 {
	font-size: 0.9rem;
	font-weight: bold;
}


/* Signup specific */
#view-signup h2 {
	margin-bottom: 5px;
}

.signup-subtitle {
	color: #888;
	font-size: 0.95rem;
	margin-bottom: 25px;
}

#view-signup fieldset {
	border: none;
	padding: 0;
	margin: 0 0 20px 0;
}

#view-signup legend {
	font-size: 0.8rem;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

#view-signup .form-row {
	display: flex;
	gap: 12px;
}

#view-signup .form-group.half {
	flex: 1;
}

#view-signup .form-group {
	margin-bottom: 12px;
}

#view-signup .form-group label {
	display: block;
	margin-bottom: 4px;
}

#view-signup .required {
	color: #dc3545;
}

.password-requirements {
	font-size: 0.8rem;
	color: #666;
	background: #f8f9fa;
	padding: 10px 12px;
	border-radius: 6px;
	margin-top: 8px;
}

.password-requirements i {
	color: #28a745;
	margin-right: 6px;
}

.terms-section {
	margin: 20px 0;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
}

.terms-section .form-check-label {
	font-size: 0.9rem;
}

#signup-loader,
#signup-complete {
	text-align: center;
	padding: 60px 20px;
}

#signup-loader .spinner-border {
	width: 3rem;
	height: 3rem;
}

.loader-text {
	margin-top: 15px;
	color: #666;
}

.success-icon {
	font-size: 4rem;
	color: #28a745;
	margin-bottom: 20px;
}

#signup-complete h2 {
	color: #28a745;
	margin-bottom: 10px;
}

#signup-complete p {
	color: #666;
	margin-bottom: 25px;
}

/* Responsive adjustments for signup */
@media only screen and (max-width: 800px) {
	#view-signup .form-row {
		flex-direction: column;
		gap: 0;
	}

	.trial-badge {
		display: flex;
		justify-content: center;
	}
}


/* ==========================================================================
   WIDE LAYOUT - for signup, info pages, etc.
   ========================================================================== */

.wide-wrapper {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	background: #f5f7fa;
}

/* Navbar */
.wide-navbar {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	padding: 0 20px;
	flex-shrink: 0;
}

.wide-navbar-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
}

.wide-navbar-brand img {
	height: 32px;
}

.wide-navbar-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* Content area */
.wide-content {
	flex: 1;
	padding: 40px 20px;
}

#app-wide {
	max-width: 800px;
	margin: 0 auto;
}

/* Card container for forms */
.wide-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	padding: 40px;
}

.wide-card-header {
	text-align: center;
	margin-bottom: 30px;
}

.wide-card-header h1 {
	font-size: 1.8rem;
	color: #333;
	margin-bottom: 8px;
}

.wide-card-header p {
	color: #666;
	font-size: 1rem;
	margin: 0;
}

/* Two-column form layout */
.wide-form-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.wide-form-section h3 {
	font-size: 0.85rem;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

/* Footer */
.wide-footer {
	background: #fff;
	border-top: 1px solid #e0e0e0;
	padding: 15px 20px;
	flex-shrink: 0;
}

.wide-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	font-size: 0.8rem;
	color: #999;
}

/* Responsive for wide layout */
@media only screen and (max-width: 700px) {
	.wide-card {
		padding: 25px;
	}

	.wide-form-columns {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wide-navbar-brand img {
		height: 26px;
	}
}
