/* Author:WebThemez
 * Author URI:http://webthemez.com
 * License: Creative Commons Attribution 3.0 License (https://creativecommons.org/licenses/by/3.0/)
 */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,400,700);
@import url(http://fonts.googleapis.com/css?family=Raleway:700,400,300);
body {
	font-family: 'Open Sans', sans-serif;
}
.brand {
	font-family: 'Raleway', sans-serif;
}
html,
body {
	height: 100%;
}
body {
	font-size: 15px;
	line-height: 1.50;
	color: #333333;
	background-color: #ffffff;
	position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #080808;
}
h1 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 20px;
}
h2 {
	font-size: 28px;
	margin-bottom: 15px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
	font-weight: 700;
}
h5 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
}
h6 {
	font-weight: 700;
}
h1 span,
h2 span,
h3 span,
h4 span {
	color: #03100d;
}
.colored {
	color: #b70b0b;
}
a {
	color: #55acee;
}
a:hover {
	color: #339BEB;
}
a:focus,
a:active {
	outline: none;
}
.large {
	font-size: 18px;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
.list-unstyled li {
	padding: 5px 0;
}
.list-horizontal {
	padding: 15px 0;
}
.list-horizontal-item img {
	display: block;
	margin: 0 auto;
}
.list-icons {
	padding: 0;
	margin: 20px 0;
	list-style: none;
	font-size: 18px;
}
.list-icons li {
	padding: 0 0 15px 0;
}
blockquote {
	border-left: none;
	padding-left: 0;
	padding-right: 0;
}
.title {
	margin-top: 0;
}

/* Layout
----------------------------------------------------------------------------- */
.header {
	color: #ffffff;
	background-color: rgb(29, 87, 25);
	padding: 10px 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.banner {
	width: 100%;
	height: 100%;
	min-height: 100%;
	position: relative;
	color: #fff;
}
.banner-image {
	vertical-align: middle;
	min-height: 100%;
	width: 100%;
}
.banner:after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.492); /* neutral black overlay */ /* neutral black overlay */
	content: "";
}
.banner-caption {
	position: absolute;
	top: 50%;
	width: 100%;
	z-index: 2;
}
.subfooter {
	background-color: #1d5719;
	padding: 40px 0;
}
.subfooter a {
color: #1d5719;
}
.section {
	background-color: #ffffff;
	padding: 80px 0;
}

/* Backgrounds
----------------------------------------------------------------------------- */
.default-bg {
	background-color: #222222;
	color: #ffffff;
}
.default-bg.blue {
	background-color: #55acee;
}
.btn-primary {
color: #fff;
background-color: #1d5719;
border:0px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
color: #fff;
background-color: #1d5719;
border:0px;
}
.transprant-bg {
	color: #ffffff;
}
.default-bg h1,
.default-bg h2,
.default-bg h3,
.default-bg h4,
.default-bg h5,
.default-bg h6,
.transprant-bg h1,
.transprant-bg h2,
.transprant-bg h3,
.transprant-bg h4,
.transprant-bg h5,
.transprant-bg h6 {
	color: #ffffff;
}
.default-bg blockquote footer,
.transprant-bg blockquote footer {
	color: #cccccc;
}
.default-bg a,
.transprant-bg a {
	color: #ffffff;
	text-decoration: underline;
}
.default-bg a:hover,
.transprant-bg a:hover {
	text-decoration: none;
}
.transprant-bg {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	background-position: 50% 0;
	background-repeat: no-repeat;
	z-index: 1;
	position: relative;
	background: #fff;
}
.transprant-bg .transprant-bg {
	margin-top: 80px;
	z-index: 3;
}
.transprant-bg:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: #1d5719;
}
.transprant-bg.blue:after {
	background-color: rgba(85, 172, 238, 0.7);
}
.transprant-bg .container {
	z-index: 3;
	position: relative;
}
.bg-image-1 {
	background: url("../images/bg-image-1.jpg") 50% 0px no-repeat;
}

