/* ===== Register Wrapper ===== */
.register-wrapper {
	max-width: 1100px;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 24px;
	background: rgba(10, 17, 49, 0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	min-height: 650px;
	height: auto;
}

/* ===== Left Side: Form ===== */
.register-form-side {
	padding: 2.5rem 2.5rem;
	display: flex;
	align-items: center;
	min-height: 650px;
	height: 100%;
}

.register-form-wrapper {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}

/* Form Header */
.register-header {
	margin-bottom: 1.5rem;
}

.register-badge {
	display: inline-block;
	background: rgba(138, 180, 248, 0.1);
	color: #8ab4f8;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.3rem 1.2rem;
	border-radius: 30px;
	border: 1px solid rgba(138, 180, 248, 0.1);
	margin-bottom: 0.5rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.register-title {
	font-weight: 800;
	font-size: 2rem;
	color: #ffffff;
	letter-spacing: -0.5px;
	margin-bottom: 0.3rem;
}

.register-title .highlight {
	color: #8ab4f8;
}

.register-subtitle {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
	margin: 0;
	line-height: 1.5;
}

/* Form Groups - Row Layout */
.register-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
}

.register-form .form-group {
	margin-bottom: 0.8rem;
}

.register-form .form-group-full {
	grid-column: 1 / -1;
}

.register-form .form-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.7rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
}

.register-form .input-group {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s;
}

.register-form .input-group:focus-within {
	border-color: rgba(138, 180, 248, 0.3);
	box-shadow: 0 0 0 3px rgba(83, 100, 247, 0.08);
}

.register-form .input-group-text {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.3);
	padding: 0.6rem 0.8rem;
	font-size: 0.9rem;
}

.register-form .form-control {
	background: transparent;
	border: none;
	color: #ffffff;
	padding: 0.6rem 0.5rem;
	font-size: 0.85rem;
}

.register-form .form-control::placeholder {
	color: rgba(255, 255, 255, 0.2);
	font-size: 0.8rem;
}

.register-form .form-control:focus {
	box-shadow: none;
	background: transparent;
}

.register-form .form-control.is-invalid {
	border-color: #f87171;
}

.register-form .form-control.is-valid {
	border-color: #34d399;
}

.password-toggle {
	cursor: pointer;
	color: rgba(255, 255, 255, 0.3);
	transition: all 0.3s;
	background: transparent !important;
	border: none !important;
	padding: 0.6rem 0.8rem;
}

.password-toggle:hover {
	color: #8ab4f8;
}

/* ===== User Type Options ===== */
.user-type-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.8rem;
	margin-top: 0.3rem;
}

.user-type-option {
	position: relative;
}

.user-type-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.user-type-option label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 0.5rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	gap: 0.2rem;
	min-height: 80px;
	width: 100%;
}

.user-type-option label i {
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.3);
	transition: all 0.3s;
}

.user-type-option label .user-type-text {
	color: #ffffff;
	font-weight: 600;
	font-size: 0.8rem;
}

.user-type-option label .user-type-sub {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.6rem;
	font-weight: 400;
	line-height: 1.2;
}

.user-type-option input[type="radio"]:checked + label {
	background: rgba(83, 100, 247, 0.08);
	border-color: rgba(83, 100, 247, 0.3);
}

.user-type-option input[type="radio"]:checked + label i {
	color: #8ab4f8;
}

.user-type-option input[type="radio"]:checked + label .user-type-text {
	color: #8ab4f8;
}

.user-type-option label:hover {
	background: rgba(255, 255, 255, 0.06);
}

/* Checkbox */
.register-form .form-check {
	margin: 0.6rem 0 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.register-form .form-check-input {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 0;
}

.register-form .form-check-input:checked {
	background: linear-gradient(135deg, #5364f7, #8ab4f8);
	border-color: #5364f7;
}

.register-form .form-check-label {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
	padding-left: 0.2rem;
}

.register-form .form-check-label a {
	color: #8ab4f8;
	text-decoration: none;
}

.register-form .form-check-label a:hover {
	text-decoration: underline;
}

/* Register Button */
.register-btn {
	background: linear-gradient(135deg, #5364f7, #8ab4f8);
	border: none;
	border-radius: 60px;
	padding: 0.75rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: #ffffff;
	transition: all 0.3s;
	width: 100%;
}

.register-btn:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 25px rgba(83, 100, 247, 0.4);
	color: #ffffff;
}

.register-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none !important;
}

/* Social Login */
.social-divider {
	display: flex;
	align-items: center;
	margin: 0.8rem 0;
	gap: 1rem;
}

.social-divider::before,
.social-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
}

