@charset "UTF-8";
/* ===== CSS VARIABLES — SOFT BLUE THEME ===== */
:root {
	--blue-deep: #1a3a5c;
	--blue-mid: #2155a3;
	--blue-soft: #3a7bd5;
	--blue-pale: #e8f1fb;
	--blue-lightest: #f0f6ff;
	--accent: #5b9bd5;
	--accent-light: #a8cdf0;
	--bg-page: #eef4fb;
	--white: #ffffff;
	--text-dark: #1c2b3a;
	--text-mid: #2d4a6e;
	--text-light: #6b86a8;
	--border: #c8daf0;
	--border-light: #ddeaf8;
	--success: #1a6b42;
	--danger: #b03030;
	--warning: #8a6010;
	--shadow-sm: 0 2px 14px rgba(26, 58, 92, 0.09);
	--shadow-md: 0 8px 32px rgba(26, 58, 92, 0.13);
	--shadow-lg: 0 20px 60px rgba(26, 58, 92, 0.17);
	--radius: 13px;
	--radius-lg: 22px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 15px;
}

body {
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	background: var(--bg-page);
	color: var(--text-dark);
	margin: 0;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at 12% 18%, rgba(91, 155, 213, 0.10)
		0%, transparent 50%),
		radial-gradient(circle at 88% 82%, rgba(26, 58, 92, 0.07) 0%,
		transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* ===== HEADER ===== */
.site-header {
	background: linear-gradient(135deg, var(--blue-deep) 0%, #1e4a80 55%,
		var(--blue-mid) 100%);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.site-header::before {
	content: '';
	position: absolute;
	top: -70px;
	right: -70px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(91, 155, 213, 0.12);
}

.site-header::after {
	content: '';
	position: absolute;
	bottom: -45px;
	left: 8%;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(168, 205, 240, 0.08);
}

.header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 44px;
	max-width: 1200px;
	margin: 0 auto;
}

.header-logo-block {
	display: flex;
	align-items: center;
	gap: 20px;
}

.logo-circle {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 2.5px solid rgba(168, 205, 240, 0.55);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.07);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-circle img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.header-title {
	color: var(--white);
}

.header-title h1 {
	font-family: 'Playfair Display', serif;
	font-size: 1.45rem;
	font-weight: 700;
	margin: 0 0 3px;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.header-title .subtitle {
	font-size: 0.88rem;
	color: var(--accent-light);
	font-weight: 400;
	letter-spacing: 0.03em;
	display: block;
	margin-bottom: 2px;
}

.header-title .address {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.52);
	letter-spacing: 0.02em;
}

.header-nav-links {
	display: flex;
	gap: 10px;
}

.header-nav-links a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	transition: all 0.25s ease;
	letter-spacing: 0.02em;
}

.header-nav-links a:hover {
	background: rgba(91, 155, 213, 0.25);
	border-color: var(--accent-light);
	color: var(--white);
}

.header-accent-line {
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--accent) 30%,
		var(--accent-light) 50%, var(--accent) 70%, transparent);
}

/* ===== LAYOUT ===== */
.page-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 34px 26px 64px;
	position: relative;
	z-index: 1;
}

/* ===== MAIN CONTENT ===== */
.main-content {
	width: 100%;
}

/* ===== ALERTS ===== */
.alert-modern {
	padding: 14px 20px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 0.93rem;
	animation: slideDown 0.35s ease;
}

@
keyframes slideDown {from { opacity:0;
	transform: translateY(-12px);
}

to {
	opacity: 1;
	transform: translateY(0);
}

}
.alert-modern .alert-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-top: 1px;
}

.alert-modern .alert-close {
	margin-left: auto;
	background: none;
	border: none;
	cursor: pointer;
	opacity: 0.5;
	font-size: 1.1rem;
	padding: 0;
	line-height: 1;
	color: inherit;
}

.alert-modern .alert-close:hover {
	opacity: 1;
}

.alert-success-m {
	background: #e8f7ef;
	color: var(--success);
	border-left: 4px solid #2da868;
}

.alert-danger-m {
	background: #fceaea;
	color: var(--danger);
	border-left: 4px solid #c0392b;
}

.alert-warning-m {
	background: #fdf5e0;
	color: var(--warning);
	border-left: 4px solid #d4a017;
}

.alert-modern a {
	color: inherit;
	font-weight: 700;
}

/* ===== REGISTRATION CARD ===== */
.reg-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	border: 1px solid var(--border-light);
	animation: fadeUp 0.45s ease;
}

@
keyframes fadeUp {from { opacity:0;
	transform: translateY(18px);
}

to {
	opacity: 1;
	transform: translateY(0);
}

}
.reg-card-header {
	background: linear-gradient(135deg, var(--blue-deep) 0%, #1e4a80 60%,
		var(--blue-mid) 100%);
	padding: 28px 40px;
	position: relative;
	overflow: hidden;
}

.reg-card-header::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(91, 155, 213, 0.12);
}

.reg-card-header::after {
	content: '';
	position: absolute;
	bottom: -30px;
	left: 40%;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(168, 205, 240, 0.07);
}

.reg-card-header h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--white);
	margin: 0 0 5px;
	position: relative;
	z-index: 1;
}

