/* Password Input and Toggle Button */
.password-container {
    position: relative;
    width: 100%;
}

.password-input {
    width: 100%;
    padding: 10px 40px 10px 15px; /* Increased right padding to accommodate the button */
    background-color: rgba(51, 51, 51, 0.6);
    border: none;
    border-radius: 10px;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.password-input:focus {
    background-color: rgba(58, 58, 58, 0.8);
    box-shadow: 0 0 0 3px rgba(159, 59, 59, 0.3);
    color: #fff;
    outline: none;
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #a0a0a0;
    cursor: pointer;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn .fa {
    font-size: 1.2em;
}

.toggle-password-btn:hover .fa {
    color: #fff;
}

/* Optional: Add transitions for a smooth effect */
.password-container .password-input,
.password-container .toggle-password-btn {
    transition: all 0.3s ease;
}

body.dark-theme {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%) !important;
    color: #e0e0e0 !important;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.dark-theme .card {
    background: linear-gradient(135deg, #333333 0%, #1c1c1c 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    color: #e0e0e0; /* Ensure text inside card is also light */
}


.dark-theme .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.dark-theme .text-muted {
    color: #a0a0a0 !important;
}

.dark-theme .form-control {
    background-color: rgba(51, 51, 51, 0.6) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #e0e0e0 !important;
    transition: all 0.3s ease;
}

.dark-theme .form-control:focus {
    background-color: rgba(58, 58, 58, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(159, 59, 59, 0.3) !important;
    color: #fff !important;
}

.dark-theme .btn-outline-secondary {
    color: #a0a0a0 !important;
    border-color: #444 !important;
    border-radius: 10px !important;
}

.dark-theme .btn-outline-secondary:hover {
    background-color: rgba(68, 68, 68, 0.8) !important;
    color: #fff !important;
}

.dark-theme .custom-red-btn {
    background: linear-gradient(135deg, #9f3b3b 0%, #ad6565 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.dark-theme .custom-red-btn:hover {
    background: linear-gradient(135deg, #ad6565 0%, #9f3b3b 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 101, 101, 0.4);
}

.dark-theme .form-check-input {
    background-color: rgba(51, 51, 51, 0.6) !important;
    border-color: #444 !important;
}

.dark-theme .form-check-input:checked {
    background-color: #9f3b3b !important;
    border-color: #9f3b3b !important;
}

.dark-theme a {
    color: #b0b0b0 !important;
    transition: all 0.3s ease;
}

.dark-theme a:hover {
    color: #fff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dark-theme .card-body {
    animation: fadeIn 0.5s ease-out;
}

.dark-theme .form-control, .dark-theme .btn {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.dark-theme .form-control:nth-child(1) { animation-delay: 0.1s; }
.dark-theme .form-control:nth-child(2) { animation-delay: 0.2s; }
.dark-theme .btn { animation-delay: 0.3s; }

.dark-theme .alert {
    border-radius: 10px;
    animation: fadeIn 0.5s ease-out;
}

/* Preloader styles */
#preloader {
    background-color: #1c1c1c;
}

.loader .fa-cog {
    color: #a0a0a0;
}

.text span {
    color: #9f3b3b;
}

.ct-area {
    fill-opacity: .33 !important;
}
.ct-series-a .ct-area, .ct-series-a .ct-slice-pie {
    fill: #7a6fbe !important;
}
.ct-golden-section {
    overflow: hidden;
}
.ct-line {
    stroke-width: 3px !important;
}
.ct-point {
    stroke-width: 7px !important;
}
.blurred-text {
    filter: blur(5px); /* Adjust the blur strength as needed */
}

.revealed-email {
    filter: none;
}
/* Calender */
.fc-event {
	border-radius: 2px !important;
	border: none !important;
	cursor: move !important;
	font-size: 0.8125rem !important;
	margin: 5px 7px !important;
}
.fc-day-grid-event .fc-time {
    font-weight: 500 !important;
}
.fc-event .fc-content {
	color: #fff !important;
}
tr:first-child>td>.fc-day-grid-event {
    margin-top: 2px !important;
}

/* Range Slider */
.irs--modern .irs-from:before, .irs--modern .irs-single:before, .irs--modern .irs-to:before {
    border-top-color: #626ed4 !important;
}
.irs--modern .irs-line {
    background: #dee2e6 !important;
    border-color: #dee2e6 !important;
}
.irs--modern .irs-max, .irs--modern .irs-min {
    color: #adb5bd !important;
    background: #f8f9fa !important;
    font-size: 11px !important;
}
.irs--modern .irs-handle>i:nth-child(1) {
    width: 8px !important;
    height: 8px !important;
}
.irs--modern .irs-bar, .irs--modern .irs-from, .irs--modern .irs-single, .irs--modern .irs-to {
    font-size: 11px !important;
}
.irs--modern .irs-grid-text {
    font-size: 11px !important;
    color: #ced4da !important;
}
.irs--modern .irs-handle {
    border: 1px solid #a3adc1;
    border-top-width: 0 !important;
}
.irs--square .irs-line {
    background: #f6f6f6 !important;
    border-color: #f6f6f6 !important;
}
.irs--square .irs-max, .irs--square .irs-min {
    color: #ced4da !important;
    background: #f6f6f6 !important;
    font-size: 11px !important;
}
.irs--square .irs-bar, .irs--square .irs-from, .irs--square .irs-single, .irs--square .irs-to {
    background: #556ee6!important;
    font-size: 11px !important;
}
.irs--square .irs-handle {
    border: 2px solid #556ee6 !important;
    width: 12px !important;
    height: 12px !important;
    top: 26px !important;
    background-color: #fff!important;
}
.irs--square .irs-grid-text {
    font-size: 11px;
    color: #ced4da !important;
}

/* Sweet Alert */
.swal2-styled:focus {
    box-shadow: none !important;
}

/* Form Advanced */
.select2-container .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    height: 38px !important;
}
.select2-container .select2-selection--single:focus {
	outline: none !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 12px !important;
    color: #495057 !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
    width: 34px !important;
    right: 3px !important;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
	border-color: #adb5bd transparent transparent transparent !important;
	border-width: 6px 6px 0 6px !important;
}
.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #adb5bd transparent !important;
	border-width: 0 6px 6px 6px !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #f8f9fa !important;
	color: #16181b !important;
}
.select2-container--default .select2-results__option[aria-selected=true]:hover {
	background-color: #626ed4 !important;
	color: #fff !important;
}
.select2-results__option {
	padding: 6px 12px !important;
}
.select2-dropdown {
	border-color:rgba(0,0,0,.15) !important;
}
.select2-container .select2-selection--multiple {
	min-height: 38px !important;
	background-color: #fff !important;
	border: 1px solid #ced4da !important;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
	padding: 2px 10px !important;
}
.select2-container .select2-selection--multiple .select2-search__field {
	border: 0;
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-webkit-input-placeholder {
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-moz-placeholder {
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field:-ms-input-placeholder {
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::-ms-input-placeholder {
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-search__field::placeholder {
	color: #495057 !important;
}
.select2-container .select2-selection--multiple .select2-selection__choice {
	background-color: #e9ecef !important;
	border: 1px solid #dee2e6 !important;
	border-radius: 1px !important;
	padding: 0 7px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
    color: #74788d !important;
    outline: 0 !important;
}

/* color */
.sp-hidden {
	display: none !important;
}

/* Form File Upload */
.dropzone {
	min-height: 230px !important;
    border-style: dashed !important;
	background: transparent !important;
}


/* Chart Chartlist */
.ct-grid {
    stroke: rgba(52,58,64,.09) !important;
    stroke-width: 1px;
    stroke-dasharray: 3px !important;
}
.ct-series-c .ct-area, .ct-series-c .ct-slice-pie {
    fill: #343a40 !important;
}
.ct-series-b .ct-area, .ct-series-b .ct-slice-pie {
    fill: #f8b425 !important;
}

/* C3 Chart */
.c3 path.domain, .c3-axis.c3-axis-x line, .c3-axis.c3-axis-y line {
    stroke: #ced4da !important;
}
.c3-areas-Pageview .c3-area {
    opacity: .2 !important;
}
.c3-legend-item {
    font-size: 14px !important;
}
.c3-chart-arcs-title {
    font-size: 18px !important;
}
.custom-red-btn {
    background-color: #9f3b3b;
    border-color: #9f3b3b;
}

.custom-red-btn:hover {
    background-color: #ad6565;
    border-color: #9f3b3b;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lottie-animation {
    width: 200px;
    height: 200px;
}