/**
 * LoginNova Plugin Styles
 * 
 * CSS for login/register popup functionality
 */

.plr-close {
	position: absolute;
	right: 15px;
	top: 10px;
	cursor: pointer;
	font-size: 18px;
}

.cl-btn-6 {
	position: relative;
	margin: 10px auto;
	width: 40px;
	cursor: pointer;
}

.cl-btn-6-in {
	width: inherit;
	text-align: center;
}

.cl-btn-6-txt {
	font-size: 10px;
	line-height: 40px;
	font-weight: bold;
	text-transform: uppercase;
	color: #337AB7;
	transition: all .3s ease-in;
	opacity: 0;
	cursor: pointer;
	font-family: Verdana;
}

.cl-btn-6-in:before,
.cl-btn-6-in:after {
	position: absolute;
	content: '';
	height: 4px;
	width: inherit;
	background: #337AB7;
	left: 0;
	transition: all .3s ease-in;
}

.cl-btn-6-in:before {
	top: calc(50% - 4px);
	transform: rotate(45deg);
}

.cl-btn-6-in:after {
	bottom: 50%;
	transform: rotate(-45deg);
}

.cl-btn-6:hover .cl-btn-6-txt {
	opacity: 1;
}

.cl-btn-6:hover .cl-btn-6-in:before,
.cl-btn-6:hover .cl-btn-6-in:after {
	transform: rotate(0);
}

.cl-btn-6:hover .cl-btn-6-in:before {
	top: 0;
}

.cl-btn-6:hover .cl-btn-6-in:after {
	bottom: 0;
}

/* Form Elements */
.plr-popup input[type="checkbox"] {
	width: auto;
	height: auto;
	margin: 0 8px 0 0;
}

/* Submit Button */
.plr-submit {
	background-color: #0073aa;
	color: #ffffff;
	padding: 8px 15px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	width: auto;
}

.plr-submit:hover {
	background-color: #005177;
	transition: background 0.3s ease;
}

/* Form Groups */
.plr-form-group {
	margin-bottom: 15px;
}

.plr-form-group label {
	display: block;
	margin-bottom: 5px;
	text-align: left;
}

.plr-form-group input {
	width: 100%;
	padding: 8px;
}


.plr-menu-item {
	display: inline-block;
	margin-left: 15px;
}

.plr-greeting {
	margin-right: 10px;
	color: #333;
	font-weight: 500;
}

/* Logout Button */
.plr-logout {
	color: #cc0000;
	text-decoration: none;
	padding: 5px 10px;
	border: 1px solid #cc0000;
	border-radius: 3px;
}

.plr-logout:hover {
	background: #cc0000;
	color: #fff;
}


.plr-open-popup {
	border: none;
	padding: 8px 15px;
	cursor: pointer;
}

/* Logged In State */
.plr-logged-in {
	display: flex;
	align-items: center;
	gap: 15px;
}

.plr-logout-button {
	background: #cc0000;
	color: #fff;
	padding: 5px 15px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.3s ease;
}

.plr-logout-button:hover {
	background: #aa0000;
	color: #fff;
}


.plr-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}


.plr-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border-radius: 5px;
	width: 90%;
	max-width: 100%;
	z-index: 10000;
}


.plr-form {
	display: none;
}

#plr-login-form {
	display: block;
}


.plr-form input:focus {
	outline: 2px solid #0073aa;
	border-color: #0073aa;
}


.plr-message {
	display: none;
	padding: 10px;
	margin-bottom: 15px;
	border-radius: 4px;
}

.plr-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.plr-error-message {
	display: none;
	background-color: #f8d7da;
	color: #721c24;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
}