.caption-data {position: absolute; top: 50%; left: 50%; z-index: 20; text-align: center; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
.caption-data h1 {text-transform: uppercase;}
.caption-data h1 span {font-size: inherit; line-height: inherit; font-weight: inherit;}
.caption-data h3{line-height:34px;}
button.cta-button.btn-light, button.cta-button.btn-dark, .contact-form button.cta-button, button.cta-button.btn-default {
background: transparent;
}
button.cta-button {
font-size: 16px;
line-height: 16px;
border: 1px solid #fff;
padding: 20px 42px;
border-radius: 4px;
font-family: 'Raleway';
font-weight: 600;
transition: background 0.3s, border-color 0.3s;
margin-top:20px;
}
button.cta-button:hover{
background:#fff;
color:#00000091;
}
/* Misc
----------------------------------------------------------------------------- */
.no-view {
	opacity: 0;
	filter: alpha(opacity=0);
}
.object-visible,
.touch .no-view {
	opacity: 1 !important;
	filter: alpha(opacity=100) !important;
}

/* Targeting only Firefox for smoothest animations */
@-moz-document url-prefix() {
	.object-visible,
	.touch .no-view {
		-webkit-transition: opacity 0.6s ease-in-out;
		-moz-transition: opacity 0.6s ease-in-out;
		-o-transition: opacity 0.6s ease-in-out;
		-ms-transition: opacity 0.6s ease-in-out;
		transition: opacity 0.6s ease-in-out;
	}
}
.space {
	padding: 20px 0;
}
.pr-10 {
	padding-right: 10px;
}
.pl-10 {
	padding-left: 10px;
}
.pclear {
	padding-bottom: 0;
}
.secPadding{
padding: 70px 0;
}
/* Sections
----------------------------------------------------------------------------- */
.banner-caption h1,
.banner-caption h2,
.banner-caption h3,
.banner-caption h4,
.banner-caption h5,
.banner-caption h6 {
	color: #ffffff;
}
.banner-caption h1 {
	font-size: 60px;
}
.footer h1{
color:#fff;
}
.footer.section {
background: #020202;
color: #949494;
}
.subfooter p {
	margin-bottom: 0;
	color: #fff;
}
.hero-caption{
text-align:center;
padding:40px 0;
}
.hero-caption h2{
text-align:center;
}

/* Template Components
----------------------------------------------------------------------------- */
/* Buttons
---------------------------------- */
.btn {
	padding: 8px 15px;
	font-size: 14px;
	line-height: 1.42857143;
	min-width: 160px;
	text-align: center;
	border-radius: 0;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.btn-default {
	color: #FFFFFF;
	background: #1d5719;
	border: 0;
}
.btn-default:hover {
	color: #ffffff;
	background-color: #b70b0b;
	border: 0;
}

/* Collapse
---------------------------------- */
.panel-group .panel {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border: none;
}
.panel-default > .panel-heading {
	padding: 0;
	outline: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	width: 100%;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border: 1px solid #f0f0f0;
	border-top: none;
	background-color: #fafafa
}
.panel-heading a {
	font-weight: 400;
	padding: 12px 35px 12px 15px;
	display: inline-block;
	width: 100%;
	background-color: #fff;
	color: #000000;
	position: relative;
	text-decoration: none;
	border: #ECECEC 1px solid;
}
.panel-heading a.collapsed {
	color: #333333;
	background-color: #FAFAFA;
}
.panel-heading a:after {
	font-family: "FontAwesome";
	content: "\f147";
	position: absolute;
	right: 15px;
	font-size: 14px;
	font-weight: 300;
	top: 50%;
	line-height: 1;
	margin-top: -7px;
}
.panel-heading a.collapsed:after {
	content: "\f196";
}
.panel-heading a:hover {
	text-decoration: none;
	background-color: #FFFFFF;
	color: #1d5719;
}
.panel-title a i {
	padding-right: 10px;
	font-size: 20px;
}

/* Pills
---------------------------------- */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li > a:hover {
	background-color: #1d5719;
	border-color: #1d5719;
	color: #ffffff;
}
.nav-pills > li > a {
	border-radius: 0;
	padding: 8px 20px;
	border: 1px solid #cacaca;
	color: #666666;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 300;
}

/* Forms
---------------------------------- */
.form-control {
	height: 45px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.form-control-feedback {
	color: #cccccc;
}
.has-feedback label.sr-only ~ .form-control-feedback {
	top: 15px;
}
textarea {
	resize: vertical;
}
.price-table .panel-heading{
padding: 10px 0;
}
/* Modals
---------------------------------- */
.modal-content {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.modal-header {
	background-color: #1d5719;
	color: #ffffff;
}
.modal-header h4 {
	color: #ffffff;
}
.modal-header .close {
	font-weight: 300;
	color: #FFFFFF;
	text-shadow: none;
	filter: alpha(opacity=100);
	opacity: 1;
}
 
@media (min-width:1200px) {
	.modal-lg {
		width: 1140px;
	}
}

/* Media
---------------------------------- */
.media .fa {
	font-size: 24px;
	width: 40px;
	height: 25px;
	line-height: 25px;
	padding: 0 5px;
	text-align: center;
}

/* Navigations
----------------------------------------------------------------------------- */
.header .navbar {
	margin-bottom: 0;
}
.main-navigation .navbar-default {
	background-color: transparent;
	border: none;
}
.main-navigation .navbar-default .navbar-nav > li > a {
	color: #fff;
	padding: 10px 20px;
	font-size: 18px;
	font-weight: 400;
}
.main-navigation .navbar-default .navbar-nav > li.active > a {
	background-color: transparent;
	color: #000000;
}
.main-navigation .navbar-default .navbar-nav > li > a:hover,
.main-navigation .navbar-default .navbar-nav > li.active > a:hover {
	color: #000000;
}

/* carousel */
#quote-carousel 
{
  padding: 0 10px 30px 10px;
  margin-top: 30px;
}

/* Control buttons  */
#quote-carousel .carousel-control
{
  background: none;
  color: #222;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
}
/* Previous button  */
#quote-carousel .carousel-control.left 
{
  left: -12px;
}
/* Next button  */
#quote-carousel .carousel-control.right 
{
  right: -12px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators 
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li 
{
  background: #c0c0c0;
}
#quote-carousel .carousel-indicators .active 
{
  background: #333333;
}
#quote-carousel img
{
  width: 250px;
  height: 100px
}
/* End carousel */

.item blockquote {
    border-left: none; 
    margin: 0;
}

.item blockquote img {
    margin-bottom: 10px;
}

.item blockquote p:before {
    content: "\f10d";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}



/**
  MEDIA QUERIES
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #quote-carousel 
    {
      margin-bottom: 0;
      padding: 0 40px 30px 40px;
    }
    
}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) { 
    
    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
    
    #quote-carousel .carousel-indicators {
        bottom: -20px !important;  
    }
    #quote-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 15px;
        height: 15px;
    }
    #quote-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 20px;
        height: 20px;
    }
}

@media (min-width:768px) {
	.main-navigation .navbar-default .navbar-nav > li > a {
		padding-top: 30px;
		padding-bottom: 30px;
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.main-navigation .container-fluid {
		padding-left: 0;
		padding-right: 0;
	}
	.navbar-nav {
		float: left !important;
	}
}
@media (max-width:767px) {
	.header.navbar-fixed-top {
		position: absolute;
	}
}

/* Fixed Header
----------------------------------------------------------------------------- */
.fixed-header-on .header {
	background-color: rgb(29, 87, 25);
	padding: 5px 0;
}
.fixed-header-on .brand {
	font-size: 24px;
}
.fixed-header-on .logo {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	margin-top: 0;
	margin-bottom: 0;
}
@media (min-width:768px) {
	.fixed-header-on .navbar-default .navbar-nav > li > a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}
@media (max-width:991px) {
	.fixed-header-on .logo,
	.fixed-header-on .brand,
	.fixed-header-on .site-slogan {
		display: none;
	}
}

/* Blocks/Widgets
----------------------------------------------------------------------------- */
/* Logo, Site Name, Site Slogan
---------------------------------- */
.logo {
	margin: 10px 0px 10px 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.logo,
.logo-section {
	float: left;
}
.brand {
	font-size: 38px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 10px 0;
}
.brand a {
	color: #ffffff;
}
.brand a:hover {
	text-decoration: none;
}
.site-slogan {
	font-size: 12px;
}

/* block-lists
---------------------------------- */
.block-list .media-left {
	width: 60px;

}
.block-list {
  margin-bottom: 40px; /* Increase as needed */
}
.block-list p{
font-size: 16px;
}
.block-list .fa {
border: 1px solid #fff;
padding: 20px;
width: 65px;
height: 65px;
border-radius: 50%;
}

/* Social Links
---------------------------------- */
.social-links {
	padding: 0;
	list-style: none;
	margin: 15px 0;
}
.social-links li {
	margin: 10px 10px 10px 0;
	display: inline-block;
	font-size: 36px;
}
.social-links li a {
	color: #BBBBBB;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	border: 1px solid #D0D0D0;
	width: 52px;
	height: 52px;
	display: inline-block;
	border-radius: 50%;
	font-size: 26px;
	text-align: center;
	padding: 4px;
}
.social-links li.twitter a:hover {
	color: #55acee;
}
.social-links li.skype a:hover {
	color: #00aff0;
}
.social-links li.linkedin a:hover {
	color: #0976b4;
}
.social-links li.googleplus a:hover {
	color: #dd4b39;
}
.social-links li.gmail a:hover {
	color: #b31217;
}
.social-links li.flickr a:hover {
	color: #ff0084;
}
.social-links li.facebook a:hover {
	color: #3b5998;
}
.social-links li.pinterest a:hover {
	color: #cb2027;
}
.social-links li.phone a:hover {
	color: green;
}

/* Isotope Items
---------------------------------- */
.filters {
	margin: 0 0 30px 0;
}
.filters .nav-pills > li {
	margin-right: 2px;
	margin-bottom: 2px;
}
.filters .nav-pills > li + li {
	margin-left: 0px;
}
.text-center.filters .nav-pills > li {
	margin-right: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
	display: inline-block;
	float: none;
}
.isotope-container {
	overflow: hidden;
}
.isotope-item {
	margin-bottom: 20px;
}
.isotope-item .btn-default {
	color: #FFFFFF;
	background: rgba(207, 13, 13, 0.69);
	margin-top: -36px;
	z-index: 2;
	position: relative;
	border: 0;
}
.isotope-item .btn-default:hover {
	color: #ffffff;
}
@media (max-width:480px) {
	.filters .nav-pills > li {
		width: 100%;
		display: block;
	}
}

/* Images Overlay
----------------------------------------------------------------------------- */
.overlay-container {
	position: relative;
	display: block;
	overflow: hidden;
}
.overlay {
	position: absolute;
	top: 0;
	bottom: -1px;
	left: 0;
	right: -1px;
	background-color: rgba(0, 0, 0, 0); /* or just remove the background-color line */	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	-ms-transition: all linear 0.2s;
	-o-transition: all linear 0.2s;
	transition: all linear 0.2s;
}
.overlay:hover {
	text-decoration: none;
}
.overlay span {
	position: absolute;
	display: block;
	bottom: 10px;
	text-align: center;
	width: 100%;
	color: #ffffff;
	font-size: 13px;
	font-weight: 300;
}
.overlay i {
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 18px;
	line-height: 1x;
	color: #ffffff;
	margin-top: -8px;
	margin-left: -8px;
	text-align: center;
}
.overlay-container:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	transform: scale(1);
}


/* ===== Modern Filter Section Styles ===== */
.filter-section .filter-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 2rem auto;
}

.filter-section .filter-wrapper h2 {
  color: #265d4c;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.filter-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f9f8;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #265d4c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease;
}
.filter-dropdown summary:hover {
  background: #eef2ef;
}
.filter-dropdown summary::marker {
  display: none;
}
.filter-dropdown summary::after {
  content: "▾";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.filter-dropdown[open] summary::after {
  content: "▴";
}

.filter-dropdown[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* The content panel */
.filter-dropdown .filter-group {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 1rem 1.5rem;
}

/* Choices.js overrides */
.choices__inner {
  min-height: 50px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: none;
  font-size: 1rem;
}

.choices__list--multiple .choices__item {
  background: #265d4c;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0.35rem;
  font-size: 0.9rem;
}

.choices__list--dropdown {
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.filter-btn,
.filter-reset {
  flex: 1;
  max-width: 220px;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn {
  background-color: #265d4c;
  color: #fff;
  border: none;
}

.filter-btn:hover {
  background-color: #1f4b3f;
}

.filter-reset {
  background-color: #f3f3f3;
  color: #555;
  border: none;
}

.filter-reset:hover {
  background-color: #e0e0e0;
}

/* Results area */
.filter-results {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: #333;
}

.product {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.product h3 {
  color: #265d4c;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product p {
  margin: 0.4rem 0;
}

.product .btn {
  margin-top: 0.75rem;
  background-color: #3498db;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.product .btn:hover {
  background-color: #217dbb;
}
/* Place this at the VERY END of your CSS (after all other rules) */

/* 1) Hide the entire content panel (filter-group + choices wrapper) */
.filter-dropdown:not([open]) > .filter-group,
.filter-dropdown:not([open]) .choices,
.filter-dropdown:not([open]) .choices__inner,
.filter-dropdown:not([open]) .choices__list--dropdown {
  display: none !important;
}

/* 2) Remove the closed panel’s border & shadow so nothing “peeks” out */
.filter-dropdown:not([open]) {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
@media (max-width: 600px) {
  /* Stack buttons vertically */
  .filter-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Each button takes full width */
  .filter-btn,
  .filter-reset {
    width: 100%;
    max-width: none;
  }
}

/* Panel container */
.filter-panel {
  background: #f9fdfb;
  border: 1px solid #dce9e3;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Panel header */
.filter-panel .panel-header {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #265d4c;
  border-bottom: 1px solid #dce9e3;
  background: #e9f5f0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Panel body */
.filter-panel .panel-body {
  padding: 1rem;
}

/* Ensure the select fills its panel */
.panel-body select {
  width: 100%;
  border-radius: 8px;
}

/* Remove any details-specific CSS you added */
.filter-dropdown,
.filter-dropdown summary,
.filter-dropdown .filter-group { display: initial; }
/* Product image container */
/* === Product Card Layout (updated for right-aligned button) === */
.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  /* gap: 1.5rem; */ /* Removed gap to avoid extra spacing issues */
}
.product-image {
  flex: 0 0 auto;
}
.product-image img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.product-info {
  flex: 1 1 auto;
  margin: 0 1.5rem;
}
.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #2a5a46;
}
.product p {
  margin: 0.4rem 0;
  font-size: 1rem;
  color: #444;
}
.product-actions {
  flex: 0 0 auto;
}
.product-actions .btn {
  margin: 0;
}
@media (max-width: 600px) {
  .product {
    flex-direction: column;
    text-align: center;
  }
  .product-image img {
    width: 80%;
    max-width: 200px;
    margin-bottom: 1rem;
  }
}
/* LOGIN*/
.navbar .dropdown-toggle {
  color: #fff;            /* white icon */
  font-size: 1.2em;
}
.navbar .dropdown-menu {
  background: #f9f9f9;    /* light panel */
  border: 1px solid #ccc;
}
#auth-panel .form-control {
  margin-bottom: 0.5rem;
}
#auth-panel .btn {
  margin: 0 0.25rem;
}
/* make modal inputs a little larger and buttons full-width */
.modal-content { border-radius: .5rem; }
.modal-body .form-control { height: 2.5rem; font-size: 1rem; }
.modal-body .btn { padding: .75rem; font-size: 1rem; }
.modal-header .close { font-size: 1.2rem; }



#login-success-check {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  background: none;
}
#checkmark {
  width: 120px; height: 120px; display: block; margin: 0 auto;
}
.checkmark-circle {
  stroke: #d9ff00; stroke-width: 4; stroke-dasharray: 166; stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
.checkmark-check {
  stroke: #d9ff00; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: stroke 0.4s 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
@keyframes stroke { to { stroke-dashoffset: 0; } }
/* === USER MENU STYLING === */
/* A <li> kapjon user-menu osztályt és azonosítót is (id="userMenu") */
.navbar-nav .user-menu > a {
  display: flex;               /* ikon+szöveg sorban */
  align-items: center;         /* függőleges középre igazítás */
  padding: 10px 15px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.navbar-nav .user-menu > a .fa-user {
  margin-right: 8px;
  font-size: 20px;
}

/* ez az elem jeleníti meg a „Bejelentkezés” vagy „Kijelentkezés” szöveget */
.navbar-nav .user-menu > a #userMenuText {
  margin-right: 4px;           /* kis távolság a caret-tel */
}

/* a kis lefelé mutató nyíl */
.navbar-nav .user-menu > a .caret {
  margin-left: 4px;
  border-top-color: #fff;      /* fehér háromszög */
}

/* opcionális hover / active állapot */
.navbar-nav .user-menu > a:hover,
.navbar-nav .user-menu.open > a {
  background: rgba(255,255,255,0.1);
  color: #fff;
background: transparent !important;

}

/* A legördülő menü szélességének beállítása */
#userMenuDropdown {
  min-width: 200px;
  padding: 10px 0;             /* egy kis belső margó */
}

/* A listázott linkek stílusa a dropdownban */
#userMenuDropdown li a {
  display: block;
  padding: 8px 20px;
  color: #333;
}
#userMenuDropdown li a:hover {
  background: #f5f5f5;
  color: #000;
}
/* ====================================================
   🌟 AUTH-MODAL “2025” STYLES
   ==================================================== */

/* 1) Dialog méret & centering */
.auth-modal .modal-dialog {
  max-width: 600px !important;
  margin: 4rem auto !important;
}

/* 2) Content box: lekerekítés & árnyék */
.auth-modal .modal-content {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.18);
}

/* 3) Header */
.auth-modal .modal-header {
  background: linear-gradient(135deg, #35672d, #2f5c2a);
  padding: 1.75rem 2.5rem;
  position: relative;
}
.auth-modal .modal-header .modal-title {
  width: 100%;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

/* 4) Circular “×” close button */
.auth-modal .modal-header .close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff !important;
  opacity: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.auth-modal .modal-header .close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}
.auth-modal .modal-header .close:active {
  background: rgba(255,255,255,0.3);
  transform: scale(0.95);
}

/* 5) Body & formmezők */
.auth-modal .modal-body {
  padding: 2.5rem;
  background: #fafafa;
}
.auth-modal .modal-body .form-group + .form-group {
  margin-top: 1.75rem;
}
.auth-modal .modal-body .form-control {
  height: 3.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
  padding: 0 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-modal .modal-body .form-control:focus {
  border-color: #35672d;
  box-shadow: 0 0 0 4px rgba(53, 103, 45, 0.15);
}

/* 6) Elsődleges gomb (login/register) */
.auth-modal .modal-body .btn-primary {
  width: 100%;
  height: 4rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  background: #35672d;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 2rem;
}
.auth-modal .modal-body .btn-primary:hover {
  background: #2f5c2a;
  transform: translateY(-1px);
}
/* 6b) Success (regisztráció) gomb stílusa */
.auth-modal .modal-body .btn-success {
  width: 100%;
  height: 4rem;               /* egyezzen a primary gombbal */
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  background: #57a05a;         /* világosabb zöld */
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 2rem;
}

.auth-modal .modal-body .btn-success:hover {
  background: #4e8e51;         /* kicsit sötétebb hover állapot */
  transform: translateY(-1px);
}
/* 7) Másodlagos Apple gomb */
.auth-modal .modal-body .btn-outline-dark {
  width: 100%;
  height: 3.75rem;
  font-size: 1rem;
  border-width: 1.5px;
  border-radius: 0.75rem;
  margin-top: 1.25rem;
  background: #f5f5f5;
  transition: background 0.2s ease, color 0.2s ease;
}
.auth-modal .modal-body .btn-outline-dark:hover {
  background: #e1e1e1;
  color: #000;
}

/* 8) Footer linkek */
.auth-modal .modal-body .text-center {
  margin-top: 1.5rem;
  font-size: 1rem;
}
.auth-modal .modal-body .text-center a {
  margin: 0 .75rem;
  color: #35672d;
  transition: color 0.2s ease;
}
.auth-modal .modal-body .text-center a:hover {
  color: #2f5c2a;
}

/* 9) Háttér blur */
.modal-backdrop.show {
  backdrop-filter: blur(4px);
}
/* ================================
   Modern Filter Controls Styling
   ================================ */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.filter-buttons .filter-btn,
.filter-buttons #save-filter-btn,
.filter-buttons .filter-reset {
  background-color: #2f5c2a;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  min-width: 10rem;
  text-align: center;
}

.filter-buttons .filter-btn:hover,
.filter-buttons #save-filter-btn:hover:not(:disabled),
.filter-buttons .filter-reset:hover {
  background-color: #35672d;
  transform: translateY(-2px);
}

.filter-buttons #save-filter-btn:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
}

.filter-buttons #saved-filters {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #2f5c2a;
  min-width: 12rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path fill='%232f5c2a' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
  cursor: pointer;
}

.filter-buttons #saved-filters:focus {
  border-color: #2f5c2a;
  box-shadow: 0 0 0 4px rgba(47,92,42,0.15);
  outline: none;
}
/* make filters list scroll if too long */
#profile-filters {
  max-height: 200px;
  overflow-y: auto;
  padding-left: 0;
}

/* buttons inside profile modal */
#profile-filters .remove-filter {
  padding: 0 .5rem;
  font-size: 1.1rem;
  line-height: 1;
}
/* ====================================================
   🌟 PROFILE-MODAL “2025” STYLING
   ==================================================== */

/* 1) Dialog size & centering */
.auth-modal#profileModal .modal-dialog {
  max-width: 600px;
  margin: 3.5rem auto;
}

/* 2) Rounded card & deep shadow */
.auth-modal#profileModal .modal-content {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}

/* 3) Header */
.auth-modal#profileModal .modal-header {
  background: linear-gradient(135deg, #35672d, #2f5c2a);
  padding: 1.75rem 2rem;
  position: relative;
}
.auth-modal#profileModal .modal-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 auto;
}

/* 4) Circular close button */
.auth-modal#profileModal .modal-header .close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  border: none;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.auth-modal#profileModal .modal-header .close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* 5) Body & text */
.auth-modal#profileModal .modal-body {
  padding: 2.5rem;
  background: #fcfcfc;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}
.auth-modal#profileModal .modal-body hr {
  border-top: 1px solid #e2e2e2;
  margin: 1.75rem 0;
}
.auth-modal#profileModal .profile-info p {
  margin: .5rem 0;
}
.auth-modal#profileModal .profile-info strong {
  color: #2f5c2a;
}

/* 6) Saved-filters list */
.profile-filters-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-filters-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: .75rem;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.profile-filters-list li:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.profile-filters-list li .filter-name {
  flex-grow: 1;
  margin-right: 1rem;
  color: #333;
}
.profile-filters-list li .delete-filter {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #e74c3c;
  cursor: pointer;
  transition: transform .2s;
}
.profile-filters-list li .delete-filter:hover {
  transform: scale(1.2);
}

/* 7) Empty state */
.profile-filters-list li.empty {
  justify-content: center;
  color: #999;
  font-style: italic;
  background: transparent;
  border: none;
}

/* 8) Subtle backdrop blur */
.modal-backdrop.show {
  backdrop-filter: blur(4px);
}
/* ——— completely remove focus ring / box-shadow on our delete-filter buttons ——— */
.profile-filter-item .delete-filter,
.profile-filter-item .delete-filter.btn-link {
  background: none;
  border: none;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
}

.profile-filter-item .delete-filter:focus,
.profile-filter-item .delete-filter:active,
.profile-filter-item .delete-filter:focus-visible,
.profile-filter-item .delete-filter.btn-link:focus,
.profile-filter-item .delete-filter.btn-link:active,
.profile-filter-item .delete-filter.btn-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ensure header-left always uses full header height */
.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}

/* override any inline heights & keep logos centered */
.header-left .logo img,
.header-left .logo-section img {
  height: auto;      /* let width/height scale together */
  max-height: 100%;  /* never overflow the header */
  display: block;
}

/* size by width instead */
.header-left .logo img {
  width: 6rem;     /* tweak this */
}

.header-left .logo-section img.logo-text {
  width: auto;
  max-height: 2.6rem; /* tweak this so it matches your collapsed header */
}
/* add a little left-spacing once header shrinks or grows */
.header-left .logo-section {
  margin-left: 0.5rem;
}
.logo-text { max-height: 1.5rem; }
/* ─────────────────────────────────────────────────────────────────────────────
   Profile Modal — Password Row
   ─────────────────────────────────────────────────────────────────────────────*/

/* Container for each info line */
.auth-modal .modal-body .profile-info .d-flex {
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Labels (“Email:”, “Jelszó:”) */
.auth-modal .modal-body .profile-info strong {
  flex: 0 0 110px;
  color: #35672d;
  font-weight: 600;
  font-size: 1rem;
}

/* The masked password field */
#profilePassword {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background-color: #f4f7f6;
  border-radius: 0.5rem;
  font-family: monospace;
  letter-spacing: 0.15em;
  color: #444;
  font-size: 1rem;
}

/* The edit button */
#editPasswordBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(53, 92, 42, 0.1);
  color: #35672d;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