.reg-card-header .header-meta {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.58);
	margin: 0;
	position: relative;
	z-index: 1;
}

.reg-card-body {
	padding: 38px 40px;
}

/* ===== FORM SECTIONS ===== */
.form-section {
	margin-bottom: 34px;
}

.section-label {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-light);
	margin-bottom: 16px;
}

.section-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border-light);
}

.section-label .section-num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--blue-mid);
	color: var(--white);
	font-size: 0.72rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ===== FORM GRID ===== */
.form-grid {
	display: grid;
	gap: 18px;
}

.form-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.form-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

.form-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.field-group {
	position: relative;
}

.field-label {
	display: block;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--text-mid);
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.field-label .required-star {
	color: #d94040;
	margin-left: 3px;
}

.field-input {
	width: 100%;
	padding: 11px 16px;
	border: 1.5px solid var(--border);
	border-radius: 11px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.93rem;
	color: var(--text-dark);
	background: var(--blue-lightest);
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.field-input:focus {
	border-color: var(--blue-soft);
	background: var(--white);
	box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.12);
}

.field-input::placeholder {
	color: var(--text-light);
	font-weight: 400;
	font-size: 0.88rem;
}

.field-input:valid:not(:placeholder-shown) {
	border-color: #2da868;
}

select.field-input {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b86a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-color: var(--blue-lightest);
	padding-right: 40px;
	cursor: pointer;
}

/* ===== GENDER RADIO GROUP ===== */
.gender-group {
	display: flex;
	gap: 12px;
	margin-top: 4px;
	flex-wrap: wrap;
}

.gender-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	background: var(--blue-lightest);
	transition: all 0.2s;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-mid);
	user-select: none;
	flex: 1;
	justify-content: center;
}

.gender-option:hover {
	border-color: var(--blue-soft);
	background: var(--blue-pale);
}

.gender-option input[type="radio"] {
	accent-color: var(--blue-mid);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.gender-option input[type="radio"]:checked+span {
	color: var(--blue-mid);
	font-weight: 600;
}

.gender-option:has(input:checked) {
	border-color: var(--blue-mid);
	background: var(--blue-pale);
}

/* ===== FORM FOOTER ===== */
.form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--border-light);
	flex-wrap: wrap;
	gap: 14px;
}

.login-link {
	font-size: 0.9rem;
	color: var(--text-light);
}

.login-link a {
	color: var(--blue-mid);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1.5px solid var(--accent);
	padding-bottom: 1px;
	transition: color 0.2s;
}

.login-link a:hover {
	color: var(--blue-soft);
}

.form-actions {
	display: flex;
	gap: 11px;
}

.btn-register {
	padding: 11px 28px;
	background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
	color: var(--white);
	border: none;
	border-radius: 11px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.93rem;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.03em;
	transition: all 0.25s;
	box-shadow: 0 4px 16px rgba(26, 58, 92, 0.24);
	position: relative;
	overflow: hidden;
}

.btn-register::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(168, 205, 240, 0.2),
		transparent);
	opacity: 0;
	transition: opacity 0.25s;
}

.btn-register:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 26px rgba(26, 58, 92, 0.32);
}

.btn-register:hover::before {
	opacity: 1;
}

.btn-register:active {
	transform: translateY(0);
}

.btn-reset {
	padding: 11px 20px;
	background: var(--white);
	color: var(--text-mid);
	border: 1.5px solid var(--border);
	border-radius: 11px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.93rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-reset:hover {
	border-color: var(--blue-soft);
	color: var(--blue-deep);
	background: var(--blue-pale);
}

/* ===== FOOTER ===== */
.site-footer {
	background: linear-gradient(135deg, var(--blue-deep), #1a3560);
	color: rgba(255, 255, 255, 0.65);
	padding: 40px 0 0;
	margin-top: 44px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 44px;
}

.footer-section h4 {
	font-family: 'Playfair Display', serif;
	color: var(--white);
	font-size: 1.05rem;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(91, 155, 213, 0.35);
}

.footer-section p {
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 7px;
}

.footer-section .fa {
	color: var(--accent-light);
	width: 16px;
}

.footer-bottom {
	margin-top: 28px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.86rem;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-bottom a {
	color: var(--accent-light);
	text-decoration: none;
}

.footer-bottom a:hover {
	text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media ( max-width : 992px) {
	.form-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.form-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( max-width : 768px) {
	html {
		font-size: 14px;
	}
	.header-inner {
		padding: 14px 18px;
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	.header-nav-links {
		flex-wrap: wrap;
		justify-content: center;
	}
	.header-title h1 {
		font-size: 1.2rem;
	}
	.reg-card-body {
		padding: 22px;
	}
	.reg-card-header {
		padding: 22px;
	}
	.form-grid-4, .form-grid-3, .form-grid-2 {
		grid-template-columns: 1fr;
	}
	.form-footer {
		flex-direction: column;
		align-items: stretch;
	}
	.form-actions {
		justify-content: flex-end;
	}
	.page-wrapper {
		padding: 18px 14px 40px;
	}
}

@media ( max-width : 480px) {
	.reg-card-header h3 {
		font-size: 1.2rem;
	}
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}