/* ------------------------------------------------------------------
   De Metselarij — Email Signature Generator
   Visual design matched to demetselarij.nl (Elementor kit-5):
     primary  #FF4B3E (coral)      secondary #FBF9F8 (warm white)
     text     #000000              accent    #FFFFFF
     sand     #ECE3DC                 #4D0D0oxblood8   taupe #785D49
   Display type: PP Rader   ·   Body type: Roboto
------------------------------------------------------------------ */

@font-face {
	font-family: "PP Rader";
	src: url("fonts/PPRader-Regular.ttf") format("truetype");
	font-weight: 400 ;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "PP Rader";
	src: url("fonts/PPRader-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "PP Rader";
	src: url("fonts/PPRader-Thin.ttf") format("truetype");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

:root {
	--coral: #FF4B3E;
	--ink: #000000;
	--cream: #FBF9F8;
	--sand: #ECE3DC;
	--oxblood: #4D0D08;
	--taupe: #785D49;
	--grey: #3B3B3B;

	--display: "PP Rader", "Helvetica Neue", Arial, sans-serif;
	--body: "Roboto", Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--body);
	color: var(--ink);
	background-color: var(--cream);
}

.grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	min-height: 100vh;
}

/* ----- Input column ----- */
.input {
	background-color: var(--sand);
	padding: 3rem 2.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.form {
	width: 300px;
}

.field {
	display: block;
	margin-bottom: 1.75rem;
}

.label {
	display: block;
	font-size: 16px;
	font-weight: 400;
	color: var(--ink);
	opacity: 0.9;
	margin-top: 0.45rem;
}

.field input[type='text'],
.field input[type='url'] {
	width: 100%;
	background: none;
	border: none;
	border-bottom: 1px solid var(--coral);
	outline: none;
	font-size: 18px;
	padding: 0 0 0.5rem 0;
	color: var(--ink);
	transition: border-bottom-color 150ms ease;
}

.field input::placeholder {
	color: var(--sand);
	opacity: 0.35;
}

.field input[type='text']:focus,
.field input[type='url']:focus {
	border-bottom-color: var(--ink);
}

/* ----- Output column ----- */
.output {
	background-color: var(--cream);
	padding: 3rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

h1 {
	font-family: var(--display);
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 24px;
	font-size: 40px;
	line-height: 1.05;
	text-align: center;
}

.instructions {
	margin-bottom: 3rem;
	max-width: 560px;
	text-align: center;
}

.instructions p {
	line-height: 1.6;
	margin: 0;
	color: var(--grey);
	font-size: 16px;
}

/* ----- Email browser mockup ----- */
.email-browser {
	box-shadow: 0 12px 40px rgba(77, 13, 8, 0.16);
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
	max-width: 760px;
	border: 1px solid rgba(77, 13, 8, 0.08);
}

.browser-buttons {
	display: flex;
	padding: 0.9rem 1.1rem;
	background-color: var(--sand);
	border-bottom: 1px solid rgba(77, 13, 8, 0.08);
}

.dot {
	height: 0.7rem;
	width: 0.7rem;
	border-radius: 50%;
	margin-right: 0.5rem;
}
.dot:nth-child(1) { background-color: #f2545b; }
.dot:nth-child(2) { background-color: #f5c26b; }
.dot:nth-child(3) { background-color: #00bda5; }

.browser-senders {
	padding: 1rem 1.5rem;
	background-color: var(--sand);
}
.browser-senders p {
	margin: 0;
	line-height: 24px;
	font-size: 0.875rem;
	color: var(--ink);
}

.browser-body {
	background-color: #fff;
	padding: 3rem 2.5rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	overflow-x: auto;
}

/* ----- Export ----- */
.export {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 2rem;
}

/* De Metselarij signature button: coral fill, black border,
   30px pill — inverts to white-fill / black-text on hover. */
.copy-button {
	font-family: var(--body);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.2px;
	color: #fff;
	background-color: var(--coral);
	border: 1px solid var(--ink);
	border-radius: 30px;
	padding: 14px 34px;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease;
}
.copy-button:hover:not(:disabled) {
	background-color: #fff;
	color: var(--ink);
}
.copy-button:disabled,
.copy-button:disabled:hover {
	opacity: 0.35;
	cursor: not-allowed;
}

.notice {
	color: #ffb3a8;
	font-size: 12px;
	margin-top: 6px;
	display: block;
}

#o-notice {
	margin-top: 14px;
	color: var(--ink);
	background-color: #fff;
	padding: 0.4rem 1rem;
	border: 1px solid var(--sand);
	border-radius: 30px;
	font-size: 13px;
}

.invisible {
	opacity: 0;
}

@media (max-width: 800px) {
	.grid {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 32px;
	}
}