#editPasswordBtn:hover {
  background-color: rgba(53, 92, 42, 0.2);
  transform: scale(1.1);
}
#editPasswordBtn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(53,92,42,0.3);
}
/* ─────────────────────────────────────────────────────────────────────────────
   Change-Password Modal
   ───────────────────────────────────────────────────────────────────────────── */
#pwdStrengthContainer {
  display: none;
}
.strength-bar {
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  overflow: hidden;
}
.strength-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: #d9534f;
  transition: width 0.3s ease, background 0.3s ease;
}
.strength-text {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: #666;
}
/* Password strength meter */
.strength-bar {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.25rem;
}

.strength-fill {
  width: 0;
  height: 100%;
  background-color: #35672d;   /* your theme color */
  transition: width 0.3s ease;
}

.strength-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #333;
}
 /* Blog card modern styling */
.post-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

.card-img-wrapper:hover .card-img-top {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
}

.card-overlay h5 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-overlay small {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}

/* BLOG MODAL MODERN STYLES */
.blog-modal {
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  border: none;
  background: #fff;
  padding: 0;
  animation: modalPopIn 0.5s cubic-bezier(.19,1,.22,1);
}
@keyframes modalPopIn {
  from { transform: translateY(60px) scale(0.98); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.blog-modal-image-wrap {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  position: relative;
  background: #f3f7f7;
  border-bottom: 1px solid #eee;
}
.blog-modal-image-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
}
.blog-modal-content {
  padding: 32px 40px 24px 40px;
}
.blog-modal-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #224c2a;
  margin-bottom: 8px;
}
.blog-meta {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 20px;
}
#postModalContent {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #212529;
}
.top-close {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 2rem;
  color: #2f5c2a;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  box-shadow: 0 2px 6px rgba(44,68,52,0.06);
  z-index: 100;
  transition: background .2s;
}
.top-close:hover {
  background: #eaf3ea;
  color: #184d17;
}
@media (max-width: 800px) {
  .blog-modal-content { padding: 18px 10px; }
  .blog-modal-title { font-size: 1.3rem; }
  .blog-modal-image-wrap img { height: 200px; }
}
.blog-modal .top-close {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 100;
  background: rgba(255,255,255,0.95);  /* white and mostly opaque */
  color: #1f3d18;                      /* dark green or almost black */
  font-size: 2.3rem;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  cursor: pointer;
}

.blog-modal .top-close:hover,
.blog-modal .top-close:focus {
  background: #224c2a;   /* your brand green */
  color: #fff;
  box-shadow: 0 4px 16px rgba(44,68,52,0.11);
}
#adminPanelBody .table th, #adminPanelBody .table td {
  vertical-align: middle;
  font-size: 1.1rem;
  padding: 0.75rem 0.5rem;
}
#adminPanelBody .table tbody tr:nth-child(even) {
  background: #f7faf8;
}
#adminPanelBody .table-hover tbody tr:hover {
  background: #e5f7e5 !important;
}
#adminPanelBody input[type="text"] {
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.8rem;
  font-size: 1.05rem;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #c7dac7;
  background: #f9fff9;
}
/* ADMIN PANEL - Close (X) Button - Modern Style */
#adminModal .modal-header .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  line-height: 1;
  color: #fff !important;
  opacity: 1;
  border: none;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}
#adminModal .modal-header .close:hover {
  background: rgba(255,255,255,0.26);
  color: #fff;
  transform: scale(1.13);
}
#adminModal .modal-header .close:active {
  background: rgba(255,255,255,0.38);
  transform: scale(0.96);
}
/* Modern clean admin delete button */
.delete-post-btn {
  background: #f8d7da;               /* light danger background */
  border: none;
  color: #dc3545;                    /* Bootstrap danger red */
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;           /* slightly rounded corners */
  font-size: 1rem;                   /* normal icon size */
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  margin-left: 0.5rem;               /* spacing from title */
}

.delete-post-btn:hover {
  background: #dc3545;               /* solid red on hover */
  color: #fff;                       /* white icon */
  transform: scale(1.1);             /* slight zoom */
}

.delete-post-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.5); /* subtle focus ring */
}

/* Admin blog list styling */
#blogPostList .list-group {
  padding: 0;
  margin: 0;
}
#blogPostList .list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
#blogPostList .list-group-item:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

#blogPostList .btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.1rem;
  border-radius: 0.375rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

#blogPostList .edit-post-btn {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border: none;
  margin-right: 0.5rem;
}
#blogPostList .edit-post-btn:hover {
  background: rgba(0, 123, 255, 0.2);
  transform: scale(1.05);
}

#blogPostList .delete-post-btn {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: none;
}
#blogPostList .delete-post-btn:hover {
  background: rgba(220, 53, 69, 0.2);
  transform: scale(1.05);
}

#blogPostList .edit-post-btn i,
#blogPostList .delete-post-btn i {
  font-size: 1rem;
}
/* Admin panel tabs styling */
#adminTabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  flex-wrap: wrap; 
}
#adminTabs button {
  flex: 1;
  max-width: 200px;
  text-align: center;
  background: #f1f3f5;
  color: #495057;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
#adminTabs button:hover {
  background: #e9ecef;
}
#adminTabs button.active {
  background: #265d4c;
  color: #fff;
}
/* Modern styling for New Blog Post panel */
#tabNewPostContent {
  max-width: 900px;
  margin: 1.5rem auto;
  background: #f9faf9;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

#tabNewPostContent > h6 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #265d4c;
}

#tabNewPostContent input[type="text"],
#tabNewPostContent input[type="file"] {
  border: 1px solid #c7dac7;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  font-size: 1rem;
}

#tabNewPostContent .ql-toolbar {
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
  margin-bottom: -1px;
}

#tabNewPostContent .ql-container {
  border: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  min-height: 240px;
}

#tabNewPostContent .form-control,
#tabNewPostContent .ql-editor {
  font-size: 1rem;
  line-height: 1.6;
}

#tabNewPostContent button#saveBlogPostBtn,
#tabNewPostContent button#cancelBlogPostBtn {
  min-width: 120px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

#tabNewPostContent button#saveBlogPostBtn {
  background: #265d4c;
  color: #fff;
  border: none;
}

#tabNewPostContent button#saveBlogPostBtn:hover {
  background: #1f4b3f;
  transform: translateY(-1px);
}

#tabNewPostContent button#cancelBlogPostBtn {
  background: #e0e0e0;
  color: #495057;
  border: none;
  margin-left: 0.75rem;
}

#tabNewPostContent button#cancelBlogPostBtn:hover {
  background: #ccc;
  transform: translateY(-1px);
}
/* ─── ADMIN MODAL & PANEL REFINEMENTS ─── */

/* Soften and pad the entire modal body */
#adminModal .modal-body {
  padding: 2rem !important;
  background: #f1f2f3;
}

/* Give the modal itself gently rounded corners */
#adminModal .modal-content {
  border-radius: 0.75rem;
}

/* Center & constrain every panel card */
#tabNewPostContent,
#tabUsersContent,
#tabBlogListContent {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  padding: 1.5rem;
}

/* Tweak the New Blog card body padding */
#tabNewPostContent .card-body {
  padding: 2rem;
}

/* Style the file input to look more like the text fields */
#tabNewPostContent input[type="file"] {
  cursor: pointer;
  border: 1px solid #ced4da;      /* bootstrap default */
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  width: 100%;
  margin-bottom: 1.5rem;
  background: #fff;
}

#tabNewPostContent .d-flex.gap-3 {
  margin-top: 1rem;
}

/* Tab panels share a unified background */
#tabUsersContent,
#tabBlogListContent {
  background: #fff;  /* in case you ever switch to a darker modal-body */
}

/* If you’d like a different hue for file-input hover */
#tabNewPostContent input[type="file"]:hover {
  background: #f0f0f0;
}


/* ─── Blacklist Manager Modern Styling ─── */

/* Toggle button */
#manageBlacklistBtn {
  background: #e9ecef;
  color: #495057;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}
#manageBlacklistBtn:hover {
  background: #dee2e6;
  transform: translateY(-1px);
}
#manageBlacklistBtn.active {
  background: #265d4c;
  color: #fff;
}

/* Input fields */
#blacklistManagerDiv .input-group .form-control-sm {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 0.5rem 0.75rem;
}

/* Add buttons */
#addBlacklistEmailBtn,
#addBlacklistIpBtn {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-left: 0.5rem;
}
#addBlacklistEmailBtn:hover,
#addBlacklistIpBtn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Blacklist entries list */
#blacklistManagerDiv ul.list-group {
  padding: 0;
  margin: 0;
}
#blacklistManagerDiv ul.list-group li.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
#blacklistManagerDiv ul.list-group li.list-group-item:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Lift (undo) buttons */
.lift-email-btn,
.lift-ip-btn {
  background: #f8d7da;
  color: #dc3545;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}
.lift-email-btn:hover,
.lift-ip-btn:hover {
  background: #dc3545;
  color: #fff;
  transform: scale(1.1);
}

/* Ensure spacing before IP section */
#blacklistManagerDiv h6 + .input-group {
  margin-top: 1.5rem;
}
/* ─── USER DETAIL PANEL “2025” STYLE ─── */

#tabUserDetailContent {
  max-width: 900px;
  margin: 2rem auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: 'Open Sans', sans-serif;
}

/* Back link */
#tabUserDetailContent #backToUsersBtn {
  display: inline-block;
  color: #265d4c;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
#tabUserDetailContent #backToUsersBtn:hover {
  color: #1f4b3f;
  text-decoration: underline;
}

/* Panel header */
#tabUserDetailContent h5 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f3d2e;
  margin-bottom: 1.5rem;
}

/* Two-column details grid */
#tabUserDetailContent dl.row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
#tabUserDetailContent dl.row dt {
  font-weight: 700;
  color: #265d4c;
  margin: 0;
}
#tabUserDetailContent dl.row dd {
  margin: 0;
  color: #444;
}

/* Action buttons row */
#tabUserDetailContent .d-flex.gap-2 {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}
#tabUserDetailContent .d-flex.gap-2 button {
  flex: none;
  min-width: 140px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  cursor: pointer;
  color: #fff;
}

/* Button variants */
#deleteUserBtn {
  background: #e74c3c;
}
#deleteUserBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(231,76,60,0.4); }

#toggleActiveBtn {
  background: #6c757d;
}
#toggleActiveBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(108,117,125,0.4); }

#changeEmailBtn {
  background: #28a745;
}
#changeEmailBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(40,167,69,0.4); }

#changePasswordBtn {
  background: #f0ad4e;
  color: #212529;
}
#changePasswordBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(240,173,78,0.4); }

#sendWarningBtn {
  background: #17a2b8;
}
#sendWarningBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(23,162,184,0.4); }

/* Feedback message */
#tabUserDetailContent #userDetailMsg {
  margin-top: 1.5rem;
  font-size: 1rem;
}
#tabUserDetailContent #userDetailMsg .text-success { color: #28a745; }
#tabUserDetailContent #userDetailMsg .text-danger { color: #e74c3c; }
/* ─── User Table Detail Button Styling ─── */
.user-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem !important;
  height: 2.5rem;
  min-width: 2.5rem !important;
  padding: 0 !important;
  background-color: #f1f3f5;   /* light gray */
  border: none;
  border-radius: 50%;          /* perfect circle */
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  color: #495057;              /* medium gray */
  margin-left: 0.5rem;
}
.user-detail-btn:hover {
  background-color: #e2e6ea;   /* slightly darker */
  transform: translateY(-1px); /* subtle lift */
}
.user-detail-btn i {
  font-size: 1.25rem;          /* bigger icon */
  line-height: 1;
}
/* Author:WebThemez
 * Author URI:http://webthemez.com
 * License: Creative Commons Attribution 3.0 License (https://creativecommons.org/licenses/by/3.0/)
 */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,400,700);
@import url(http://fonts.googleapis.com/css?family=Raleway:700,400,300);
body {
	font-family: 'Open Sans', sans-serif;
}
.brand {
	font-family: 'Raleway', sans-serif;
}
html,
body {
	height: 100%;
}
body {
	font-size: 15px;
	line-height: 1.50;
	color: #333333;
	background-color: #ffffff;
	position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #080808;
}
h1 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 20px;
}
h2 {
	font-size: 28px;
	margin-bottom: 15px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
	font-weight: 700;
}
h5 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
}
h6 {
	font-weight: 700;
}
h1 span,
h2 span,
h3 span,
h4 span {
	color: #03100d;
}
.colored {
	color: #b70b0b;
}
a {
	color: #55acee;
}
a:hover {
	color: #339BEB;
}
a:focus,
a:active {
	outline: none;
}
.large {
	font-size: 18px;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
.list-unstyled li {
	padding: 5px 0;
}
.list-horizontal {
	padding: 15px 0;
}
.list-horizontal-item img {
	display: block;
	margin: 0 auto;
}
.list-icons {
	padding: 0;
	margin: 20px 0;
	list-style: none;
	font-size: 18px;
}
.list-icons li {
	padding: 0 0 15px 0;
}
blockquote {
	border-left: none;
	padding-left: 0;
	padding-right: 0;
}
.title {
	margin-top: 0;
}

/* Layout
----------------------------------------------------------------------------- */
.header {
	color: #ffffff;
	background-color: rgb(29, 87, 25);
	padding: 10px 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.banner {
	width: 100%;
	height: 100%;
	min-height: 100%;
	position: relative;
	color: #fff;
}
.banner-image {
	vertical-align: middle;
	min-height: 100%;
	width: 100%;
}
.banner:after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.492); /* neutral black overlay */ /* neutral black overlay */
	content: "";
}
.banner-caption {
	position: absolute;
	top: 50%;
	width: 100%;
	z-index: 2;
}
.subfooter {
	background-color: #1d5719;
	padding: 40px 0;
}
.subfooter a {
color: #1d5719;
}
.section {
	background-color: #ffffff;
	padding: 80px 0;
}

/* Backgrounds
----------------------------------------------------------------------------- */
.default-bg {
	background-color: #222222;
	color: #ffffff;
}
.default-bg.blue {
	background-color: #55acee;
}
.btn-primary {
color: #fff;
background-color: #1d5719;
border:0px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
color: #fff;
background-color: #1d5719;
border:0px;
}
.transprant-bg {
	color: #ffffff;
}
.default-bg h1,
.default-bg h2,
.default-bg h3,
.default-bg h4,
.default-bg h5,
.default-bg h6,
.transprant-bg h1,
.transprant-bg h2,
.transprant-bg h3,
.transprant-bg h4,
.transprant-bg h5,
.transprant-bg h6 {
	color: #ffffff;
}
.default-bg blockquote footer,
.transprant-bg blockquote footer {
	color: #cccccc;
}
.default-bg a,
.transprant-bg a {
	color: #ffffff;
	text-decoration: underline;
}
.default-bg a:hover,
.transprant-bg a:hover {
	text-decoration: none;
}
.transprant-bg {
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	background-position: 50% 0;
	background-repeat: no-repeat;
	z-index: 1;
	position: relative;
	background: #fff;
}
.transprant-bg .transprant-bg {
	margin-top: 80px;
	z-index: 3;
}
.transprant-bg:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: #1d5719;
}
.transprant-bg.blue:after {
	background-color: rgba(85, 172, 238, 0.7);
}
.transprant-bg .container {
	z-index: 3;
	position: relative;
}
.bg-image-1 {
	background: url("../images/bg-image-1.jpg") 50% 0px no-repeat;
}

