/* General Styling */
body {
transition: background 0.5s ease, color 0.5s ease;
font-family: "Poppins", sans-serif;
background: #f9f9f9;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}

/* Theme Preview Box */
.theme-preview {
background: var(--theme-bg);
color: var(--theme-text);
transition: background 0.5s ease, color 0.5s ease;
}

/* Theme Buttons */
.theme-button {
width: 40px;
height: 40px;
border: none;
border-radius: 50%;
cursor: pointer;
transition: transform 0.2s ease-in-out, box-shadow 0.3s ease;
}

.theme-button:hover {
transform: scale(1.1);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Theme Colors */


.fahim-1 {
--theme-bg: #d40000;
--theme-text: #f9f9f9;
--theme-font-text: #f9f9f9;
}
.fahim-2 {
--theme-bg: linear-gradient(90deg, #1e293b, #565A5C);
--theme-text: white;
--theme-font-text: #3e454e;
}
.fahim-3 {
--theme-bg: linear-gradient(90deg, rgba(79,48,142,1) 46%, rgba(114,88,164,1) 93%);
--theme-text: white;
--theme-font-text: #533490;
}
.fahim-4 {
--theme-bg: linear-gradient(90deg, rgba(255, 223, 0, 1) 0%, rgba(255, 165, 0, 1) 35%, rgba(255, 69, 0, 1) 100%);
--theme-text: black;
--theme-font-text: #ff6d00;
}
.fahim-5 {
--theme-bg: linear-gradient(90deg, #ff416c, #ff4b2b);
--theme-text: white;
--theme-font-text: #d72638;
}

.fahim-6 {
--theme-bg: linear-gradient(90deg, #00c6ff, #0072ff);
--theme-text: white;
--theme-font-text: #005ecb;
}

.fahim-7 {
--theme-bg: linear-gradient(90deg, #6a11cb, #2575fc);
--theme-text: white;
--theme-font-text: #4b0082;
}

.fahim-8 {
--theme-bg: linear-gradient(90deg, #f12711, #f5af19);
--theme-text: white;
--theme-font-text: #d76d00;
}

.fahim-9 {
--theme-bg: linear-gradient(90deg, #12c2e9, #c471ed, #f64f59);
--theme-text: white;
--theme-font-text: #9b10cf;
}

.fahim-10 {
--theme-bg: linear-gradient(90deg, #11998e, #38ef7d);
--theme-text: white;
--theme-font-text: #0d8a60;
}
.text-\[\#3ba0a0\] {
  --tw-text-opacity:1;
  color:rgb(59 160 160 / var(--tw-text-opacity))
}
.text-\[\#5d7669\] {
  --tw-text-opacity:1;
  color:rgb(93 118 105 / var(--tw-text-opacity))
}
.text-\[\#6ea787\] {
  --tw-text-opacity:1;
  color:rgb(110 167 135 / var(--tw-text-opacity))
}
.text-\[\#915799\] {
  --tw-text-opacity:1;
  color:rgb(145 87 153 / var(--tw-text-opacity))
}
.text-\[\#957360\] {
  --tw-text-opacity:1;
  color:rgb(149 115 96 / var(--tw-text-opacity))
}
.text-\[\#be5198\] {
  --tw-text-opacity:1;
  color:rgb(190 81 152 / var(--tw-text-opacity))
}
.text-\[\#d40000\] {
  --tw-text-opacity:1;
  color:rgb(220 38 37 / var(--tw-text-opacity))
}
.text-\[\#dd7e8a\] {
  --tw-text-opacity:1;
  color:rgb(221 126 138 / var(--tw-text-opacity))
}
.text-\[\#e78a5c\] {
  --tw-text-opacity:1;
  color:rgb(231 138 92 / var(--tw-text-opacity))
}
.text-blue-600 {
  --tw-text-opacity:1;
  color:rgb(37 99 235 / var(--tw-text-opacity))
}
.text-gray-200 {
  --tw-text-opacity:1;
  color:rgb(229 231 235 / var(--tw-text-opacity))
}
.text-gray-600 {
  --tw-text-opacity:1;
  color:rgb(75 85 99 / var(--tw-text-opacity))
}
.text-gray-700 {
  --tw-text-opacity:1;
  color:rgb(55 65 81 / var(--tw-text-opacity))
}
.text-white {
  --tw-text-opacity:1;
  color:rgb(255 255 255 / var(--tw-text-opacity))
}
.text-gray-800 {
  --tw-text-opacity:1;
  color:rgb(31 41 55 / var(--tw-text-opacity))
}
.text-red-600 {
  --tw-text-opacity:1;
  color:rgb(220 38 38 / var(--tw-text-opacity))
}
a {
color: #f9f9f9;
outline: 0 !important;
text-decoration: none;
}

a:hover, a:active, a:focus {
outline: 0 !important;
color: #4cc85a;
text-decoration: none;
}

::-webkit-scrollbar {
width: 0;
}
.appHeader {
height: 65px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: env(safe-area-inset-top);
left: 0;
right: 0;
z-index: 999;
background: var(--theme-bg);
color: var(--theme-text);
}

.appHeader:before {
content: '';
height: env(safe-area-inset-top);
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 99999;
}

.appHeader.no-border {
border: 0;
box-shadow: none;
}

.appHeader.transparent {
background: transparent;
}

.appHeader.transparent:before {
background: #EDEDF5;
}

.appHeader .left,
.appHeader .right {
height: 56px;
display: flex;
align-items: center;
position: absolute;
}

.appHeader .left .icon,
.appHeader .left ion-icon,
.appHeader .right .icon,
.appHeader .right ion-icon {
font-size: 26px;
}

.appHeader .left .headerButton,
.appHeader .right .headerButton {
min-width: 36px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
color: #4cc85a;
position: relative;
}

.appHeader .left .headerButton .btn,
.appHeader .right .headerButton .btn {
font-size: 16px;
height: 32px;
padding: 0px 14px;
}

.appHeader .left .headerButton:active,
.appHeader .right .headerButton:active {
opacity: .6;
}

.appHeader .left {
left: 10px;
top: 0;
}

.appHeader .right {
right: 10px;
top: 0;
}

.appHeader .pageTitle {
font-size: 15px;
font-weight: 500;
padding: 0 10px;
margin-left: 50px;
margin-top: -10px;
}

.appHeader .pageTitle .logo {
max-height: 24px;
}

.appHeader.text-light {
color: #FFF;
}

.appHeader.text-light .headerButton {
color: #FFF;
}

.appHeader.bg-primary, .appHeader.bg-secondary, .appHeader.bg-success, .appHeader.bg-warning, .appHeader.bg-danger, .appHeader.bg-info, .appHeader.bg-light, .appHeader.bg-dark {
border: 0;
}

.appHeader.bg-primary:before {
background: #4cc85a !important;
}

.appHeader.bg-secondary:before {
background: #8494A8 !important;
}

.appHeader.bg-success:before {
background: #1DCC70 !important;
}

.appHeader.bg-warning:before {
background: #FFB400 !important;
}

.appHeader.bg-danger:before {
background: #FF396F !important;
}

.appHeader.bg-info:before {
background: #05D0A4 !important;
}

.appHeader.bg-dark:before {
background: #222 !important;
}
.custom-bgcolor {
background: var(--theme-bg);
}
.head-button {
font-size: 15px;
font-weight: bold;
background: #ffc107;
color: #000;
border:1px solid #4c5b6d;
border-radius:10px;
}
/* Additional CSS styles */
#tap {
background: #fff;
color: #000;
padding: 0 10px;
border-radius: 20px;
cursor: pointer; /* Add cursor pointer for better UX */
}

#bal {
display: none;
background: #fff;
color: #000;
padding: 0 10px;
border-radius: 20px;
margin-left: -20px;
cursor: pointer; /* Add cursor pointer for better UX */
}
.review-item {
border: 0px solid #ddd;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 0px;
background: #d40000;
color: #fff;
}

.carousel-control-prev, .carousel-control-next {
filter: invert(1);
}

.review-item img {
border: 2px solid #ddd;
padding: 1px;
}

.review-item h6 {
font-weight: bold;
margin-bottom: 0;
}

.review-item p.text-secondary {
font-size: 0.875rem;
}
.video-container {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* Aspect ratio for 16:9 */
height: 0;
overflow: hidden;
background: #faec80;
}

.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.loanbox {
display: flex;
justify-content: center;
align-items: center;
height: 60px;
font-size: 1.5rem;
background-color: #f8f9fa;
border-radius: 5px;
}

.range-label {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100px;
padding: 6px;
margin: 0 2px;
background: var(--theme-bg);
color: var(--theme-text);
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
font-size: 12px;
}

.range-label i {
font-size: 18px;
margin-bottom: 4px;
}

.range-label:hover {
background: #ffc107;
}

.active-label {
background: #ffc107;
font-weight: bold;
color: white;
}

@media (max-width: 576px) {
.range-label {
font-size: 10px;
width: 26px;
}

.range-label i {
font-size: 16px;
}
}

.total_loan_detail_pcs {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 100%;
cursor: pointer;
outline: none;
border-radius: 15px;
height: 10px;
background: #ffc107;
}

input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 25px;
width: 15px;
background: #f50;
border-radius: 30%;
border: none;
transition: .2s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
height: 25px;
width: 15px;
background: #000;
border-radius: 30%;
border: none;
transition: .2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

input[type="range"]:active::-webkit-slider-thumb {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

input[type="range"]:focus::-webkit-slider-thumb {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

input[type="range"]::-moz-range-thumb:hover {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

input[type="range"]:active::-moz-range-thumb {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

input[type="range"]:focus::-moz-range-thumb {
box-shadow: 0px 0px 0px 13px rgba(19, 9, 5, 0.28)
}

.mx-10 {
margin: 20px 0px;
}

.amountBtn {
color: var(--theme-text);
background: var(--theme-bg);
padding: 5px 5px;
}

.submitBtn {
background: #ffc107;
color: #000;
}

.submitBtn:hover {
color: #000;
background: #ffc107;
}

.textfont {
color: var(--theme-font-text);
}

.theme-button {
height: 20px;
width: 20px;
border-radius: 20px;
border: 3px solid #ddd;
cursor: pointer;
}
.right a {
text-decoration: none;
}
.right {
display: flex;
gap: 10px;
}
.right button {
position: relative;
padding: 5px 20px;
font-size: 15px;
font-weight: bold;
background: var(--theme-bg);
color: #f9f9f9;
border:2px solid #ddd;
border-radius:5px;
cursor: pointer;
overflow: hidden;
transition: 0.3s ease-in-out;
}
.right button:hover {
color: cyan;
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
width: 90%;
margin: 10% auto;
padding: 10px;
border-radius: 10px;
position: relative;
text-align: center;
border: 1px solid #000;
}

.close-btn {
position: absolute;
top: 10px;
right: 15px;
font-size: 20px;
cursor: pointer;
font-weight: bold;
}