.social-divider span {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
}

.social-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.8rem;
}

.social-btn {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 0.6rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.75rem;
	font-weight: 500;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	cursor: pointer;
}

.social-btn i {
	font-size: 1rem;
}

.social-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.social-btn.google i {
	color: #ea4335;
}

.social-btn.linkedin i {
	color: #0a66c2;
}

.social-btn.apple i {
	color: #ffffff;
}

.register-footer-text {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.85rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 0;
}

.register-link {
	color: #8ab4f8;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.register-link:hover {
	color: #6a9ad8;
	text-decoration: underline;
}

/* Alert Messages */
.alert-message {
	padding: 0.8rem 1rem;
	border-radius: 12px;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	display: none;
}

.alert-message.error {
	display: block;
	background: rgba(248, 113, 113, 0.1);
	border: 1px solid rgba(248, 113, 113, 0.2);
	color: #fca5a5;
}

.alert-message.success {
	display: block;
	background: rgba(52, 211, 153, 0.1);
	border: 1px solid rgba(52, 211, 153, 0.2);
	color: #6ee7b7;
}

.alert-message i {
	margin-right: 0.5rem;
}

/* ===== Right Side: Image ===== */
.register-image-side {
	position: relative;
	overflow: hidden;
	min-height: 650px;
	padding: 0 !important;
	display: flex;
	align-items: stretch;
	height: 100%;
}

.register-image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.register-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
	.register-wrapper {
		border-radius: 20px;
		min-height: auto;
	}
	
	.register-image-side {
		min-height: 300px;
		height: 300px;
	}
	
	.register-image-wrapper {
		min-height: 300px;
		height: 300px;
	}
	
	.register-form-side {
		padding: 2rem;
		min-height: auto;
	}
	
	.register-title {
		font-size: 1.8rem;
	}
	
	.register-form .form-row {
		grid-template-columns: 1fr 1fr;
		gap: 0.6rem;
	}
}

@media (max-width: 768px) {
	.register-wrapper {
		border-radius: 16px;
	}
	
	.register-image-side {
		min-height: 220px;
		height: 220px;
	}
	
	.register-image-wrapper {
		min-height: 220px;
		height: 220px;
	}
	
	.register-form-side {
		padding: 1.5rem;
	}
	
	.register-title {
		font-size: 1.5rem;
	}
	
	.register-subtitle {
		font-size: 0.8rem;
	}
	
	.register-form .form-row {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
	
	.user-type-options {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.5rem;
	}
	
	.user-type-option label {
		min-height: 70px;
		padding: 0.6rem 0.4rem;
	}
	
	.user-type-option label i {
		font-size: 1.2rem;
	}
	
	.user-type-option label .user-type-text {
		font-size: 0.7rem;
	}
	
	.user-type-option label .user-type-sub {
		font-size: 0.55rem;
	}
	
	.social-buttons {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0.5rem;
	}
	
	.social-btn {
		font-size: 0.7rem;
		padding: 0.5rem;
	}
}

@media (max-width: 576px) {
	.register-wrapper {
		border-radius: 12px;
	}
	
	.register-image-side {
		min-height: 180px;
		height: 180px;
	}
	
	.register-image-wrapper {
		min-height: 180px;
		height: 180px;
	}
	
	.register-form-side {
		padding: 1rem;
	}
	
	.register-title {
		font-size: 1.3rem;
	}
	
	.register-subtitle {
		font-size: 0.75rem;
	}
	
	.register-form .form-row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	
	.register-form .form-group {
		margin-bottom: 0.5rem;
	}
	
	.register-btn {
		font-size: 0.85rem;
		padding: 0.65rem;
	}
	
	.register-footer-text {
		font-size: 0.75rem;
	}
	
	.user-type-options {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.4rem;
	}
	
	.user-type-option label {
		min-height: 60px;
		padding: 0.5rem 0.3rem;
		border-radius: 10px;
	}
	
	.user-type-option label i {
		font-size: 1rem;
	}
	
	.user-type-option label .user-type-text {
		font-size: 0.6rem;
	}
	
	.user-type-option label .user-type-sub {
		font-size: 0.45rem;
	}
	
	.social-buttons {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}
	
	.social-btn {
		font-size: 0.7rem;
		padding: 0.5rem;
	}
	
	.register-form .form-check-label {
		font-size: 0.7rem;
	}
}