.caption-data {position: absolute; top: 50%; left: 50%; z-index: 20; text-align: center; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
.caption-data h1 {text-transform: uppercase;}
.caption-data h1 span {font-size: inherit; line-height: inherit; font-weight: inherit;}
.caption-data h3{line-height:34px;}
button.cta-button.btn-light, button.cta-button.btn-dark, .contact-form button.cta-button, button.cta-button.btn-default {
background: transparent;
}
button.cta-button {
font-size: 16px;
line-height: 16px;
border: 1px solid #fff;
padding: 20px 42px;
border-radius: 4px;
font-family: 'Raleway';
font-weight: 600;
transition: background 0.3s, border-color 0.3s;
margin-top:20px;
}
button.cta-button:hover{
background:#fff;
color:#00000091;
}
/* Misc
----------------------------------------------------------------------------- */
.no-view {
	opacity: 0;
	filter: alpha(opacity=0);
}
.object-visible,
.touch .no-view {
	opacity: 1 !important;
	filter: alpha(opacity=100) !important;
}

/* Targeting only Firefox for smoothest animations */
@-moz-document url-prefix() {
	.object-visible,
	.touch .no-view {
		-webkit-transition: opacity 0.6s ease-in-out;
		-moz-transition: opacity 0.6s ease-in-out;
		-o-transition: opacity 0.6s ease-in-out;
		-ms-transition: opacity 0.6s ease-in-out;
		transition: opacity 0.6s ease-in-out;
	}
}
.space {
	padding: 20px 0;
}
.pr-10 {
	padding-right: 10px;
}
.pl-10 {
	padding-left: 10px;
}
.pclear {
	padding-bottom: 0;
}
.secPadding{
padding: 70px 0;
}
/* Sections
----------------------------------------------------------------------------- */
.banner-caption h1,
.banner-caption h2,
.banner-caption h3,
.banner-caption h4,
.banner-caption h5,
.banner-caption h6 {
	color: #ffffff;
}
.banner-caption h1 {
	font-size: 60px;
}
.footer h1{
color:#fff;
}
.footer.section {
background: #020202;
color: #949494;
}
.subfooter p {
	margin-bottom: 0;
	color: #fff;
}
.hero-caption{
text-align:center;
padding:40px 0;
}
.hero-caption h2{
text-align:center;
}

/* Template Components
----------------------------------------------------------------------------- */
/* Buttons
---------------------------------- */
.btn {
	padding: 8px 15px;
	font-size: 14px;
	line-height: 1.42857143;
	min-width: 160px;
	text-align: center;
	border-radius: 0;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.btn-default {
	color: #FFFFFF;
	background: #1d5719;
	border: 0;
}
.btn-default:hover {
	color: #ffffff;
	background-color: #b70b0b;
	border: 0;
}

/* Collapse
---------------------------------- */
.panel-group .panel {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border: none;
}
.panel-default > .panel-heading {
	padding: 0;
	outline: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	width: 100%;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border: 1px solid #f0f0f0;
	border-top: none;
	background-color: #fafafa
}
.panel-heading a {
	font-weight: 400;
	padding: 12px 35px 12px 15px;
	display: inline-block;
	width: 100%;
	background-color: #fff;
	color: #000000;
	position: relative;
	text-decoration: none;
	border: #ECECEC 1px solid;
}
.panel-heading a.collapsed {
	color: #333333;
	background-color: #FAFAFA;
}
.panel-heading a:after {
	font-family: "FontAwesome";
	content: "\f147";
	position: absolute;
	right: 15px;
	font-size: 14px;
	font-weight: 300;
	top: 50%;
	line-height: 1;
	margin-top: -7px;
}
.panel-heading a.collapsed:after {
	content: "\f196";
}
.panel-heading a:hover {
	text-decoration: none;
	background-color: #FFFFFF;
	color: #1d5719;
}
.panel-title a i {
	padding-right: 10px;
	font-size: 20px;
}

/* Pills
---------------------------------- */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li > a:hover {
	background-color: #1d5719;
	border-color: #1d5719;
	color: #ffffff;
}
.nav-pills > li > a {
	border-radius: 0;
	padding: 8px 20px;
	border: 1px solid #cacaca;
	color: #666666;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 300;
}

/* Forms
---------------------------------- */
.form-control {
	height: 45px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.form-control-feedback {
	color: #cccccc;
}
.has-feedback label.sr-only ~ .form-control-feedback {
	top: 15px;
}
textarea {
	resize: vertical;
}
.price-table .panel-heading{
padding: 10px 0;
}
/* Modals
---------------------------------- */
.modal-content {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.modal-header {
	background-color: #1d5719;
	color: #ffffff;
}
.modal-header h4 {
	color: #ffffff;
}
.modal-header .close {
	font-weight: 300;
	color: #FFFFFF;
	text-shadow: none;
	filter: alpha(opacity=100);
	opacity: 1;
}
 
@media (min-width:1200px) {
	.modal-lg {
		width: 1140px;
	}
}

/* Media
---------------------------------- */
.media .fa {
	font-size: 24px;
	width: 40px;
	height: 25px;
	line-height: 25px;
	padding: 0 5px;
	text-align: center;
}

/* Navigations
----------------------------------------------------------------------------- */
.header .navbar {
	margin-bottom: 0;
}
.main-navigation .navbar-default {
	background-color: transparent;
	border: none;
}
.main-navigation .navbar-default .navbar-nav > li > a {
	color: #fff;
	padding: 10px 20px;
	font-size: 18px;
	font-weight: 400;
}
.main-navigation .navbar-default .navbar-nav > li.active > a {
	background-color: transparent;
	color: #000000;
}
.main-navigation .navbar-default .navbar-nav > li > a:hover,
.main-navigation .navbar-default .navbar-nav > li.active > a:hover {
	color: #000000;
}

/* carousel */
#quote-carousel 
{
  padding: 0 10px 30px 10px;
  margin-top: 30px;
}

/* Control buttons  */
#quote-carousel .carousel-control
{
  background: none;
  color: #222;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
}
/* Previous button  */
#quote-carousel .carousel-control.left 
{
  left: -12px;
}
/* Next button  */
#quote-carousel .carousel-control.right 
{
  right: -12px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators 
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li 
{
  background: #c0c0c0;
}
#quote-carousel .carousel-indicators .active 
{
  background: #333333;
}
#quote-carousel img
{
  width: 250px;
  height: 100px
}
/* End carousel */

.item blockquote {
    border-left: none; 
    margin: 0;
}

.item blockquote img {
    margin-bottom: 10px;
}

.item blockquote p:before {
    content: "\f10d";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}



/**
  MEDIA QUERIES
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #quote-carousel 
    {
      margin-bottom: 0;
      padding: 0 40px 30px 40px;
    }
    
}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) { 
    
    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
    
    #quote-carousel .carousel-indicators {
        bottom: -20px !important;  
    }
    #quote-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 15px;
        height: 15px;
    }
    #quote-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 20px;
        height: 20px;
    }
}

@media (min-width:768px) {
	.main-navigation .navbar-default .navbar-nav > li > a {
		padding-top: 30px;
		padding-bottom: 30px;
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.main-navigation .container-fluid {
		padding-left: 0;
		padding-right: 0;
	}
	.navbar-nav {
		float: left !important;
	}
}
@media (max-width:767px) {
	.header.navbar-fixed-top {
		position: absolute;
	}
}

/* Fixed Header
----------------------------------------------------------------------------- */
.fixed-header-on .header {
	background-color: rgb(29, 87, 25);
	padding: 5px 0;
}
.fixed-header-on .brand {
	font-size: 24px;
}
.fixed-header-on .logo {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	margin-top: 0;
	margin-bottom: 0;
}
@media (min-width:768px) {
	.fixed-header-on .navbar-default .navbar-nav > li > a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}
@media (max-width:991px) {
	.fixed-header-on .logo,
	.fixed-header-on .brand,
	.fixed-header-on .site-slogan {
		display: none;
	}
}

/* Blocks/Widgets
----------------------------------------------------------------------------- */
/* Logo, Site Name, Site Slogan
---------------------------------- */
.logo {
	margin: 10px 0px 10px 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.logo,
.logo-section {
	float: left;
}
.brand {
	font-size: 38px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 10px 0;
}
.brand a {
	color: #ffffff;
}
.brand a:hover {
	text-decoration: none;
}
.site-slogan {
	font-size: 12px;
}

/* block-lists
---------------------------------- */
.block-list .media-left {
	width: 60px;

}
.block-list {
  margin-bottom: 40px; /* Increase as needed */
}
.block-list p{
font-size: 16px;
}
.block-list .fa {
border: 1px solid #fff;
padding: 20px;
width: 65px;
height: 65px;
border-radius: 50%;
}

/* Social Links
---------------------------------- */
.social-links {
	padding: 0;
	list-style: none;
	margin: 15px 0;
}
.social-links li {
	margin: 10px 10px 10px 0;
	display: inline-block;
	font-size: 36px;
}
.social-links li a {
	color: #BBBBBB;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	border: 1px solid #D0D0D0;
	width: 52px;
	height: 52px;
	display: inline-block;
	border-radius: 50%;
	font-size: 26px;
	text-align: center;
	padding: 4px;
}
.social-links li.twitter a:hover {
	color: #55acee;
}
.social-links li.skype a:hover {
	color: #00aff0;
}
.social-links li.linkedin a:hover {
	color: #0976b4;
}
.social-links li.googleplus a:hover {
	color: #dd4b39;
}
.social-links li.gmail a:hover {
	color: #b31217;
}
.social-links li.flickr a:hover {
	color: #ff0084;
}
.social-links li.facebook a:hover {
	color: #3b5998;
}
.social-links li.pinterest a:hover {
	color: #cb2027;
}
.social-links li.phone a:hover {
	color: green;
}

/* Isotope Items
---------------------------------- */
.filters {
	margin: 0 0 30px 0;
}
.filters .nav-pills > li {
	margin-right: 2px;
	margin-bottom: 2px;
}
.filters .nav-pills > li + li {
	margin-left: 0px;
}
.text-center.filters .nav-pills > li {
	margin-right: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
	display: inline-block;
	float: none;
}
.isotope-container {
	overflow: hidden;
}
.isotope-item {
	margin-bottom: 20px;
}
.isotope-item .btn-default {
	color: #FFFFFF;
	background: rgba(207, 13, 13, 0.69);
	margin-top: -36px;
	z-index: 2;
	position: relative;
	border: 0;
}
.isotope-item .btn-default:hover {
	color: #ffffff;
}
@media (max-width:480px) {
	.filters .nav-pills > li {
		width: 100%;
		display: block;
	}
}

/* Images Overlay
----------------------------------------------------------------------------- */
.overlay-container {
	position: relative;
	display: block;
	overflow: hidden;
}
.overlay {
	position: absolute;
	top: 0;
	bottom: -1px;
	left: 0;
	right: -1px;
	background-color: rgba(0, 0, 0, 0); /* or just remove the background-color line */	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	-ms-transition: all linear 0.2s;
	-o-transition: all linear 0.2s;
	transition: all linear 0.2s;
}
.overlay:hover {
	text-decoration: none;
}
.overlay span {
	position: absolute;
	display: block;
	bottom: 10px;
	text-align: center;
	width: 100%;
	color: #ffffff;
	font-size: 13px;
	font-weight: 300;
}
.overlay i {
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 18px;
	line-height: 1x;
	color: #ffffff;
	margin-top: -8px;
	margin-left: -8px;
	text-align: center;
}
.overlay-container:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	transform: scale(1);
}


/* ===== Modern Filter Section Styles ===== */
.filter-section .filter-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 2rem auto;
}

.filter-section .filter-wrapper h2 {
  color: #265d4c;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.filter-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f9f8;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #265d4c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease;
}
.filter-dropdown summary:hover {
  background: #eef2ef;
}
.filter-dropdown summary::marker {
  display: none;
}
.filter-dropdown summary::after {
  content: "▾";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.filter-dropdown[open] summary::after {
  content: "▴";
}

.filter-dropdown[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* The content panel */
.filter-dropdown .filter-group {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 1rem 1.5rem;
}

/* Choices.js overrides */
.choices__inner {
  min-height: 50px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: none;
  font-size: 1rem;
}

.choices__list--multiple .choices__item {
  background: #265d4c;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0.35rem;
  font-size: 0.9rem;
}

.choices__list--dropdown {
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.filter-btn,
.filter-reset {
  flex: 1;
  max-width: 220px;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn {
  background-color: #265d4c;
  color: #fff;
  border: none;
}

.filter-btn:hover {
  background-color: #1f4b3f;
}

.filter-reset {
  background-color: #f3f3f3;
  color: #555;
  border: none;
}

.filter-reset:hover {
  background-color: #e0e0e0;
}

/* Results area */
.filter-results {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: #333;
}

.product {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.product h3 {
  color: #265d4c;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product p {
  margin: 0.4rem 0;
}

.product .btn {
  margin-top: 0.75rem;
  background-color: #3498db;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.product .btn:hover {
  background-color: #217dbb;
}
/* Place this at the VERY END of your CSS (after all other rules) */

/* 1) Hide the entire content panel (filter-group + choices wrapper) */
.filter-dropdown:not([open]) > .filter-group,
.filter-dropdown:not([open]) .choices,
.filter-dropdown:not([open]) .choices__inner,
.filter-dropdown:not([open]) .choices__list--dropdown {
  display: none !important;
}

/* 2) Remove the closed panel’s border & shadow so nothing “peeks” out */
.filter-dropdown:not([open]) {
  border: none !important;
  box-shadow: none !
}
#warningModal .modal-content {
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
#warningModal .modal-header {
  background-color: #265d4c !important;
  color: #fff !important;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}
#warningModal .modal-header .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}
#warningModal .modal-header .close {
  color: #fff;
  opacity: 1;
}
#warningModal .modal-body {
  padding: 1.5rem;
  font-size: 1.125rem;
  color: #333;
  line-height: 1.5;
}
#warningModal .modal-footer {
  background: transparent;
  border-top: none;
  padding: 1rem 1.5rem;
  justify-content: flex-end;
}
#warningModal .modal-footer .btn-success {
  background-color: #265d4c;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease;
}
#warningModal .modal-footer .btn-success:hover {
  background-color: #1f4b3f;
  transform: translateY(-1px);
}
/* ─── Modal Close “X” Button Styling ─── */
.modal-header .close {
  background: rgba(255, 255, 255, 0.2); /* translucent white */
  color: #ffffff;                       /* white X */
  border: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;                   /* circular shape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 1;                           /* fully visible */
  transition: background 0.2s ease;
}
.modal-header .close:hover {
  background: rgba(255, 255, 255, 0.4); /* slightly brighter on hover */
  cursor: pointer;
}
/* ─── Warning Modal Close Button Override ─── */
#warningModal .modal-header .close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}
#warningModal .modal-header .close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}
#warningModal .modal-header .close:active {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0.95);
}

/* ─── USER DETAIL GRID STYLING ─── */
#tabUserDetailContent dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  margin-bottom: 2rem;
}

#tabUserDetailContent dl dt,
#tabUserDetailContent dl dd {
  padding: 0.75rem 1.25rem;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

#tabUserDetailContent dl dt {
  background: #f7faf8;
  font-weight: 700;
  color: #265d4c;
  text-transform: uppercase;
}

#tabUserDetailContent dl dd {
  background: #ffffff;
  color: #444;
}

