/* YouTube Thumbnail Tool - Page Specific Styles */

* {
	box-sizing: border-box;
}

a {
	color: var(--ocean);
}

body {
	font-family: "Roboto", "Segoe UI", sans-serif;
	background: var(--paper);
	color: var(--ink);
	margin: 0;
	padding: 0 0 80px 0;
}

.topbar {
	width: 100%;
	background: #000000;
	color: var(--white);
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.topbar-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--white);
}

.topbar-link {
	color: var(--white);
	font-size: 0.85rem;
	text-decoration: none;
	opacity: 0.85;
}

.topbar-link:hover {
	opacity: 1;
	text-decoration: underline;
}

.container {
	max-width: 700px;
	margin: auto;
	padding: 2rem;
}

h1 {
	margin-bottom: 0.5rem;
}

input {
	flex: 1;
	padding: 12px;
	font-size: 16px;
	border-radius: 6px;
	border: none;
	margin-bottom: 10px;
	margin-right: 10px;
	background: #ffe8db;
	color: var(--ink);
	display: inline-block;
	min-width: 200px;
}

input::placeholder {
	color: var(--muted);
}

button {
	padding: 12px 18px;
	background: #050643;
	border: none;
	border-radius: 6px;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s ease;
	display: inline-block;
	margin-bottom: 10px;
	vertical-align: top;
}

button:hover {
	background: #0f0d5f;
}

.thumb-preview {
	margin-top: 25px;
}

.thumb-preview img {
	max-width: 100%;
	border-radius: 8px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.url-list {
	margin-top: 20px;
}

.url-item {
	background: #ede8e0;
	padding: 10px;
	border-radius: 6px;
	margin-bottom: 8px;
	word-break: break-all;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.url-item a,
.url-item a:visited {
	color: var(--ocean);
	text-decoration: none;
}

.url-item a:hover {
	text-decoration: underline;
}

.copy-btn {
	background: #d9d3ca;
	border: none;
	color: var(--ink);
	padding: 6px 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.copy-btn:hover {
	background: #c8c2b9;
}

.ad-container {
	display: flex;
	justify-content: center;
	padding: 16px 20px;
	text-align: center;
}

.small {
	opacity: 0.7;
	font-size: 14px;
	margin-top: 10px;
}
