/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
/* <fs_premium_only> */
 /* The Modal (background) */
.wapcm-modal.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 9999; /* Sit on top */
	left: 0;
	top: 5%;
	top: 0;
	bottom:0;
	right:0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.wapcm-modal .modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.wapcm-modal .close {
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.wapcm-modal .close:hover,
.wapcm-modal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
} 
 /* Modal Header */
.wapcm-modal .modal-header {
	padding: 2px 16px;
	border-bottom: 1px solid black;
}

/* Modal Body */
.wapcm-modal .modal-body {padding: 2px 16px;}

/* Modal Footer */
.wapcm-modal .modal-footer {
	padding: 2px 16px;
	/*background-color: #5cb85c;*/
	color: white;
  
	border-top: 1px solid black;
}

/* Modal Content */
.wapcm-modal .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	animation-name: animatetop;
	animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
} 



/* Add styles to the form container */
.wapcm-modal .form-container {
	background-color: white;
}

/* Full-width input fields */
.wapcm-modal .form-container input[type=text], .wapcm-modal .form-container input[type=email], .wapcm-modal .form-container input[type=password], .wapcm-modal .form-container textarea {
	width: 97%;
	padding: 15px;
	margin: 5px 0 22px 0;
	border: none;
	background: #f1f1f1;
}

/* When the inputs get focus, do something */
.wapcm-modal .form-container input[type=text]:focus, .wapcm-modal .form-container input[type=password]:focus {
	background-color: #ddd;
	outline: none;
}

/* Set a style for the submit/login button */
.wapcm-modal .form-container .btn {
	background-color: #04AA6D;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	width: 100%;
	margin-bottom:10px;
	margin:10px 0;
	opacity: 0.8;
}

/* Add some hover effects to buttons */
.wapcm-modal .form-container .btn:hover, .wapcm-modal .open-button:hover {
	opacity: 1;
}
 
.wapcm-modal button img {
  max-width: 100%;
  position: absolute;
  width: 16px;
  height: 16px;
  padding-left: 10px;
  padding-top: 2px;
}

input.wapcm_required, 
textarea.wapcm_required {
	border: 1px solid #f00 !important;
}
#wapcm_msg_container{
	display:none;
	color:black;
	text-align: center;
	margin: 5px 0;
	border: 2px solid yellow;
}
.wapcm-message{
	margin-bottom:10px;
}
#wapcm_enquiryFrm .modal-header h3{
	display: inline-block;
	padding: 20px 0;
}
#wapcm_enquiryFrm .modal-header span.close{
	padding-top: 20px;
}


.wapcm-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wapcm-modal .modal-header {
    position: relative;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
    background: #f8f9fb;
}

.wapcm-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.wapcm-modal .modal-header .close {
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    color: #777;
    transition: 0.2s ease;
}

.wapcm-modal .modal-header .close:hover {
    color: #000;
}

.wapcm-modal .modal-body {
    padding: 24px;
}

.form-container label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.2s ease;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #2271b1; /* WP blue */
    outline: none;
}

.wapcm_send_enquiry {
    width: 100%;
    padding: 12px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.wapcm_send_enquiry:hover {
    background: #135e96;
}

@keyframes wapcmFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wapcm-open-enquiry-modal.enquiry_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.wapcm-open-enquiry-modal.enquiry_button:active {
    transform: translateY(0);
    box-shadow: none;
}

.enquiry_button {
    margin: 10px 0 !important;
}


@media screen and (max-width: 1024px) {
	.wapcm-modal .form-container input[type=text], .wapcm-modal .form-container input[type=email], .wapcm-modal .form-container input[type=password], .wapcm-modal .form-container textarea {
		width: 96%;
	}
}

@media screen and (max-width: 768px) {
	.wapcm-modal .form-container input[type=text], .wapcm-modal .form-container input[type=email], .wapcm-modal .form-container input[type=password], .wapcm-modal .form-container textarea {
		width: 95%;
	}
}

@media screen and (max-width: 600px) {
	.wapcm-modal .form-container input[type=text], .wapcm-modal .form-container input[type=email], .wapcm-modal .form-container input[type=password], .wapcm-modal .form-container textarea {
		width: 93%;
	}
}

@media screen and (max-width: 480px) {
	.wapcm-modal .form-container input[type=text], .wapcm-modal .form-container input[type=email], .wapcm-modal .form-container input[type=password], .wapcm-modal .form-container textarea {
		width: 91%;
	}
}
/* </fs_premium_only> */