#tabUserDetailContent dl dt:nth-of-type(odd),
#tabUserDetailContent dl dd:nth-of-type(even) {
  background: #f1f3f5;
}
/* 🌟 ADMIN ROLES TABLE - Modern 2025 style 🌟 */
#tabRolesContent {
  background: #f8fafa;
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(44,68,52,0.08);
  padding: 2.5rem 2.2rem 2.7rem 2.2rem;
  max-width: 1100px;
  margin: 2rem auto;
}
#tabRolesContent h5 {
  color: #234b2e;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 1.7rem;
}
#tabRolesContent .input-group,
#tabRolesContent > input[type="text"] {
  margin-bottom: 2rem !important;
}
#rolesTable {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 18px rgba(44,68,52,0.07);
  margin-bottom: 0;
}
#rolesTable thead {
  background: #eaf3ea;
  color: #2a5a46;
  font-weight: 700;
  font-size: 1.09rem;
  border: none;
}
#rolesTable th,
#rolesTable td {
  border: none;
  padding: 1.1rem 1.1rem;
  vertical-align: middle !important;
  font-size: 1.08rem;
}
#rolesTable tbody tr {
  transition: background 0.16s;
}
#rolesTable tbody tr:hover {
  background: #f3f9f4;
}
#rolesTable select.form-select-sm {
  border-radius: 0.5rem;
  padding: 0.33rem 1.1rem 0.33rem 0.7rem;
  font-size: 1rem;
  min-width: 130px;
  background: #f8f8fa;
  border: 1.5px solid #e1e7e1;
  color: #234b2e;
  font-weight: 500;
}
#rolesTable select[disabled] {
  color: #999;
  background: #f3f4f4;
  border: 1.5px dashed #e2e2e2;
}
#rolesTable .btn {
  border-radius: 0.5rem;
  min-width: 110px;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
}
#rolesTable .btn-outline-primary {
  background: linear-gradient(90deg, #eaf9f4 0%, #e8f4eb 100%);
  border: none;
  color: #214c2c;
  box-shadow: 0 1px 4px rgba(80,120,100,0.04);
  transition: background 0.18s, color 0.18s;
}
#rolesTable .btn-outline-primary:hover:not(:disabled) {
  background: #234b2e;
  color: #fff;
}
#rolesTable .btn-outline-secondary,
#rolesTable .btn-outline-primary:disabled {
  color: #888;
  background: #ececec;
  border: none;
  cursor: not-allowed;
  opacity: 0.85;
}
#tabRolesContent .form-control,
#tabRolesContent .form-select {
  border-radius: 0.6rem;
  border: 1.5px solid #d4e3db;
  background: #f9fcfa;
  font-size: 1.06rem;
}

#tabRolesContent .input-group .form-control,
#tabRolesContent .input-group .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#tabRolesContent .input-group .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
#tabRolesContent .btn-success {
  border-radius: 0 0.6rem 0.6rem 0;
  padding: 0.55rem 2rem;
  font-size: 1.09rem;
  font-weight: 700;
}
@media (max-width: 900px) {
  #tabRolesContent {
    padding: 1rem 0.2rem 1.3rem 0.2rem;
  }
  #rolesTable th, #rolesTable td {
    padding: 0.65rem 0.45rem;
    font-size: 0.99rem;
  }
}

/* ===== Modern Tickets Panel Styling ===== */
#tabTicketsContent {
  padding: 1.5rem;
}
#tabTicketsContent h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #224c2a;
  margin-bottom: 1rem;
}
#ticketsList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ticket-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.ticket-header .ticket-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #265d4c;
}
.ticket-header .ticket-status {
  background: #e6f4e8;
  color: #2a5a46;
  border-radius: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.ticket-user {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.75rem;
}
.ticket-user strong {
  color: #224c2a;
}
.ticket-body {
  background: #f7faf7;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.75rem;
}
.ticket-actions {
  display: flex;
  gap: 0.5rem;
}
.ticket-actions button {
  flex: 1;
}
/* Admin Ticket Panel Styles */
#tabTicketsContent .ticket-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#tabTicketsContent .ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
#tabTicketsContent .ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
#tabTicketsContent .ticket-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #265d4c;
}
#tabTicketsContent .ticket-status {
  background: #e6f4ea;
  color: #2e7d32;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 500;
}
#tabTicketsContent .ticket-user {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}
#tabTicketsContent .ticket-body {
  background: #f7f9f8;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #444;
  margin-bottom: 1rem;
}
#tabTicketsContent .ticket-actions {
  display: flex;
  gap: 0.75rem;
}
#tabTicketsContent .ticket-actions .btn {
  flex: 1;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}
#tabTicketsContent .ticket-detail {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}
#tabTicketsContent .chat-messages {
  background: #f7f9f8;
  padding: 1rem;
  border-radius: 8px;
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 1rem;
}
#tabTicketsContent .chat-line {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
#tabTicketsContent .chat-author {
  font-weight: 600;
  margin-right: 0.5rem;
}
#tabTicketsContent .chat-user .chat-author {
  color: #2e7d32;
}
#tabTicketsContent .chat-admin .chat-author {
  color: #b38600;
}
#tabTicketsContent .chat-text {
  flex: 1;
  color: #333;
}
#tabTicketsContent .chat-time {
  font-size: 0.75rem;
  color: #888;
  margin-left: 0.5rem;
}
#tabTicketsContent .chat-input-group {
  display: flex;
  gap: 0.5rem;
}
#tabTicketsContent .chat-input-group .form-control {
  flex: 1;
  border-radius: 8px;
}
#tabTicketsContent .chat-input-group .btn {
  border-radius: 8px;
  padding: 0.5rem 1rem;
}
/* Center and style the Active/Archivum toggle buttons */
#tabTicketsContent .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

#tabTicketsContent .btn-group .btn {
  flex: none;
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  background: #8fe1cf;
  color: #265d4c;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

#tabTicketsContent .btn-group .btn:hover {
  background: #e0e8e3;
  transform: translateY(-1px);
}

#tabTicketsContent .btn-group .btn.active {
  background: #265d4c;
  color: #fff;
  transform: none;
}
/* Wrap and align the registration terms label */
.reg-terms-group {
  width: 100%;
  margin-bottom: 1.5rem;
}

.reg-terms-label {
  display: flex;
  flex-wrap: wrap;           /* allow multiple lines */
  align-items: flex-start;   /* top-align the checkbox */
  gap: 0.5rem;               /* space between checkbox and text */
  width: 100%;               /* fill available width */
}

.reg-terms-label input[type="checkbox"] {
  margin-top: 0.2rem;        /* vertically center against first text line */
  flex-shrink: 0;            /* don’t let it squish */
}

.reg-terms-label a {
  color: #2f5c2a;            /* match your theme green */
  text-decoration: underline;
  transition: color 0.2s;
}

.reg-terms-label a:hover {
  color: #1f4b3f;
}
/* Registration terms: clean grid layout */
.reg-terms-group {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.reg-terms-label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}
.reg-terms-label input[type="checkbox"] {
  margin: 0;
  width: 1.3rem;
  height: 1.3rem;
}
.reg-terms-label a {
  color: #265d4c;
  text-decoration: underline;
}
.reg-terms-label a:hover {
  color: #1f4b3f;
}


/* Modern grid layout for registration terms */
.reg-terms-group {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.reg-terms-group input[type="checkbox"] {
  accent-color: #265d4c;
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
}
.reg-terms-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}
.reg-terms-text a {
  color: #265d4c;
  text-decoration: underline;
  transition: color 0.2s;
}
.reg-terms-text a:hover {
  color: #1f4b3f;
}
/* Divider */
.oauth-divider {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin: 1.5rem 0;
}

/* OAuth buttons container (full width) */
.oauth-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-bottom: 0.75rem;
}

/* Google style */
.oauth-buttons .btn-google {
  background: #fff;
  color: #444;
  border: 1px solid #ccc;
}
.oauth-buttons .btn-google:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* Apple style */
.oauth-buttons .btn-apple {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.oauth-buttons .btn-apple:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Icon sizing */
.oauth-buttons .btn i {
  font-size: 1.2rem;
}
/* Modern Services Grid */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  color: #1d5719;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.3s;
  margin-bottom: 0.75rem;
}
.service-icon:hover {
  transform: scale(1.1);
}
.service-title {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
/* Modern Services Icons */
#services .service-item {
  padding: 1rem;
}
#services .service-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: transform 0.3s ease;
}
#services .service-item:hover .service-icon {
  transform: scale(1.1);
}
#services .service-icon i {
  font-size: 1.5rem;
  color: #265d4c;
}
#services .service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}
/* Services section: size and spacing adjustments */
#services .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#services .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#services .service-icon i {
  font-size: 2rem;
  color: #265d4c;
}
#services .service-title {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/* Warning message for no exact matches */
.warning-message {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
}
/* Enhanced badges for missing/contains labels */
.badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}
.badge.bg-success {
  background-color: #28a745 !important;
  color: #fff !important;
  border: 1px solid #218838;
}
.badge.bg-warning {
  background-color: #ffc107 !important;
  color: #212529 !important;
  border: 1px solid #e0a800;
}
/* Make #results scrollable after 5+ items */
#results.scrollable {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 0.5rem; /* room for scrollbar */
}
/* Optional: custom thin scrollbar for webkit */
#results.scrollable::-webkit-scrollbar {
  width: 8px;
}
#results.scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
/* ─── Navbar alignment & compact language switcher (2025) ─── */
@media (min-width: 768px) {
  .header .navbar .navbar-right {
    display: flex !important;
    align-items: center;
    gap: 14px;                 /* nice breathing room */
    white-space: nowrap;       /* keep it on one line */
  }
  .header .navbar .navbar-right > li {
    float: none !important;    /* kill old Bootstrap float */
  }
}

/* Keep the main nav in one row by trimming side padding slightly */
@media (min-width: 992px) {
  .main-navigation .navbar-default .navbar-nav > li > a {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* User icon stays bold; language chip is smaller and subtle */
.navbar-nav .user-menu > a { font-size: 18px; }

#langMenu > a.dropdown-toggle {
  padding: 6px 10px;           /* compact */
  font-size: 14px;             /* smaller label (HU/EN) */
  line-height: 1;
  color: #fff;
  opacity: .9;
}
#langMenu > a .fa-globe { font-size: 16px; margin-right: 6px; opacity: .9; }
#currentLang { font-weight: 600; letter-spacing: .02em; }
#langMenu .caret { margin-left: 3px; border-top-color: #fff; }

/* Clean dropdown for language list */
#langMenu .dropdown-menu {
  min-width: 140px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: .4rem 0;
}
#langMenu .dropdown-menu > li > a {
  padding: 8px 14px;
  font-size: 14px;
}
#langMenu .dropdown-menu > li > a:hover { background: #f3f6f5; }
/* ===== Scroll-scrub hero video ===== */
.banner {
  position: relative;
  min-height: 70vh; /* keep your previous sizing semantics */
  overflow: hidden;
}
.banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner .banner-caption {
  position: relative;
  z-index: 1; /* keep caption above video */
}


/* ─────────────────────────────────────────────
   Filter Lottie illustrations layout & sizing
   ───────────────────────────────────────────── */
.filter-section { position: relative; }

/* The filter panel should sit above illustrations */
.filter-section .filter-wrapper,
.filter-section .panel { position: relative; z-index: 2; }

.filter-illustrations {
  position: absolute;
  inset: 0;
  z-index: 1;           /* behind the form */
  pointer-events: none; /* decorative only */
  overflow: visible;
}

.filter-illustrations .pet,
.filter-illustrations .decor {
  position: absolute;
  width: 220px;
  height: 220px;
  opacity: 0.9;
  will-change: transform;
}

/* Placement */
.filter-illustrations .pet-dog { left: -16px; top: 180px; }
.filter-illustrations .pet-cat { right: -10px; bottom: 120px; }
.filter-illustrations .paw-trail {
  right: 140px; top: 60px;
  width: 160px; height: 160px;
  opacity: 0.28;
}

/* Focus pulse hook used by JS */
.filter-illustrations .excited { animation: filterPulse 0.8s ease; }
@keyframes filterPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

@media (max-width: 1024px) {
  .filter-illustrations .pet,
  .filter-illustrations .decor { width: 180px; height: 180px; }
  .filter-illustrations .pet-dog { top: 140px; }
  .filter-illustrations .pet-cat { bottom: 90px; }
}
@media (max-width: 680px) {
  .filter-illustrations .pet,
  .filter-illustrations .decor { width: 140px; height: 140px; }
  .filter-illustrations .pet-dog { left: -8px; top: 110px; }
  .filter-illustrations .pet-cat { right: -6px; bottom: 70px; }
}
/* =====================================================
   2025 Glass UI – Apple-inspired header, panels & buttons
   (Overrides older green theme without touching markup)
   ===================================================== */
:root{
  --glass-bg: rgba(255,255,255,0.14);
  --glass-bg-strong: rgba(255,255,255,0.22);
  --glass-border: rgba(255,255,255,0.35);
  --glass-shadow: 0 10px 30px rgba(2, 8, 20, 0.12);
  --text-strong: #0b0b0b;
  --text-muted: #2d2d2d;
  --brand-accent: #0a84ff; /* Apple blue */
}

