
:root {
    --themeColor: darkblue;
    --themeColor2: darkblue;
    --navBg:white;
}

* {

    font-family: 'Raleway', sans-serif;
}

body{
    background-color: whitesmoke !important;

}

.navBg{
    background-color: var(--navBg);
}

.themeColor{
    color: var(--themeColor) !important;
}

.subThemeColor{
    color: var(--themeColor2) !important;
}

.sideBar{
    width: 250px; position: fixed; top: 0; left: 0; height: 100vh;
}

.sidebarActiveBtn{
    background-color: var(--themeColor);
    border-radius: 5px;
}

.content-area{
    flex-grow: 1; margin-left: 250px;
}

.siteNav{
    position: fixed; top: 0; left: 250px; width: calc(100% - 250px); z-index: 999;
}

.submitBtn{
background-color: var(--themeColor) !important;
color: white !important;
border-radius: 10px;
padding: 14px;
}


.themeBtn{
color: var(--themeColor) !important;
border-radius: 20px;
border: 2px solid  var(--themeColor) !important;
padding:  5px 7px;
font-size:13px;
/* background-color: var(--themeColor) !important; */
}


.submitBtnBlack{
    background-color: black !important;
    color: white !important;
    border-radius: 10px;
    padding: 14px;
    }

    .submitBtnRed{
        background-color: red !important;
        color: white !important;
        border-radius: 10px;
        padding: 14px;
        }

input:focus{
    outline: none !important;
    box-shadow: 0 0 0 1px var(--themeColor) !important;
    border: none;
  }

  select:focus{
    outline: none !important;
    box-shadow: 0 0 0 1px var(--themeColor) !important;
    border: none;
  }

  .inputField{
    border-radius: 10px;
    padding: 14px;
  }

input:focus:invalid::placeholder, select:focus:invalid::placeholder {
    color: indianred;
}

#loading {
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    position: fixed;
    display: block;
    z-index: 99;
    background-color: silver;
    opacity: .8;
    display: none;

}

#loading-image {
    position: absolute;
    top: 45%;
    left: 45%;
    z-index: 100;
    color: var(--themeColor);
}



.otp-input {
    width: 15%;
    height: 50px;
    font-size: 17px;
    text-align: center;
    margin: 5px;
}

.otp-input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}



/* transaction history table */

.transactionType{
    text-transform: uppercase;
    font-weight: bold;
}

.transactionAmount, .transactionDate{
    color: grey;
}

.transactionStatus{
    color: white;
    text-transform: capitalize;
}

.historyBox{
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 5px 10px;
    background-color: white;
    border: 1px solid #e0e0e0;
}

.successBg, .failedBg, .pendingBg{
    padding: 5px;
    border-radius: 20px;
    font-size: 12px;
    
}

.successBg{
    background-color: seagreen;
}

.failedBg{
    background-color: indianred;
}
 

.pendingBg{
    background-color: grey;
}
 
 

.copy-to-clipboard:hover{
cursor: pointer !important;
}
  


/* whatsapp float styles */
.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:5px;
    right:30px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 2px 2px 3px #999;
    z-index:100;
}

.my-float{
    margin-top:8px !important;
}


/*wave hand */
.wave {
    animation-name: wave-animation;
    /* Refers to the name of your @keyframes element below */
    animation-duration: 2.5s;
    /* Change to speed up or slow down */
    animation-iteration-count: infinite;
    /* Never stop waving :) */
    transform-origin: 70% 70%;
    /* Pivot around the bottom-left palm */
    display: inline-block;
}

