@charset "UTF-8";

/* CSS Reset and Variables */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--primary-color: #6366F1;
	--primary-hover: #4F46E5;
	--text-color: #333;
	--light-gray: #f8f9fa;
	--border-color: #e0e0e0;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text-color);
	background-color: #fff;
	line-height: 1.5;
}

/* Layout Containers */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}



/* Registration Section */
.register-section {
	padding: 80px 0;
	background-color: var(--light-gray);
}

.register-container {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.register-form-container {
	padding: 50px;
}

.register-header {
	margin-bottom: 30px;
	text-align: center;
}

.register-header h2 {
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 10px;
}

.register-header p {
	color: #777;
}

.form-group {
	margin-bottom: 25px;
}

.form-label {
	font-weight: 500;
	margin-bottom: 8px;
	display: block;
}

.form-control {
	width: 100%;
	height: 50px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 10px 15px;
	font-size: 15px;
	transition: all 0.3s;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
	outline: none;
}

.input-group {
	position: relative;
}

.input-group .form-control {
	width: calc(100% - 50px);
}

.input-group-text {
	position: absolute;
	right: 0;
	top: 0;
	height: 50px;
	width: 50px;
	background-color: white;
	border: 1px solid var(--border-color);
	border-left: none;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.input-group-text:hover {
	color: var(--primary-color);
}

.password-requestuirements {
	font-size: 13px;
	color: #777;
	margin-top: 8px;
}

.password-requestuirements ul {
	padding-left: 20px;
	margin-top: 5px;
	margin-bottom: 0;
}

.password-requestuirements li {
	margin-bottom: 3px;
}

.terms-checkbox {
	margin-bottom: 25px;
	display: flex;
	align-items: flex-start;
}

.checkbox-input {
	margin-right: 10px;
	margin-top: 3px;
}

.checkbox-input:checked {
	accent-color: var(--primary-color);
}

.terms-link {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.terms-link:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.register-button {
	display: block;
	width: 100%;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.register-button:hover {
	background-color: var(--primary-hover);
}

.social-register {
	margin-top: 30px;
	text-align: center;
}

.social-register-title {
	position: relative;
	margin-bottom: 20px;
	color: #777;
}

.social-register-title::before,
.social-register-title::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 30%;
	height: 1px;
	background-color: var(--border-color);
}

.social-register-title::before {
	left: 0;
}

.social-register-title::after {
	right: 0;
}

.social-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.social-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: white;
	border: 1px solid var(--border-color);
	color: #555;
	transition: all 0.3s;
	text-decoration: none;
}

.social-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.social-button.facebook:hover {
	background-color: #3b5998;
	color: white;
	border-color: #3b5998;
}

.social-button.google:hover {
	background-color: #db4437;
	color: white;
	border-color: #db4437;
}

.social-button.apple:hover {
	background-color: #000;
	color: white;
	border-color: #000;
}

.login-link {
	text-align: center;
	margin-top: 30px;
}

.login-link a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s;
}

.login-link a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}



/* Form Validation Styles */
.is-invalid {
	border-color: #dc3545 !important;
}

.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: 0.25rem;
	font-size: 0.875em;
	color: #dc3545;
}

.form-control.is-invalid~.invalid-feedback {
	display: block;
}

/* Success Message */
.success-message {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	margin-bottom: 20px;
}

.success-message i {
	font-size: 48px;
	margin-bottom: 15px;
	color: #28a745;
	display: block;
}

.success-message h3 {
	font-weight: 600;
	margin-bottom: 10px;
}

/* Password Strength Indicator */
.password-strength {
	margin-top: 10px;
	height: 5px;
	border-radius: 5px;
	background-color: #e0e0e0;
}

.password-strength-meter {
	height: 100%;
	border-radius: 5px;
	width: 0%;
	transition: width 0.3s, background-color 0.3s;
}

.strength-text {
	font-size: 12px;
	margin-top: 5px;
	font-weight: 500;
}

.margin-top {
	margin-top: 15px;
}

/* Icon styles to replace Font Awesome */
.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

.icon-check-circle:after {
	content: "✓";
	font-size: 48px;
	color: #28a745;
}

.icon-eye:after {
	content: "👁️";
}

.icon-eye-slash:after {
	content: "🙈";
}

.icon-facebook:after {
	content: "f";
	font-weight: bold;
}

.icon-google:after {
	content: "G";
	font-weight: bold;
}

.icon-apple:after {
	content: "A";
	font-weight: bold;
}



@media (max-width: 576px) {
	.register-section {
		padding: 40px 0;
		margin: auto;
		max-width: 400px;
	}

	.register-container {
		border-radius: 0;
		box-shadow: none;
	}

	.register-form-container {
		padding: 30px 20px;
	}

	.terms-checkbox {
		flex-direction: column;
	}

	.checkbox-input {
		margin-bottom: 5px;
	}
}


.success-message,
.error-message {
	padding: 25px;
	margin: 20px auto;
	border-radius: 8px;
	max-width: 500px;
	text-align: center;
	font-family: 'Segoe UI', sans-serif;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	animation: fadeIn 0.4s ease-in;
}

.success-message {
	background-color: #e6ffed;
	color: #155724;
	border: 1px solid #b5e2c4;
}

.error-message {
	background-color: #ffe6e6;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.success-message .icon,
.error-message .icon {
	font-size: 28px;
	display: block;
	margin-bottom: 10px;
}

.success-message h3,
.error-message h3 {
	font-size: 22px;
	margin: 10px 0;
}

.success-message h2 {
	font-size: 18px;
	margin: 5px 0;
}


.close-btn {
	float: right;
	font-size: 24px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	margin-top: -10px;
	margin-right: -10px;
	padding: 5px;
}

.close-btn:hover {
	color: #000;
}

.register-button:hover {
	background-color: #218838;
}