/* ── HEADER: glass, sticky, shrink on scroll ────────────────────────────── */
.header{
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: #fff; /* keep white over hero video */
}
/* nav links on glass */
.main-navigation .navbar-default .navbar-nav>li>a{
  color:#ffffff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.main-navigation .navbar-default .navbar-nav>li>a:hover,
.main-navigation .navbar-default .navbar-nav>li.active>a{
  color:#ffffff !important;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}
/* shrink behaviour when body gets .fixed-header-on */
.fixed-header-on .header{
  padding: 6px 0 !important;
  background: var(--glass-bg-strong) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.fixed-header-on .logo{ transform: scale(.85); }
@media (min-width:768px){
  .fixed-header-on .navbar-default .navbar-nav>li>a{ padding-top:16px; padding-bottom:16px; }
}

/* remove legacy green accents that leaked into header */
.header .navbar-default{ background: transparent !important; border: none !important; }
.fixed-header-on .brand, .brand a{ color:#fff !important; }

/* ── GLASS PANELS (Login / Register / Admin / Generic modals) ─────────── */
/* base glass card */
.glass-card,
.auth-modal .modal-content,
#adminModal .modal-content {
  background: rgba(255,255,255,0.22) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--text-strong);
}
/* modal headers also glass (remove solid green) */
.auth-modal .modal-header,
#adminModal .modal-header{
  background: rgba(255,255,255,0.18) !important;
  color: var(--text-strong) !important;
  border-bottom: 1px solid var(--glass-border);
}
.auth-modal .modal-title, #adminModal .modal-title{ color: var(--text-strong) !important; text-transform:none; letter-spacing:.2px; }
.auth-modal .modal-header .close, #adminModal .modal-header .close{
  color: var(--text-strong) !important;
  background: rgba(255,255,255,0.35) !important;
}

/* inputs on glass */
.auth-modal .form-control, #adminModal .form-control{ 
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
}
.auth-modal .form-control:focus, #adminModal .form-control:focus{
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(10,132,255,.15);
}

/* ── BUTTONS: glass primary/secondary ──────────────────────────────────── */
.btn, .filter-btn, .filter-reset{ border-radius: 14px !important; text-transform:none; }

.btn-primary, .btn-success, .btn-default{
  background: rgba(255,255,255,0.12) !important;
  color:#ffffff !important;
  border: 1px solid var(--glass-border) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(3,8,20,0.12);
}
.btn-primary:hover, .btn-success:hover, .btn-default:hover,
.filter-btn:hover{
  background: rgba(255,255,255,0.2) !important;
}

/* Accent action (use Apple blue) */
.btn-accent{ background: rgba(10,132,255,0.18); color:#fff; border:1px solid rgba(10,132,255,.45); }
.btn-accent:hover{ background: rgba(10,132,255,0.28); }

/* Google sign-in button on glass */
.btn-google{
  display:block; width:100%;
  background: rgba(255,255,255,0.12) !important;
  color:#fff !important;
  border:1px solid var(--glass-border) !important;
  border-radius:14px; padding:12px 16px; text-align:center;
}
.btn-google i{ margin-right:8px; }
.btn-google:hover{ background: rgba(255,255,255,0.22) !important; }

/* Support ticket floating panel glass */
#supportTicketPanel{
  background: rgba(255,255,255,0.22) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border:1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
#supportTicketPanel .card-header{ background: rgba(255,255,255,0.18); border-bottom:1px solid var(--glass-border); }

/* Footer strip keep solid/dark; no change here intentionally */

/* ── Ensure old green backgrounds don’t peek through other components ── */
.modal-header, .default-bg, .subfooter, .btn-default{ background-image:none; }
/* === Enhancements: readable nav on scroll + visible modal buttons === */

/* When header shrinks (body has .fixed-header-on), use dark ink for perfect contrast */
.fixed-header-on .main-navigation .navbar-default .navbar-nav>li>a{
  color: rgba(0,0,0,0.88) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  background: transparent;
}
.fixed-header-on .main-navigation .navbar-default .navbar-nav>li>a:hover,
.fixed-header-on .main-navigation .navbar-default .navbar-nav>li.active>a{
  color:#000 !important;
  background: rgba(0,0,0,0.04);
  border-radius: 10px;
}
.fixed-header-on .brand a{ color:#111 !important; }
.fixed-header-on .navbar .dropdown-toggle,
.fixed-header-on .navbar-nav .user-menu>a{ color:#111 !important; }
.fixed-header-on #langMenu .caret{ border-top-color:#111 !important; }

/* Keep dropdown readable on glass */
.navbar .dropdown-menu{
  color:#111;
}
.navbar .dropdown-menu>li>a{ color:#111; }
.navbar .dropdown-menu>li>a:hover{ background: rgba(0,0,0,0.05); }

/* Auth modals: make primary actions SOLID and VISIBLE (still on-brand) */
.auth-modal .btn-primary,
.auth-modal .btn-success{
  background: #2f5c2a !important;   /* rich green */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(47,92,42,0.25);
}
.auth-modal .btn-primary:hover,
.auth-modal .btn-success:hover{
  background: #264b22 !important;
}

/* Google button: high contrast on glass */
.auth-modal .btn-google{
  background:#fff !important;
  color:#111 !important;
  border:1px solid rgba(0,0,0,0.1) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.auth-modal .btn-google:hover{ background:#f7f7f7 !important; }

/* Inputs: slightly stronger white for readability */
.auth-modal .form-control{
  background: rgba(255,255,255,0.92);
}

/* Backdrop-filter fallback for older browsers */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
  .header{ background: rgba(255,255,255,0.96) !important; }
  .auth-modal .modal-content,
  #adminModal .modal-content{ background: rgba(255,255,255,0.98) !important; }
}
/* =====================================================
   Glass UI Fixes – Readability & Apple-style polish
   ===================================================== */

/* ── NAV LINKS READABILITY ── */
.fixed-header-on .navbar-default .navbar-nav > li > a,
.fixed-header-on .navbar-default .navbar-nav > li > a:visited {
  color: var(--text-strong) !important;       /* dark ink */
  text-shadow: 0 1px 1px rgba(255,255,255,.4); /* soft glow */
}

.fixed-header-on .navbar-default .navbar-nav > li > a:hover,
.fixed-header-on .navbar-default .navbar-nav > li.active > a {
  background: rgba(0,0,0,0.08) !important;   /* subtle dark tint */
  border-radius: 8px;
  color: var(--text-strong) !important;
}

/* dropdowns also dark */
.navbar-default .dropdown-menu {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--glass-border);
}
.navbar-default .dropdown-menu > li > a {
  color: var(--text-strong) !important;
}

/* ── MODALS (Login/Register/Admin) ── */
.auth-modal .modal-content,
#adminModal .modal-content {
  background: rgba(255,255,255,0.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.auth-modal .modal-header,
#adminModal .modal-header {
  background: rgba(255,255,255,0.18) !important;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-strong) !important;
}

.auth-modal .modal-title,
#adminModal .modal-title {
  font-weight: 600;
  color: var(--text-strong) !important;
}

/* ── INPUTS ── */
.auth-modal .form-control,
#adminModal .form-control {
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  color: var(--text-strong);
}
.auth-modal .form-control:focus,
#adminModal .form-control:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(10,132,255,.15);
}

/* ── BUTTONS INSIDE MODALS ── */
.auth-modal .btn-primary,
.auth-modal .btn-success,
#adminModal .btn-primary {
  background: #007aff !important; /* Apple blue */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,122,255,0.25);
  transition: all .2s ease;
}
.auth-modal .btn-primary:hover,
.auth-modal .btn-success:hover,
#adminModal .btn-primary:hover {
  background: #0062cc !important;
}

/* Google button: clean white */
.auth-modal .btn-google,
#adminModal .btn-google {
  background: #ffffff !important;
  color: #000 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.auth-modal .btn-google:hover {
  background: #f2f2f2 !important;
}

/* ── FALLBACK (no backdrop support) ── */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .header,
  .auth-modal .modal-content,
  #adminModal .modal-content {
    background: #ffffff !important;
  }
}
/* =====================================================
   2025 Glass UI – rounded dropdown & pill modals (override)
   ===================================================== */

/* Glass dropdown: rounded, blurred, readable */
.navbar .dropdown-menu,
.navbar-default .dropdown-menu {
  background: rgba(255,255,255,0.2) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(2,8,20,.18);
  padding: .5rem 0 !important;
  overflow: hidden;
}
.navbar .dropdown-menu > li > a {
  color: #0b0b0b !important;
  padding: .6rem 1rem !important;
}
.navbar .dropdown-menu > li > a:hover {
  background: rgba(0,0,0,.06) !important;
}

/* ── Auth modals: round, clean, Apple-like ── */
.auth-modal .modal-dialog { max-width: 640px !important; }

.auth-modal .modal-content {
  background: rgba(255,255,255,0.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 22px !important;       /* round container */
  box-shadow: 0 24px 80px rgba(2,8,20,.22);
  overflow: hidden;
}

/* Header: subtle glass, centered title */
.auth-modal .modal-header {
  background: rgba(255,255,255,0.18) !important;
  border-bottom: 1px solid rgba(255,255,255,0.35) !important;
  color: #0b0b0b !important;
  padding: 1.25rem 1.5rem !important;
}
.auth-modal .modal-title {
  width: 100%; text-align: center; margin: 0;
  font-weight: 800; letter-spacing: -0.02em; color: #0b0b0b !important;
}
.auth-modal .modal-header .close {
  background: rgba(255,255,255,0.35) !important; color:#0b0b0b !important;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
}

/* Body: transparent so glass shows through */
.auth-modal .modal-body { background: transparent !important; padding: 2rem 1.75rem !important; }

/* Inputs: pill, crisp borders */
.auth-modal .form-control {
  height: 3.25rem !important;
  border-radius: 999px !important;          /* pill */
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  color: #0b0b0b !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(255,255,255,.6) !important;
}
.auth-modal .form-control::placeholder { color: rgba(0,0,0,.45); }
.auth-modal .form-control:focus {
  border-color: #0a84ff !important;
  box-shadow: 0 0 0 4px rgba(10,132,255,.15) !important;
}

/* Primary actions: blue pill */
.auth-modal .btn-primary,
.auth-modal .btn-success {
  height: 3.2rem; width: 100%;
  border-radius: 999px !important;          /* pill */
  background: linear-gradient(180deg,#0a84ff 0%, #0066ff 100%) !important;
  color: #fff !important; border: none !important;
  box-shadow: 0 12px 28px rgba(0,102,255,.28), inset 0 -1px 0 rgba(255,255,255,.18) !important;
  font-weight: 700; letter-spacing: .01em;
}
.auth-modal .btn-primary:hover,
.auth-modal .btn-success:hover { background: linear-gradient(180deg,#0974e6,#0056e6) !important; }

/* Secondary (Google) button: white pill */
.auth-modal .btn-google {
  height: 3.1rem; width: 100%;
  border-radius: 999px !important;
  background: #ffffff !important; color: #111 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
}
.auth-modal .btn-google:hover { background: #f7f7f7 !important; }

/* Subtle divider */
.auth-modal .oauth-divider, .auth-modal .modal-body .text-center { color: rgba(0,0,0,.55) !important; }

/* Fallback if no backdrop-filter support */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .navbar .dropdown-menu { background: #ffffff !important; }
  .auth-modal .modal-content { background: #ffffff !important; }
}


/* 0) Darken the page while a modal is open so content pops */
.modal-backdrop,
.modal-backdrop.in,
.modal-backdrop.show {
  background: rgba(12, 15, 20, 0.60) !important; /* darker than before */
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* 1) Header user dropdown — crisp glass + readable items */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.28) !important; /* brighter glass */
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 18px 60px rgba(2, 8, 20, 0.25) !important;
  border-radius: 18px !important;
  padding: 10px !important;
}
.navbar .dropdown-menu > li > a {
  color: #0b0b0b !important;          /* strong readable text */
  font-weight: 600;
  padding: 12px 16px !important;
  border-radius: 12px !important;
}
.navbar .dropdown-menu > li > a:hover,
.navbar .dropdown-menu > li > a:focus {
  background: rgba(255, 255, 255, 0.6) !important;
  color: #000 !important;
}

/* 2) Auth modals — true glass card with high-contrast UI */
.auth-modal .modal-dialog {
  margin: 4.5rem auto !important;
}
.auth-modal .modal-content {
  background: rgba(255, 255, 255, 0.30) !important; /* brighter glass */
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 28px 90px rgba(2, 8, 20, 0.30) !important;
  border-radius: 24px !important;     /* more round */
  overflow: hidden;
}
/* header stays glass but with subtle divider */
.auth-modal .modal-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0.18)) !important;
  border-bottom: 1px solid rgba(255,255,255,0.45) !important;
  padding: 1.25rem 2rem !important;
}
.auth-modal .modal-title {
  color: #0b0b0b !important;
  text-transform: none;
  letter-spacing: .2px;
}
.auth-modal .modal-header .close {
  background: rgba(255,255,255,0.55) !important;
  color: #0b0b0b !important;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
}

/* form area: use near-white inputs for perfect contrast */
.auth-modal .modal-body {
  background: transparent !important;
  padding: 2rem !important;
  color: #0b0b0b !important;
}
.auth-modal .form-control {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(0,0,0,0.14) !important;
  color: #0b0b0b !important;
  height: 3.25rem !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 0 rgba(0,0,0,0.02) inset;
}
.auth-modal .form-control::placeholder { color: rgba(0,0,0,0.45); }
.auth-modal .form-control:focus {
  border-color: #0a84ff !important;      /* Apple blue */
  box-shadow: 0 0 0 4px rgba(10,132,255,0.16) !important;
}

/* primary action — bold, visible */
.auth-modal .btn-primary {
  background: #0a84ff !important;        /* Apple blue */
  border: 0 !important;
  color: #fff !important;
  height: 3.25rem !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 14px 40px rgba(10,132,255,0.35) !important;
}
.auth-modal .btn-primary:hover { background: #0077ed !important; }

/* Google/secondary button — clear and clickable */
.auth-modal .btn-outline-dark,
.auth-modal .btn-google {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  color: #0b0b0b !important;
  height: 3.1rem !important;
  border-radius: 14px !important;
}
.auth-modal .btn-outline-dark:hover,
.auth-modal .btn-google:hover { background: #fff !important; }

/* footer help links — readable on glass */
.auth-modal .modal-body .text-center a { color: #0a84ff !important; }
.auth-modal .modal-body .text-center a:hover { color: #0077ed !important; }

/* small helper: ensure user icon/caret in navbar remain visible on glass */
.navbar .navbar-nav > li > a { text-shadow: 0 1px 1px rgba(0,0,0,.2); }
/* =====================================================
   VISIBILITY / LEGAL / PROFILE POLISH (2025 glass theme)
   ===================================================== */

/* --- Registration consent row (checkbox + text) --- */
.auth-modal .consent-row,
#registerModal .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(0,0,0,0.08);
  margin-top: 10px;
  color: #121212;
}

.auth-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: #0a84ff;                    /* modern browsers */
  border-radius: 6px;
}

.auth-modal .legal-text,
#registerModal .legal-text {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #101010;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.auth-modal .legal-text a,
#registerModal .legal-text a {
  color: #0a84ff;
  text-decoration: underline;
}
.auth-modal .legal-text a:hover,
#registerModal .legal-text a:hover {
  color: #0066cc;
  text-decoration: none;
}

/* Tighten spacing when used above the submit button */
#registerModal .consent-row + .btn,
.auth-modal .consent-row + .btn { margin-top: 14px; }

/* --- Profile modal visibility fixes --- */
.auth-modal#profileModal .modal-content {
  background: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.35);
}