@keyframes wave-animation {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(14.0deg)
    }

    20% {
        transform: rotate(-8.0deg)
    }

    30% {
        transform: rotate(14.0deg)
    }

    40% {
        transform: rotate(-4.0deg)
    }

    50% {
        transform: rotate(10.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    /* Reset for the last half to pause */
    100% {
        transform: rotate(0.0deg)
    }
}


/* General Dark Theme */
.dark-theme {
    background-color: #121212 !important; /* Dark background */
    color: #ffffff !important; /* Light text */
}

/* Navbar Styling */
.dark-theme .navbar {
    background-color: #1f1f1f !important; /* Dark navbar background */
    color: #ffffff !important;
    border-bottom: 1px solid #444444 !important;
}

.dark-theme .navbar a {
    color: #ffffff !important; /* Light text for navbar links */
}

.dark-theme .navbar a:hover {
    color: #0d6efd !important; /* Link hover color */
}

/* Offcanvas Styling */
.dark-theme .offcanvas {
    background-color: #1f1f1f !important; /* Dark offcanvas background */
    color: #ffffff !important;
}

.dark-theme .offcanvas-header {
    border-bottom: 1px solid #444444 !important;
}

.dark-theme .offcanvas-body a {
    color: #ffffff !important;
}

.dark-theme .offcanvas-body a:hover {
    color: #0d6efd !important;
}

.dark-theme h1 h2 h3 h4 h5 h6 .text-dark, .dark-theme .text-dark {
    color: grey !important;
}

/* Modal Styling */
.dark-theme .modal-content {
    background-color: #1f1f1f !important; /* Dark modal background */
    color: #ffffff !important;
    border: 1px solid #444444 !important;
}

/* Input Styling */
.dark-theme input,
.dark-theme textarea,
.dark-theme select {
    background-color: #1e1e1e !important; /* Dark input background */
    color: #ffffff !important; /* Light text */
    border: 1px solid #444444 !important;
}

.dark-theme input::placeholder,
.dark-theme textarea::placeholder {
    color: #aaaaaa !important; /* Placeholder color */
}

/* Button Styling */
.dark-theme .btn {
    background-color: #333333 !important; /* Dark button background */
    color: #ffffff !important; /* Light text */
    border: 1px solid #444444 !important;
}

.dark-theme .btn:hover {
    background-color: #444444 !important; /* Hover effect for buttons */
    color: #ffffff !important;
}

.dark-theme .submitBtn {
    background-color: var(--themeColor) !important; /* Hover effect for buttons */
    color: #ffffff !important;
}


.dark-theme .modeSwitch {
    background-color: grey !important; 
    color: #ffffff !important;
}

.dark-theme .pinDates, .dark-theme .pinValues {
    color: #ffffff !important;
}

.modeSwitch {
    background-color: #e0e0e0; /* Hover effect for buttons */
    color: var(--themeColor);
    border:1px solid #e0e0e0
}


.dark-theme .offcanvas-title {
    color: #ffffff !important;
}

/* Table Styling */
.dark-theme table {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
}

.dark-theme thead {
    background-color: #333333 !important;
}

.dark-theme th,
.dark-theme td {
    border: 1px solid #444444 !important;
}

/* Sidebar Styling */
.dark-theme .sideBar {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
}

.dark-theme .sideBar .nav-link {
    color: #ffffff !important;
}

.dark-theme .sideBar .nav-link:hover {
    background-color: #333333 !important;
    color: #0d6efd !important;
}

/* Links */
.dark-theme a {
    color: #0d6efd !important;
}

.dark-theme a:hover {
    color: #66aaff !important;
    text-decoration: underline !important;
}

/* Card Styling */
.dark-theme .card, .dark-theme .historyBox {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
}

/* Toast Styling */
.dark-theme .toast {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
}

/* Form Feedback Styling */
.dark-theme .invalid-feedback,
.dark-theme .valid-feedback {
    color: #ff5555 !important; /* Feedback text color */
}

/* Spinner Styling */
.dark-theme .spinner-border {
    color: #ffffff !important;
}

.dark-theme .spinner-grow {
    color: #ffffff !important;
}

/* Badge Styling */
.dark-theme .badge {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* Dropdown Menu Styling */
.dark-theme .dropdown-menu {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
}

.dark-theme .dropdown-item {
    color: #ffffff !important;
}

.dark-theme .dropdown-item:hover {
    background-color: #333333 !important;
    color: #0d6efd !important;
}

/* List Group Styling */
.dark-theme .list-group-item {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
}

.dark-theme .list-group-item:hover {
    background-color: #333333 !important;
}

/* Footer Styling */
.dark-theme .footer {
    background-color: #1f1f1f !important;
    color: #ffffff !important;
    border-top: 1px solid #444444 !important;
}


/* Utility: Theme Icon */
.themeIcon {
    color: #ffcc00 !important; /* Bright icon color */
}







@media only screen and (max-width: 768px) {
    .sideBar{
        display: none !important;
        width: 0px;
    
    }
    
    .content-area{
        flex-grow: 1; margin-left: 0px;
    }
    
    .siteNav{
        position: fixed; top: 0; left: 0px; width: 100%; z-index: 999;
    }
    
    .navBg{
        background-color: var(--themeColor);
    }
    
    .mobileNavLink{
        color: white !important;
    }
    
    .offcanvas{
        height: 80vh !important;
    }


    .historyBox{
        padding: 3px !important;
    }
    
    }