/**
 * Tokyo resume template styles
 */

.rezicraft-resume--tokyo {
	--rezicraft-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	background: var(--rezicraft-sidebar, #ffffff);
	color: var(--rezicraft-text);
	font-family: var(--rezicraft-sans);
	font-size: 12px;
	line-height: 1.55;
	border-top: 4px solid var(--rezicraft-accent);
}

.rezicraft-resume--tokyo .rezicraft-resume__layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	min-height: 100%;
}

.rezicraft-resume--tokyo .rezicraft-resume__sidebar {
	padding: 32px 24px;
	background: var(--rezicraft-sidebar);
	border-right: 1px solid var(--rezicraft-rule);
}

.rezicraft-resume--tokyo .rezicraft-resume__main {
	padding: 32px 36px;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-section + .rezicraft-sidebar-section {
	margin-top: 22px;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-section__title {
	margin: 0 0 8px;
	padding-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rezicraft-accent);
	border-bottom: 1px solid var(--rezicraft-rule);
}

.rezicraft-resume--tokyo .rezicraft-sidebar-contact,
.rezicraft-resume--tokyo .rezicraft-sidebar-skills,
.rezicraft-resume--tokyo .rezicraft-sidebar-certifications {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-contact li,
.rezicraft-resume--tokyo .rezicraft-sidebar-certifications li {
	margin-bottom: 6px;
	font-size: 11px;
	line-height: 1.45;
	color: var(--rezicraft-muted);
	word-break: break-word;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-skills__group {
	margin-bottom: 8px;
	font-size: 11px;
	line-height: 1.45;
	color: var(--rezicraft-muted);
}

.rezicraft-resume--tokyo .rezicraft-sidebar-skills__group strong {
	display: block;
	margin-bottom: 2px;
	color: var(--rezicraft-text);
}

.rezicraft-resume--tokyo .rezicraft-sidebar-education__item + .rezicraft-sidebar-education__item {
	margin-top: 10px;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-education__school {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	color: var(--rezicraft-text);
}

.rezicraft-resume--tokyo .rezicraft-sidebar-education__degree,
.rezicraft-resume--tokyo .rezicraft-sidebar-education__dates {
	margin: 0;
	font-size: 11px;
	color: var(--rezicraft-muted);
}

.rezicraft-resume--tokyo .rezicraft-sidebar-certifications__link {
	color: var(--rezicraft-link);
	text-decoration: none;
}

.rezicraft-resume--tokyo .rezicraft-sidebar-certifications__link:hover {
	text-decoration: underline;
}

.rezicraft-resume--tokyo .rezicraft-resume__name {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
}

.rezicraft-resume--tokyo .rezicraft-resume__title {
	margin: 0 0 18px;
	font-size: 12px;
	color: var(--rezicraft-muted);
}

.rezicraft-resume--tokyo .rezicraft-section {
	margin-bottom: 20px;
}

.rezicraft-resume--tokyo .rezicraft-section__title {
	margin: 0 0 10px;
	padding-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rezicraft-text);
	border-bottom: 1px solid var(--rezicraft-rule);
}

.rezicraft-resume--tokyo .rezicraft-section__summary {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--rezicraft-muted);
	text-align: justify;
}

.rezicraft-resume--tokyo .rezicraft-entries {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rezicraft-resume--tokyo .rezicraft-entry__headline {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.rezicraft-resume--tokyo .rezicraft-entry__dates {
	flex: 0 0 auto;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
}

.rezicraft-resume--tokyo .rezicraft-entry__separator {
	margin: 0 4px;
}

.rezicraft-resume--tokyo .rezicraft-entry__stack {
	font-weight: 400;
	color: var(--rezicraft-muted);
}

.rezicraft-resume--tokyo .rezicraft-entry__link {
	color: var(--rezicraft-link);
	text-decoration: none;
}

.rezicraft-resume--tokyo .rezicraft-entry__link:hover {
	text-decoration: underline;
}

.rezicraft-resume--tokyo .rezicraft-entry__bullets {
	margin: 4px 0 0;
	padding-left: 18px;
}

.rezicraft-resume--tokyo .rezicraft-entry__bullets li {
	margin-bottom: 3px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--rezicraft-muted);
}

@media (max-width: 782px) {
	.rezicraft-resume--tokyo .rezicraft-resume__layout {
		grid-template-columns: 1fr;
	}

	.rezicraft-resume--tokyo .rezicraft-resume__sidebar {
		padding: 24px 20px;
		border-right: 0;
		border-bottom: 1px solid var(--rezicraft-rule);
	}

	.rezicraft-resume--tokyo .rezicraft-resume__main {
		padding: 24px 20px;
	}

	.rezicraft-resume--tokyo .rezicraft-resume__name {
		font-size: clamp(22px, 6vw, 28px);
	}

	.rezicraft-resume--tokyo .rezicraft-entry__headline {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.rezicraft-resume--tokyo .rezicraft-entry__dates {
		white-space: normal;
	}
}

@media (max-width: 480px) {
	.rezicraft-resume--tokyo .rezicraft-resume__sidebar,
	.rezicraft-resume--tokyo .rezicraft-resume__main {
		padding: 20px 16px;
	}
}

/* Admin preview wrapper */
.rezicraft-template-preview-wrap .rezicraft-resume--tokyo {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}
