:root {
	--bs-primary: #9dac9a;
	--bs-primary-50: #e2f0e6;
	--bs-black: #181818;
}

.site-main {
	padding: 3rem 1rem;
}

@media (min-width: 640px) {
	.site-main {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.site-main {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.b2b-login {
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
	padding: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.b2b-login h1 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	color: #111827;
	text-align: center;
	margin-bottom: 2rem;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: 0.25rem;
}

.form-group input {
	appearance: none;
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.form-group input::placeholder {
	color: #9ca3af;
}

.form-group input:focus {
	outline: none;
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 2px var(--bs-primary);
}

.button-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 2rem;
}

.btn {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	cursor: pointer;
}

.btn:focus {
	outline: none;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bs-primary);
}

.btn-primary {
	color: white;
	background-color: var(--bs-primary);
	border: 1px solid transparent;
}

.btn-primary:hover {
	background-color: var(--bs-black, #000);
}

.btn-default {
	color: #374151;
	background-color: white;
	border: 1px solid #d1d5db;
}

.btn-default:hover {
	background-color: #f9fafb;
}

.alert {
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 0.375rem;
}

.alert-danger {
	background-color: #fef2f2;
	color: #b91c1c;
}

.alert-success {
	background-color: #f0fdf4;
	color: #15803d;
}

.alert-info {
	background-color: #eff6ff;
	color: #1d4ed8;
}

.b2b-register {
	max-width: 480px;
	margin: 2rem auto;
	padding: 2rem;
	background: white;
	border-radius: 0.5rem;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.b2b-register h1 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	color: #111827;
	margin-bottom: 1.5rem;
}

.form-group {
	margin-bottom: 1rem;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: 0.5rem;
}

.form-control {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: #111827;
	background-color: #fff;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
	outline: none;
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 2px rgba(165, 0, 85, 0.1);
}

.button-wrapper {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.button-wrapper .btn {
	flex: 1;
}

.row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.col-12 {
	width: 100%;
}

/* Login form styles */
.bruid-login-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bruid-login-container form {
	display: block;
	width: 100%;
}

.bruid-login-container input[type="text"],
.bruid-login-container input[type="email"],
.bruid-login-container input[type="password"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.bruid-login-container button,
.bruid-login-container input[type="submit"] {
	background-color: #e91e63;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}

.bruid-login-container button:hover,
.bruid-login-container input[type="submit"]:hover {
	background-color: #d81b60;
}

/* Error messages */
.bruid-login-container .error-message {
	color: #e91e63;
	margin-bottom: 15px;
}

/* Success messages */
.bruid-login-container .success-message {
	color: #4caf50;
	margin-bottom: 15px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
	.bruid-login-container {
		max-width: 500px;
	}
}
