/* InstaCruise's styles, loaded after css/app.css (a dark copy is made for dark mode, see dark-mode.php) */

/* upload.php: the drop zone, the file input itself stays out of sight */
.ic-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}
.ic-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 180px;
	padding: 20px;
	margin: 0 0 15px;
	border: 2px dashed #ced4da;
	border-radius: 6px;
	background: #f8f9fa;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.ic-dropzone i {
	font-size: 48px;
	color: #74788d;
}
.ic-dropzone-text {
	font-size: 16px;
	font-weight: 500;
}
.ic-dropzone:hover,
.ic-dropzone-over {
	border-color: #74788d;
	background: #eff2f7;
}
.ic-upload-problems {
	padding-left: 18px;
	margin-top: 6px;
}

/* the photo grid: two across on phones, more on wider screens */
.ic-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}
.ic-photo {
	border: 1px solid #eff2f7;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
.ic-photo-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #f8f9fa;
}
.ic-photo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ic-photo-image i {
	font-size: 36px;
	color: #adb5bd;
}
.ic-photo-info {
	padding: 6px 8px 8px;
	line-height: 1.4;
}
@media (max-width: 400px) {
	.ic-photo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* account-edit.php: the tone presets under the tone box */
.ic-tone-presets .btn {
	margin: 4px 4px 0 0;
}

/* ---- app/index.php: the public front page. Primary colours come from text-primary / bg-primary / btn-primary,
   which follow Global settings, so only neutrals are set here ---- */
.ic-front {
	background: #ffffff;
	color: #343a40;
	font-size: 15px;
}
.ic-front h1 {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	margin: 12px 0 18px;
}
.ic-front h2 {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: center;
}
.ic-front h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 12px 0 8px;
}
.ic-front-nav {
	position: sticky;
	top: 0;
	z-index: 10;
	padding: 14px 0;
	background: rgba(255, 255, 255, .95);
	border-bottom: 1px solid #eff2f7;
}
.ic-front-logo img {
	max-height: 38px;
	max-width: 180px;
}
.ic-front-link {
	color: #495057;
	font-weight: 500;
	margin-left: 22px;
}
.ic-front-hero {
	padding: 70px 0 60px;
	background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}
.ic-front-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ic-front-lead {
	font-size: 18px;
	line-height: 1.6;
	color: #5c636a;
}
.ic-front-actions {
	margin: 26px 0 14px;
}
.ic-front-actions .btn {
	margin: 0 10px 10px 0;
}
.ic-front-note {
	color: #74788d;
}
.ic-front-note i {
	font-size: 18px;
	vertical-align: -3px;
}

/* the review screen illustration */
.ic-front-phone {
	max-width: 360px;
	margin: 40px auto 0;
	padding: 18px;
	border: 1px solid #e9ecef;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 20px 50px rgba(52, 58, 64, .15);
}
.ic-front-phone-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 12px;
	font-size: 14px;
}
.ic-front-phone-top span {
	color: #74788d;
	font-size: 12px;
}
.ic-front-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 170px;
	border-radius: 14px;
	color: #ffffff;
	font-size: 64px;
}
.ic-front-photo-road {
	background: linear-gradient(160deg, #f6a96b 0%, #e7695d 45%, #5b4b8a 100%);
}
.ic-front-tags {
	margin: 10px 0 6px;
}
.ic-front-tags span {
	display: inline-block;
	padding: 2px 9px;
	margin: 0 4px 4px 0;
	border-radius: 10px;
	background: #f1f3f5;
	color: #5c636a;
	font-size: 11px;
}
.ic-front-row {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid #f1f3f5;
	font-size: 13px;
}
.ic-front-row > i {
	font-size: 22px;
	color: #adb5bd;
}
.ic-front-row em {
	color: #adb5bd;
	font-size: 11px;
}
.ic-front-row p {
	margin: 2px 0 0;
	color: #5c636a;
}
.ic-front-row:not(.ic-front-row-on) p {
	opacity: .6;
}
.ic-front-phone-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid #f1f3f5;
	font-size: 13px;
}
.ic-front-phone-bar b {
	padding: 7px 14px;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 600;
}

/* sections */
.ic-front-section {
	padding: 70px 0;
}
.ic-front-alt {
	background: #f8f9fa;
}
.ic-front-sub {
	max-width: 620px;
	margin: 0 auto 36px;
	color: #74788d;
	font-size: 16px;
	text-align: center;
}
.ic-front-sub.text-left {
	margin-left: 0;
}
.ic-front-alt h2.text-left,
.ic-front-alt .col-lg-5 h2 {
	text-align: left;
}
.ic-front-step,
.ic-front-feature {
	position: relative;
	height: calc(100% - 24px);
	margin-bottom: 24px;
	padding: 26px 22px;
	border: 1px solid #eff2f7;
	border-radius: 12px;
	background: #ffffff;
}
.ic-front-step i,
.ic-front-feature i {
	font-size: 34px;
}
.ic-front-step p,
.ic-front-feature p {
	margin: 0;
	color: #5c636a;
	line-height: 1.6;
}
.ic-front-step-number {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 26px;
	text-align: center;
}

/* one photo, several accounts */
.ic-front-route {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 20px;
}
.ic-front-route-photo {
	display: flex;
	flex: 0 0 130px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 130px;
	border-radius: 14px;
	background: linear-gradient(160deg, #f6a96b 0%, #e7695d 45%, #5b4b8a 100%);
	color: #ffffff;
	font-size: 12px;
}
.ic-front-route-photo i {
	font-size: 48px;
}
.ic-front-route-accounts {
	flex: 1;
}
.ic-front-route-account {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding: 12px 14px;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
	font-size: 14px;
}
.ic-front-route-account span {
	flex: 1;
	color: #74788d;
	font-size: 13px;
}
.ic-front-route-account i {
	font-size: 22px;
	color: #adb5bd;
}
.ic-front-route-account:not(.ic-front-route-match) {
	opacity: .55;
}

/* questions */
.ic-front-narrow {
	max-width: 760px;
}
.ic-front-faq {
	margin-bottom: 10px;
	padding: 16px 20px;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	background: #ffffff;
}
.ic-front-faq summary {
	font-weight: 600;
	cursor: pointer;
}
.ic-front-faq p {
	margin: 10px 0 0;
	color: #5c636a;
	line-height: 1.6;
}
.ic-front-cta .ic-front-sub {
	margin-bottom: 24px;
}
.ic-front-footer {
	padding: 24px 0;
	border-top: 1px solid #eff2f7;
	color: #74788d;
	font-size: 13px;
}
.ic-front-footer nav a {
	margin-left: 18px;
	color: #74788d;
}

/* phones: smaller headings, the route stacked */
@media (max-width: 767px) {
	.ic-front h1 {
		font-size: 32px;
	}
	.ic-front h2 {
		font-size: 24px;
	}
	.ic-front-hero,
	.ic-front-section {
		padding: 44px 0;
	}
	.ic-front-link {
		margin-left: 14px;
	}
	.ic-front-route {
		flex-direction: column;
		align-items: stretch;
	}
	.ic-front-route-photo {
		flex-basis: 110px;
		height: 110px;
	}
	.ic-front-footer nav {
		width: 100%;
		margin: 8px 0 0;
	}
	.ic-front-footer nav a {
		margin: 0 18px 0 0;
	}
}