.auth-modal#profileModal .modal-body {
  color: #0f0f0f;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  background: transparent;                 /* keep glass look from content */
}

.auth-modal#profileModal .modal-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.08),
    rgba(0,0,0,0.22),
    rgba(0,0,0,0.08)
  );
  margin: 16px 0 18px;
}

.auth-modal#profileModal .profile-info strong {
  color: #0f5d2c;                           /* richer, readable green */
  text-shadow: none;
}

.auth-modal#profileModal #profilePassword {
  background: rgba(255,255,255,0.65);
  color: #222;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Edit (pencil) button contrast on glass */
.auth-modal#profileModal #editPasswordBtn {
  background-color: rgba(10,132,255,0.12);
  color: #0a84ff;
}
.auth-modal#profileModal #editPasswordBtn:hover {
  background-color: rgba(10,132,255,0.22);
}

/* --- Legal documents (Terms & Privacy) modals --- */
/* IDs below are safe even if the modals are injected dynamically later. */
#termsModal .modal-content,
#privacyModal .modal-content,
.modal.legal-modal .modal-content {
  background: rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
}

#termsModal .modal-header,
#privacyModal .modal-header,
.modal.legal-modal .modal-header {
  background: rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

#termsModal .modal-title,
#privacyModal .modal-title,
.modal.legal-modal .modal-title {
  color: #0b0b0b;
  letter-spacing: .02em;
  font-weight: 800;
}

/* Body text readability */
#termsModal .modal-body,
#privacyModal .modal-body,
.modal.legal-modal .modal-body {
  color: #0f0f0f;
  line-height: 1.6;
  font-size: 1.02rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  max-height: calc(100vh - 240px);
  overflow-y: auto;
}

/* Emphasize headings & bullet spacing inside legal docs */
#termsModal .modal-body h1,
#termsModal .modal-body h2,
#privacyModal .modal-body h1,
#privacyModal .modal-body h2,
.modal.legal-modal .modal-body h1,
.modal.legal-modal .modal-body h2 {
  font-size: 1.15rem;
  margin: 1rem 0 .5rem;
  color: #0f5d2c;
}

#termsModal .modal-body ul li,
#privacyModal .modal-body ul li,
.modal.legal-modal .modal-body ul li {
  margin-bottom: .4rem;
}

/* Close button in legal modals */
#termsModal .modal-header .close,
#privacyModal .modal-header .close,
.modal.legal-modal .modal-header .close {
  background: rgba(255,255,255,0.2);
  color: #111 !important;
}
#termsModal .modal-header .close:hover,
#privacyModal .modal-header .close:hover,
.modal.legal-modal .modal-header .close:hover {
  background: rgba(255,255,255,0.3);
}

/* --- Dropdown (user menu) glass card – stronger contrast --- */
.navbar .dropdown-menu {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 10px;
}
.navbar .dropdown-menu > li > a {
  color: #0d0d0d !important;
  border-radius: 10px;
}
.navbar .dropdown-menu > li > a:hover {
  background: rgba(0,0,0,0.06);
}

/* When a plain paragraph is used after a checkbox (no explicit .legal-text class) */
.auth-modal input[type="checkbox"] + label,
#registerModal input[type="checkbox"] + label,
.auth-modal input[type="checkbox"] + span,
#registerModal input[type="checkbox"] + span {
  color: #0f0f0f;
  font-size: 0.98rem;
  line-height: 1.45;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* Glass chip around the checkbox + text */
.reg-terms-group{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  margin-top:1rem;
  padding:.875rem 1rem;
  border-radius:14px;
  background: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border:1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 30px rgba(2,8,20,.10);
}

/* Bigger, modern checkbox */
.reg-terms-group input[type="checkbox"]{
  width:22px;
  height:22px;
  margin-top:.15rem;
  accent-color:#0a84ff;      /* Apple blue */
  border-radius:6px;
}

/* Readable text + links */
.reg-terms-text{
  color:#0b0b0b;
  line-height:1.45;
  font-size:1rem;
}
.reg-terms-text a{
  color:#0a84ff;
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(10,132,255,.28);
}
.reg-terms-text a:hover{
  border-bottom-color: rgba(10,132,255,.6);
}

/* Legal modals (Terms & Privacy) – glass body with strong contrast */
#termsModal .modal-content,
#privacyModal .modal-content,
.legal-modal .modal-content{
  background: rgba(255,255,255,0.25) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,0.35);
  border-radius:18px;
  box-shadow: 0 24px 80px rgba(2,8,20,.22);
}

/* Header strip */
#termsModal .modal-header,
#privacyModal .modal-header,
.legal-modal .modal-header{
  background: rgba(255,255,255,0.18) !important;
  color:#0b0b0b !important;
  border-bottom:1px solid rgba(255,255,255,0.35);
}

/* Close button tuned for light glass */
#termsModal .modal-header .close,
#privacyModal .modal-header .close,
.legal-modal .modal-header .close{
  background: rgba(0,0,0,.06) !important;
  color:#111 !important;
  width:2.25rem; height:2.25rem;
  border-radius:50%;
}
#termsModal .modal-header .close:hover,
#privacyModal .modal-header .close:hover,
.legal-modal .modal-header .close:hover{
  background: rgba(0,0,0,.12) !important;
}

/* Scrollable, readable body */
#termsModal .modal-body,
#privacyModal .modal-body,
.legal-modal .modal-body{
  color:#121212;
  font-size:1.05rem;
  line-height:1.62;
  max-height:70vh;
  overflow:auto;
  background: transparent;
}
#termsModal .modal-body h1, #termsModal .modal-body h2, #termsModal .modal-body h3,
#privacyModal .modal-body h1, #privacyModal .modal-body h2, #privacyModal .modal-body h3,
.legal-modal .modal-body h1, .legal-modal .modal-body h2, .legal-modal .modal-body h3{
  color:#0f0f0f;
  margin-top:0.5rem;
  margin-bottom:.75rem;
  font-weight:800;
}
#termsModal .modal-body strong,
#privacyModal .modal-body strong,
.legal-modal .modal-body strong{ color:#0f0f0f; }

/* Footer buttons */
#termsModal .modal-footer .btn,
#privacyModal .modal-footer .btn,
.legal-modal .modal-footer .btn{
  min-width:120px;
  border-radius:.75rem;
  font-weight:700;
}
#termsModal .modal-footer .btn-primary,
#privacyModal .modal-footer .btn-primary,
.legal-modal .modal-footer .btn-primary{
  background:#0a84ff;
  border:none;
}
#termsModal .modal-footer .btn-primary:hover,
#privacyModal .modal-footer .btn-primary:hover,
.legal-modal .modal-footer .btn-primary:hover{
  background:#066bd6;
}

@media (max-width: 520px){
  .reg-terms-text{ font-size:.95rem; }
  .reg-terms-group{ padding:.75rem .875rem; }
}
/* 🔹 Registration terms checkbox text */
.reg-terms-text {
  font-size: 14px;
  color: #fff !important; /* brighter text */
  text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* contrast boost */
}
.reg-terms-text a {
  color: var(--brand-accent) !important;
  font-weight: 500;
  text-decoration: underline;
}
.reg-terms-group input[type="checkbox"] {
  accent-color: var(--brand-accent); /* Apple blue checkbox */
}


/* 🔹 Terms of Use / Privacy Policy modals */
#termsModal .modal-content,
#privacyModal .modal-content {
  background: rgba(30,30,30,0.55) !important; /* darker glass */
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  color: #f5f5f5 !important;
  line-height: 1.6;
}
#termsModal .modal-content h4,
#privacyModal .modal-content h4 {
  font-weight: 700;
  font-size: 20px;
  color: #fff !important;
}
#termsModal .modal-content p,
#privacyModal .modal-content p,
#termsModal .modal-content li,
#privacyModal .modal-content li {
  color: #f0f0f0 !important;
}
#termsModal .modal-content a,
#privacyModal .modal-content a {
  color: var(--brand-accent) !important;
  font-weight: 500;
  text-decoration: underline;
}

/* 🔹 Buttons inside modals */
#termsModal .btn,
#privacyModal .btn {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
}
#termsModal .btn:hover,
#privacyModal .btn:hover {
  background: rgba(255,255,255,0.25) !important;
}

/* Dim the backdrop more for readability */
.modal-backdrop.show.legal-dim,
#termsModal.in ~ .modal-backdrop,
#privacyModal.in ~ .modal-backdrop {
  background-color: rgba(0,0,0,0.65) !important;
  backdrop-filter: blur(3px) !important;
}

/* Core glass container with strong contrast */
#termsModal .modal-content,
#privacyModal .modal-content {
  background: rgba(18, 22, 26, 0.80) !important; /* dark glass */
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 80px rgba(0,0,0,0.45);
  color: #eef2f7; /* default text */
}

/* Header */
#termsModal .modal-header,
#privacyModal .modal-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)) !important;
  border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}
#termsModal .modal-title,
#privacyModal .modal-title {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: .02em;
}
#termsModal .modal-header .close,
#privacyModal .modal-header .close {
  color: #fff !important;
  background: rgba(255,255,255,0.18) !important;
  border: none;
  width: 2rem; height: 2rem; border-radius: 50%;
}
#termsModal .modal-header .close:hover,
#privacyModal .modal-header .close:hover { background: rgba(255,255,255,0.32) !important; }

/* Body: readable, scrollable */
#termsModal .modal-body,
#privacyModal .modal-body {
  color: #f1f5f9 !important;       /* main text */
  line-height: 1.7 !important;      /* breathing space */
  font-size: 1.05rem !important;
  max-height: 72vh !important;      /* keep header + footer visible */
  overflow-y: auto !important;
}
#termsModal .modal-body h1,
#termsModal .modal-body h2,
#termsModal .modal-body h3,
#privacyModal .modal-body h1,
#privacyModal .modal-body h2,
#privacyModal .modal-body h3 {
  color: #ffffff !important;
}
#termsModal .modal-body strong,
#privacyModal .modal-body strong { color: #ffffff !important; }

/* Links pop on dark glass */
#termsModal .modal-body a,
#privacyModal .modal-body a {
  color: #8ecaff !important; /* bright but soft blue */
  text-decoration: underline;
}
#termsModal .modal-body a:hover,
#privacyModal .modal-body a:hover { color: #c7e3ff !important; }

/* Lists */
#termsModal .modal-body li,
#privacyModal .modal-body li { margin-bottom: .4rem; }

/* Footer button area */
#termsModal .modal-footer,
#privacyModal .modal-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,0.14) !important;
}
#termsModal .modal-footer .btn,
#privacyModal .modal-footer .btn {
  border-radius: .9rem !important;
  font-weight: 700;
  padding: .7rem 1.6rem;
}
#termsModal .modal-footer .btn-default,
#privacyModal .modal-footer .btn-default,
#termsModal .modal-footer .btn-primary,
#privacyModal .modal-footer .btn-primary {
  background: #0a84ff !important;   /* Apple blue */
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(10,132,255,0.35);
}
#termsModal .modal-footer .btn-default:hover,
#privacyModal .modal-footer .btn-default:hover,
#termsModal .modal-footer .btn-primary:hover,
#privacyModal .modal-footer .btn-primary:hover {
  background: #2aa1ff !important;
}

/* ===== Registration terms line (checkbox) ===== */
.reg-terms-group { display: flex; align-items: flex-start; gap: .6rem; margin-top: .75rem; }
.reg-terms-group input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.reg-terms-text { color: #0b0b0b; font-size: .98rem; line-height: 1.5; }
.reg-terms-text a { color: #0a84ff; text-decoration: underline; }
.reg-terms-text a:hover { color: #0066cc; }

/* Dim the backdrop more for readability */
.modal-backdrop.show.legal-dim,
#termsModal.in ~ .modal-backdrop,
#privacyModal.in ~ .modal-backdrop,
#cookieModal.in ~ .modal-backdrop {
  background-color: rgba(0,0,0,0.65) !important;
  backdrop-filter: blur(3px) !important;
}

/* Core glass container with strong contrast */
#termsModal .modal-content,
#privacyModal .modal-content,
#cookieModal .modal-content {
  background: rgba(18, 22, 26, 0.80) !important; /* dark glass */
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 80px rgba(0,0,0,0.45);
  color: #eef2f7; /* default text */
  border-radius: 20px;
}

/* Header */
#termsModal .modal-header,
#privacyModal .modal-header,
#cookieModal .modal-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)) !important;
  border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}
#termsModal .modal-title,
#privacyModal .modal-title,
#cookieModal .modal-title {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: .02em;
}
#termsModal .modal-header .close,
#privacyModal .modal-header .close,
#cookieModal .modal-header .close {
  color: #fff !important;
  background: rgba(255,255,255,0.18) !important;
  border: none;
  width: 2rem; height: 2rem; border-radius: 50%;
}
#termsModal .modal-header .close:hover,
#privacyModal .modal-header .close:hover,
#cookieModal .modal-header .close:hover { 
  background: rgba(255,255,255,0.32) !important; 
}

/* Body: readable, scrollable */
#termsModal .modal-body,
#privacyModal .modal-body,
#cookieModal .modal-body {
  color: #f1f5f9 !important;       /* main text */
  line-height: 1.7 !important;      /* breathing space */
  font-size: 1.05rem !important;
  max-height: 72vh !important;      /* keep header + footer visible */
  overflow-y: auto !important;
}
#termsModal .modal-body h1,
#termsModal .modal-body h2,
#termsModal .modal-body h3,
#privacyModal .modal-body h1,
#privacyModal .modal-body h2,
#privacyModal .modal-body h3,
#cookieModal .modal-body h1,
#cookieModal .modal-body h2,
#cookieModal .modal-body h3 {
  color: #ffffff !important;
}
#termsModal .modal-body strong,
#privacyModal .modal-body strong,
#cookieModal .modal-body strong { 
  color: #ffffff !important; 
}

