@charset "utf-8";
:root {
	--linear-gradient: linear-gradient(135deg, #000000, #949494);
	--linear-gradient-hover: linear-gradient(135deg, #949494, #000000);
	--header-menu: linear-gradient(to right, #e54065, #f7819a);
}

.btn-search {
	border-radius: 30px;
	padding: 10px 20px;
}
.list-group-item {
}
.list-group-item:hover {
	background: var(--linear-gradient);
	color: #FFFFFF;
	cursor: pointer;
}
.btn-search {
	background: var(--linear-gradient);
}
.btn-search:hover {
	background: var(--linear-gradient-hover);
}
.ellipsis-text {
    white-space: nowrap;        /* One line only */
    overflow: hidden;           /* Hide overflow text */
    text-overflow: ellipsis;    /* Add ... */
    display: block;             /* Ensure block behavior */
    max-width: 100%;            /* Fit container width */
}

/* General Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-menu);
    padding: 10px 20px;
    position: sticky;
	top: 0px;
	z-index: 2;
}

/* Left Side */
.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-left: 15px;
}
.navbar-brand:hover {
	color: white;
}

/* Toggler Button */
.navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    padding: 0;
}

.toggler-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff; /* Changed color for better visibility */
    transition: all 0.3s ease;
}

/* Right Side Button */
.ad-button {
    background-color: #dc3545; /* Red color */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
	font-size: 14px;
}

.ad-button:hover {
    background-color: #dc3545;
}

/* Full-Screen Menu Styles */
.full-screen-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 99;
    transition: left 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.full-screen-menu.active {
    left: 0;
}

.full-screen-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    width: 100%;
}

/* New CSS to style the list item container */
.full-screen-menu li {
    padding: 0;
    margin-bottom: 10px; /* Adds space between menu items */
}

/* Updated CSS for the anchor tag to make it look like a button */
.full-screen-menu a {
    display: block;
    width: 100%; /* Ensures the link fills the entire list item */
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-align: left; /* Aligns text to the left */
    background-color: #f8f9fa; /* Light gray background for a clean look */
    border: 1px solid #dee2e6; /* Subtle border */
    border-radius: 5px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.full-screen-menu a:hover {
    background-color: #e9ecef; /* Slightly darker background on hover */
    color: #e64063;
    border-color: #e64063; /* Pink border on hover */
    transform: none; /* Removed the scale effect for a cleaner button feel */
}

/* Style for the count number inside the link */
.full-screen-menu a .count {
    font-size: 1rem;
    font-weight: normal;
    color: #6c757d;
    float: right; /* Places the count on the right side */
}

/* Close Button for the Full-Screen Menu */
.menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 101;
}

/* Updated desktop styles */
@media (min-width: 768px) {
    .navbar-toggler,
    .full-screen-menu {
        display: none;
    }	
}
.ad_badge{
	position: absolute;
	right: -1px;
	top: -10px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	padding: 0px 10px;
	color: white;
	font-size: 10px;
}
.ad_badge_cash{
	position: absolute;
	left: 180px;
	top: -10px;
	border-radius: 5px;
	padding: 0px 10px;
	color: white;
	font-size: 10px;
}


.image-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 5px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.image-container.loading img {
  opacity: 0;
}

.preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.image-container:not(.loading) .preloader {
  display: none;
}

.menu_ul {
	list-style: none; /* list එකේ තියෙන dots අයින් කරනවා */
	padding: 0;
	margin: 0;
	display: flex; /* items එකම line එකක පෙන්නන්න */
	overflow-x: auto; /* X අක්ෂය දිගේ scroll කරන්න */
	white-space: nowrap; /* අලුත් line එකකට යන්නේ නැතුව එකම line එකක තියාගන්න */
}
.menu_ul a {
	text-decoration: none; /* link එකේ underline එක අයින් කරනවා */
	background-color: transparent;
}
.menu_ul li {
	display: inline-block; /* items block විදියට හැසිරෙන නිසා padding සහ margin හරියට වැඩ කරනවා */
	padding: 5px 10px; /* item එකක් ඇතුළත ඉඩක් තියාගන්න */
	margin: 0px; /* item දෙකක් අතර ඉඩක් තියාගන්න */
	color: white;
	font-size: 14px;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.mobile_search {
	margin-top: 10px;
	margin-bottom: -20px;
	font-size: 14px;
}
.mobile_only {
	display: none;
	margin-bottom: 10px;
}

@media only screen and (max-width: 425px) {
	.mobile_search {
		background: var(--header-menu);
		margin-top: -10px;
		padding: 15px 10px 5px 10px;
		font-size: 14px;
	}
	.mobile_only {
		display: block;
	}
	.ad_badge_cash{
		left: 150px;
	}
}