/**
 * Raylora Login Register — Frontend styles
 * Matches clean centered auth form design.
 *
 * @package Raylora_Login_Register
 */

.rlr-widget {
	width: 100%;
	display: flex;
	justify-content: center;
}

.rlr-form-box {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 40px;
	box-sizing: border-box;
}

.rlr-logo {
	text-align: center;
	margin-bottom: 20px;
}

.rlr-logo img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.rlr-form-title {
	margin: 0 0 28px;
	padding: 0;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
	text-align: center;
}

.rlr-panel[hidden] {
	display: none !important;
}

.rlr-field {
	margin-bottom: 18px;
}

.rlr-field-label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	line-height: 1.4;
}

.rlr-field-input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.4;
	color: #222;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.rlr-field-input:focus {
	border-color: #f4a261;
	box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.15);
}

.rlr-remember {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

.rlr-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 400;
}

.rlr-remember input[type="checkbox"] {
	margin: 0;
	width: 16px;
	height: 16px;
	accent-color: #f4a261;
}

.rlr-submit-wrap {
	margin-top: 10px;
}

.rlr-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 28px;
	border: none;
	border-radius: 50px;
	background-color: #f4a261;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.rlr-submit:hover {
	background-color: #e76f51;
	color: #fff;
}

.rlr-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.rlr-footer-links {
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

.rlr-footer-links a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rlr-footer-links a:hover {
	color: #f4a261;
}

.rlr-sep {
	margin: 0 8px;
	color: #bbb;
}

.rlr-already {
	margin-right: 6px;
}

.rlr-message {
	margin: 0 0 16px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.45;
	border-radius: 4px;
	background: #f8f8f8;
}

.rlr-message[hidden] {
	display: none !important;
}

.rlr-message.is-success {
	color: #1e7e34;
	background: #eaf7ee;
}

.rlr-message.is-error {
	color: #c0392b;
	background: #fdecea;
}

.rlr-logged-message {
	margin: 0;
	text-align: center;
	font-size: 16px;
	color: #333;
}

.rlr-logged-in .rlr-footer-links {
	margin-top: 16px;
}

@media (max-width: 575px) {
	.rlr-form-box {
		padding: 28px 20px;
	}

	.rlr-form-title {
		font-size: 24px;
	}
}