/* Links pop on dark glass */
#termsModal .modal-body a,
#privacyModal .modal-body a,
#cookieModal .modal-body a {
  color: #8ecaff !important; /* bright but soft blue */
  text-decoration: underline;
}
#termsModal .modal-body a:hover,
#privacyModal .modal-body a:hover,
#cookieModal .modal-body a:hover { 
  color: #c7e3ff !important; 
}

/* Lists */
#termsModal .modal-body li,
#privacyModal .modal-body li,
#cookieModal .modal-body li { 
  margin-bottom: .4rem; 
}

/* Footer button area */
#termsModal .modal-footer,
#privacyModal .modal-footer,
#cookieModal .modal-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,0.14) !important;
}
#termsModal .modal-footer .btn,
#privacyModal .modal-footer .btn,
#cookieModal .modal-footer .btn {
  border-radius: .9rem !important;
  font-weight: 700;
  padding: .7rem 1.6rem;
}
#termsModal .modal-footer .btn-default,
#privacyModal .modal-footer .btn-default,
#cookieModal .modal-footer .btn-default,
#termsModal .modal-footer .btn-primary,
#privacyModal .modal-footer .btn-primary,
#cookieModal .modal-footer .btn-primary {
  background: #0a84ff !important;   /* Apple blue */
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(10,132,255,0.35);
}
#termsModal .modal-footer .btn-default:hover,
#privacyModal .modal-footer .btn-default:hover,
#cookieModal .modal-footer .btn-default:hover,
#termsModal .modal-footer .btn-primary:hover,
#privacyModal .modal-footer .btn-primary:hover,
#cookieModal .modal-footer .btn-primary:hover {
  background: #2aa1ff !important;
}

/* ===== Registration terms line (checkbox) ===== */
.reg-terms-group { 
  display: flex; 
  align-items: flex-start; 
  gap: .6rem; 
  margin-top: .75rem; 
}
.reg-terms-group input[type="checkbox"] { 
  width: 1.1rem; 
  height: 1.1rem; 
  margin-top: .2rem; 
}
.reg-terms-text { 
  color: #f1f5f9 !important; 
  font-size: .98rem; 
  line-height: 1.5; 
}
.reg-terms-text a { 
  color: #0a84ff; 
  text-decoration: underline; 
}
.reg-terms-text a:hover { 
  color: #0066cc; 
}
/* Modern Glass Close Button */
.modal-header .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}

/* Hover / focus effect */
.modal-header .close:hover,
.modal-header .close:focus {
  background: rgba(255, 255, 255, 0.35);
  color: #000 !important;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* =====================================================
   Modern Contact + Footer (2025)
   ===================================================== */
.site-footer{background:#0b0f12;color:#dfe6ee}
.site-footer a{color:#cfe3ff}
.site-footer a:hover{color:#fff}

/* Contact section */
.contact-cta{position:relative;padding:60px 0;background:radial-gradient(1200px 400px at 50% -10%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%), linear-gradient(180deg,#0b0f12 0,#0b0f12 100%)}
.contact-card{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;background:rgba(255,255,255,0.06);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);border:1px solid rgba(255,255,255,0.12);border-radius:20px;padding:32px}
.contact-title{margin:0 0 12px;font-weight:800;color:#fff}
.contact-left .form-control{height:48px;border-radius:12px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.12);color:#fff}
.contact-left textarea.form-control{height:140px}
.contact-left .form-control::placeholder{color:#e1e6f099}
.contact-left .form-control:focus{border-color:#0a84ff;box-shadow:0 0 0 4px rgba(10,132,255,.18)}
.btn-accent{background:#0a84ff;color:#fff;border:1px solid rgba(255,255,255,0.22);border-radius:12px;padding:12px 18px;font-weight:700}
.btn-accent:hover{background:#2aa1ff}

/* Right column */
.contact-right .contact-info{margin-bottom:18px}
.contact-right .info-row{display:flex;align-items:center;gap:10px;margin:10px 0;color:#e7edf6}
.contact-right .contact-actions{display:flex;gap:12px;margin:14px 0 22px}
.contact-right .round-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.18);color:#fff}
.contact-right .round-icon:hover{background:rgba(255,255,255,0.22)}
.newsletter h4{margin:0 0 6px;color:#fff}
.newsletter .muted{color:#a6b3c4;margin-bottom:10px}
.newsletter form{display:flex;gap:10px}
.newsletter input.form-control{flex:1;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.08);color:#fff}
.newsletter .btn{height:46px}
.socials{display:flex;gap:10px;margin-top:12px}
.socials a{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.1);color:#fff}
.socials a:hover{background:rgba(255,255,255,0.22)}

/* Footer links grid */
.footer-links{background:#0d1216;padding:40px 0;border-top:1px solid rgba(255,255,255,0.08)}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.footer-grid .col h5{color:#fff;margin:0 0 10px;font-weight:700}
.footer-grid .col ul{padding:0;margin:0;list-style:none}
.footer-grid .col li{margin:8px 0}
.footer-grid .payments .badges{display:flex;flex-wrap:wrap;gap:8px}
.badge-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,0.1);color:#fff;border:1px solid rgba(255,255,255,0.18);font-size:.85rem}

.subfooter{background:#0b0f12;padding:16px 0;border-top:1px solid rgba(255,255,255,0.08)}
.subfooter p{color:#9fb0c3;margin:0}

@media (max-width:992px){.contact-card{grid-template-columns:1fr}}
@media (max-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}.newsletter form{flex-direction:column}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr}}
/* ===== Footer links grid (enhancements) ===== */
.footer-links{
  background:#0f1213;
  color:#d6dde1;
  padding: 48px 0;
}
.footer-links .footer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:28px;
  align-items:flex-start;
}
.footer-links h5{
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#f2f6f8;
  margin-bottom:.75rem;
  font-weight:700;
}
.footer-links .col ul{ list-style:none; margin:0; padding:0; }
.footer-links .col ul li{ margin:.35rem 0; }
.footer-links .col ul a{ color:#c6d3d9; text-decoration:none; }
.footer-links .col ul a:hover{ color:#fff; text-decoration:underline; }

/* ===== Review widget ===== */
.footer-links .review .rating-wrap{
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:14px;
}
.footer-links .rating-summary{
  display:flex; align-items:center; gap:.5rem; margin-bottom:.5rem;
}
.footer-links .rating-summary #ratingAverage{
  font-size:1.25rem; font-weight:800; color:#ffffff;
}
.footer-links .rating-summary .stars i{
  color:#ffc107; margin-right:2px;
}
.footer-links .rating-summary #ratingCount{ color:#9fb0b9; }

.rating-form{ display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; }
.rating-form .star{
  width:34px; height:34px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  color:#9fb0b9; cursor:pointer;
  transition:transform .1s ease, background .2s ease, color .2s ease;
}
.rating-form .star:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.12);
}
.rating-form .star.active{
  color:#ffc107;
  background:rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.35);
}

.rating-form #sendRating{
  padding:.4rem .75rem; border-radius:10px; margin-left:.25rem;
  min-width:auto; font-size:.9rem;
}
.rating-note{ display:block; margin-top:.35rem; color:#8fa1aa; font-size:.85rem; }
/* --- Newsletter consent pop (slides from subscribe button) --- */
.newsletter { position: relative; }
#newsletterSubmit { position: relative; z-index: 2; }

.consent-pop {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  min-width: 280px;
  max-width: min(460px, 90vw);
  background: rgba(24, 28, 32, 0.86);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}

.consent-pop.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.consent-pop .btn-xs { padding: 6px 10px; font-size: 12px; border-radius: 10px; }
.consent-pop a { color: #8ecaff; text-decoration: underline; }
.consent-pop a:hover { color: #c7e3ff; }
#newsletterConsentPop[hidden]{ display:none !important; }
#newsletterConsentPop{
  position: absolute; /* or relative container */
  margin-top:.5rem;
  padding:12px 16px;
  border-radius:14px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.28);
  opacity:0; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}
#newsletterConsentPop.show{
  opacity:1; transform: translateY(0);
}
#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 350px; /* or whatever fits your footer */
}

#newsletterForm .form-control,
#newsletterForm .btn {
  width: 100%;
}

.newsletter-status {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.newsletter-status.text-danger {
  color: #e74c3c;
}
.newsletter-status.text-success {
  color: #2ecc71;
}
/* Newsletter consent overlay */
#newsletterConsentBox {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: #1e1e1e; /* match footer bg */
  border: 1px solid #333;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 20;
}

#newsletterConsentBox label {
  font-size: 0.85rem;
  color: #ccc;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

#newsletterConsentBox .actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

#newsletterConsentBox .btn {
  flex: 1;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 0.4rem;
}
/* Newsletter consent popover */
#newsletterConsentBox {
  position: absolute;
  top: 100%; /* just below the subscribe form */
  left: 0;
  z-index: 20;

  background: #1e1e1e;      /* dark card background */
  border: 1px solid #333;   /* subtle border */
  border-radius: 10px;
  padding: 1rem;
  margin-top: 0.5rem;

  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  max-width: 320px;         /* keep compact */
  font-size: 0.9rem;
}

#newsletterConsentBox label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

#newsletterConsentBox .actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

#newsletterConsentBox .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
}
/* Positioning wrapper for the popover */
.newsletter-wrap {
  position: relative;
  max-width: 520px; /* keeps things tidy on wide screens */
}

/* Keep status from collapsing on errors */
.newsletter-status {
  min-height: 1.25rem;
  margin-top: .25rem;
}

/* Consent popover card */
.consent-pop {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: .5rem;
  z-index: 30;

  width: 100%;
  max-width: 520px;

  background: rgba(22, 24, 28, .92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .9rem;

  box-shadow: 0 10px 30px rgba(0,0,0,.35);

  /* slide/fade */
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
}

/* JS toggles [hidden]/.show */
.consent-pop.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.consent-pop[hidden] { display: none !important; }

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  line-height: 1.35;
  margin-bottom: .75rem;
}

.consent-pop .actions {
  display: flex;
  gap: .5rem;
}

.consent-pop .btn {
  flex: 1;
  padding: .5rem .75rem;
  font-size: .9rem;
  border-radius: 10px;
}

/* Optional: match your dark theme checkbox size */
#newsletterConsentChk {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
}
#newsletterConsentBox.nl-pop {
  position: absolute;
  left: 0;
  right: auto;               /* don’t stretch full width */
  top: calc(100% + 6px);     /* a little closer */
  z-index: 30;
  display: none;

  max-width: 360px;          /* keep it compact */
  padding: 10px 12px;
  border-radius: 8px;

  background: rgba(25, 28, 32, 0.95);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);

  font-size: 0.85rem;
  line-height: 1.3;
  color: #eaeaea;
}

#newsletterConsentBox .nl-consent-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

#newsletterConsentBox .actions {
  display: flex;
  gap: 6px;
}

#newsletterConsentBox .btn {
  font-size: 0.8rem;          /* smaller buttons */
  padding: 4px 10px;
  border-radius: 6px;
}
#newsletterConsentBox.nl-pop {
  position: absolute;
  left: 0;
  right: auto;               /* don’t stretch full width */
  top: calc(100% + 6px);     /* a little closer */
  z-index: 30;
  display: none;

  max-width: 360px;          /* keep it compact */
  padding: 10px 12px;
  border-radius: 8px;

  background: rgba(25, 28, 32, 0.95);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);

  font-size: 0.85rem;
  line-height: 1.3;
  color: #eaeaea;
}

#newsletterConsentBox .nl-consent-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

#newsletterConsentBox .actions {
  display: flex;
  gap: 6px;
}

#newsletterConsentBox .btn {
  font-size: 0.8rem;          /* smaller buttons */
  padding: 4px 10px;
  border-radius: 6px;
}
/* ─────────────────────────────────────────────────────────
   Newsletter consent popover — compact, no overlay, precise
   ───────────────────────────────────────────────────────── */
.newsletter { position: relative; } /* anchor for absolute popover */

#newsletterConsentBox {
  position: absolute;
  z-index: 20;
  display: none;                /* toggled from JS */
  max-width: 420px;
  width: 92%;
  background: #141414;          /* same tone as footer panel */
  color: #eaeaea;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 14px 16px 12px;
}

/* text & checkbox */
#newsletterConsentBox label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0 0 .75rem 0;
  font-size: .95rem;
  line-height: 1.35;
}
#newsletterConsentBox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
}

/* actions — compact buttons */
#newsletterConsentBox .actions {
  display: flex;
  gap: .6rem;
}
#newsletterConsentBox .actions .btn {
  padding: .55rem 1rem;        /* smaller buttons */
  font-size: .95rem;
  border-radius: .55rem;
  min-width: unset;            /* don’t inherit big min-width */
}
#newsletterConsentBox .actions .btn.btn-secondary {
  background: #3a3a3a;
  color: #eee;
  border: none;
}
#newsletterConsentBox .actions .btn.btn-secondary:hover {
  background: #4a4a4a;
}

/* helper class toggled by JS */
#newsletterConsentBox.is-visible { display: block; }

/* keep the status line from shrinking the email field width */
.newsletter-status { margin-top: .35rem; min-height: 1.2rem; }
/* ─────────────────────────────────────────────────────────
   Newsletter consent popover — compact, no overlay, precise
   ───────────────────────────────────────────────────────── */
.newsletter { position: relative; } /* anchor for absolute popover */

#newsletterConsentBox {
  position: absolute;
  z-index: 20;
  display: none;                /* toggled from JS */
  max-width: 420px;
  width: 92%;
  background: #141414;          /* dark card to match footer */
  color: #eaeaea;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 14px 16px 12px;
}

/* small pointer caret */
#newsletterConsentBox::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;                  /* aligns under the button */
  width: 14px;
  left: 15px;
  height: 14px;
  background: #141414;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
  transform: rotate(45deg);
}

/* text & checkbox */
#newsletterConsentBox label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0 0 .75rem 0;
  font-size: .95rem;
  line-height: 1.35;
}
#newsletterConsentBox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
}

/* actions — compact buttons */
#newsletterConsentBox .actions {
  display: flex;
  gap: .6rem;
}
#newsletterConsentBox .actions .btn {
  padding: .55rem 1rem;        /* smaller buttons */
  font-size: .95rem;
  border-radius: .55rem;
  min-width: unset;            /* don’t inherit big min-width */
}
#newsletterConsentBox .actions .btn.btn-secondary {
  background: #3a3a3a;
  color: #eee;
  border: none;
}
#newsletterConsentBox .actions .btn.btn-secondary:hover {
  background: #4a4a4a;
}

/* helper class toggled by JS */
#newsletterConsentBox.is-visible { display: block; }

/* keep the status line from shrinking the email field width */
.newsletter-status { margin-top: .35rem; min-height: 1.2rem; }