/*
 * Respite Provider Manager — Branded login page
 * Replaces wp-login.php / LoginPress for /login/
 */

.rpm-login-body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: linear-gradient(135deg, #faf4fa 0%, #f7f4fd 50%, #eef4fd 100%);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #330033;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rpm-login-shell {
	width: 100%;
	max-width: 460px;
	padding: 24px;
}

.rpm-login-card {
	background: #fff;
	border-radius: 24px;
	padding: 48px 40px;
	box-shadow: 0 12px 32px rgba(102, 0, 102, 0.10);
	text-align: center;
}

.rpm-login-logo {
	margin-bottom: 32px;
}
.rpm-login-logo img {
	height: 56px;
	width: auto;
	display: inline-block;
}

.rpm-login-h1 {
	font-size: 28px;
	font-weight: 700;
	color: #660066;
	margin: 0 0 8px;
	line-height: 1.2;
}
.rpm-login-lead {
	font-size: 15px;
	color: #555;
	margin: 0 0 32px;
	line-height: 1.5;
}

.rpm-login-form {
	text-align: left;
}

.rpm-login-field {
	margin-bottom: 20px;
}
.rpm-login-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #330033;
	margin-bottom: 8px;
}
.rpm-login-field input {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #e5d8e5;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
	color: #330033;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}
.rpm-login-field input:focus {
	outline: none;
	border-color: #660066;
	box-shadow: 0 0 0 3px rgba(102, 0, 102, 0.12);
}

.rpm-login-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	gap: 16px;
	flex-wrap: wrap;
}
.rpm-login-remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #555;
	cursor: pointer;
}
.rpm-login-remember input {
	width: 16px;
	height: 16px;
	accent-color: #660066;
	margin: 0;
}
.rpm-login-link {
	color: #660066;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.rpm-login-link:hover {
	color: #500057;
	text-decoration: underline;
}

.rpm-login-btn {
	width: 100%;
	padding: 14px 24px;
	background: #660066;
	color: #fff;
	border: 2px solid #660066;
	border-radius: 10px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.rpm-login-btn:hover {
	background: #500057;
	border-color: #500057;
}

.rpm-login-back {
	margin-top: 24px;
	margin-bottom: 0;
	text-align: center;
}
.rpm-login-back a {
	color: #660066;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}
.rpm-login-back a:hover { color: #500057; }

.rpm-login-notice {
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}
.rpm-login-notice--success {
	background: #e8f5d3;
	color: #596301;
	border-left: 4px solid #c0cf02;
}
.rpm-login-notice--error {
	background: #fde0e8;
	color: #8a0455;
	border-left: 4px solid #ee0e55;
}

.rpm-login-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: #e8f5d3;
	color: #596301;
	font-size: 32px;
	font-weight: 700;
	border-radius: 50%;
	margin: 0 auto 16px;
}

@media (max-width: 480px) {
	.rpm-login-shell { padding: 16px; }
	.rpm-login-card { padding: 32px 24px; }
	.rpm-login-h1 { font-size: 24px; }
	.rpm-login-row { flex-direction: column; align-items: flex-start; }
}
