/* General body styling */
/* General Body Styling */
body {
    font-family: 'Inter', sans-serif; /* Clean, modern font */
    background-color: #fdfdfd; /* Soft light background */
    color: #333333; /* Neutral dark text for readability */
    line-height: 1.7; /* Comfortable line spacing */
    margin: 0;
    padding: 0;
}

/* Headings (h1 - h6) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif; /* Consistent with body font */
    font-weight: 700; /* Bold text for prominence */    
    color: #2a3e52; /* Calm dark blue for headings */
    line-height: 1.4; /* Tighter spacing for headings */
}

/* Specific Heading Styles */
h1 {
    font-size: 2.5rem; /* Extra large for main titles */
}

h2 {
    font-size: 2rem; /* Slightly smaller for sub-titles */
}

h3 {
    font-size: 1.75rem; /* For section headings */
}

h4 {
    font-size: 1.5rem; /* For sub-section headings */
}

h5 {
    font-size: 1.25rem; /* For smaller headers */
}

h6 {
    font-size: 1rem; /* For minor headings */
    color: #4a90e2; /* Slightly lighter blue for less emphasis */
}


/* Paragraphs */
p {
    font-size: 1rem; /* Standard readable size */
    color: #555555; /* Neutral gray for body text */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.8; /* Generous spacing for readability */
}

/* Links within Paragraphs */
p a {
    color: #4a90e2; /* Soft blue for links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease;
}

p a:hover {
    color: #357ab8; /* Darker blue for hover state */
    text-decoration: underline; /* Add underline on hover */
}

/* Utility Classes for Custom Styles */
.text-muted {
    color: #6c757d !important; /* Subtle gray for muted text */
}

.text-primary {
    color: #4c8688 !important; /* Blue text for emphasis */
}

.text-accent {
    color: #5f9ea0 !important; /* Teal for accents */
}


/* Links */
a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #357ab8;
}

/* Card */
.card {
    border: 1px solid #e6eaf0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background-color: #f9fafc;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem;
    border-bottom: 1px solid #e6eaf0;
}

.card-body {
    background-color: #ffffff;
    padding: 1.5rem;
}



/* Buttons */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #5f9ea0; /* Soft teal-blue */
    --bs-btn-border-color: #5f9ea0;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4e8b7e; /* Darker teal for hover */
    --bs-btn-hover-border-color: #4e8b7e;
    --bs-btn-focus-shadow-rgb: 95, 158, 160;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3e6d60; /* Deeper teal for active */
    --bs-btn-active-border-color: #3e6d60;
    --bs-btn-disabled-color: #a3c6c5; /* Disabled state in light teal-gray */
    --bs-btn-disabled-bg: #5f9ea0;
    --bs-btn-disabled-border-color: #5f9ea0;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    --bs-btn-bg: #4e8b7e; /* Darker teal on hover */
    --bs-btn-border-color: #4e8b7e;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d; /* Soft gray */
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5a6368; /* Darker gray for hover */
    --bs-btn-hover-border-color: #5a6368;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4e555b; /* Deeper gray for active */
    --bs-btn-active-border-color: #4e555b;
    --bs-btn-disabled-color: #b8bfc3; /* Disabled state in light gray */
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    --bs-btn-bg: #5a6368; /* Darker gray on hover */
    --bs-btn-border-color: #5a6368;
}

.btn-outline-primary {
    --bs-btn-color: #5f9ea0; /* Soft teal-blue for text */
    --bs-btn-bg: transparent; /* Transparent background for outline */
    --bs-btn-border-color: #5f9ea0; /* Soft teal-blue for border */
    --bs-btn-hover-color: #fff; /* White text on hover */
    --bs-btn-hover-bg: #5f9ea0; /* Soft teal-blue background on hover */
    --bs-btn-hover-border-color: #5f9ea0; /* Teal-blue border on hover */
    --bs-btn-focus-shadow-rgb: 95, 158, 160;
    --bs-btn-active-color: #fff; /* White text on active state */
    --bs-btn-active-bg: #3e6d60; /* Deeper teal for active background */
    --bs-btn-active-border-color: #3e6d60; /* Darker border on active */
    --bs-btn-disabled-color: #a3c6c5; /* Disabled text color in light teal-gray */
    --bs-btn-disabled-bg: transparent; /* Transparent disabled background */
    --bs-btn-disabled-border-color: #a3c6c5; /* Disabled border color */
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    --bs-btn-color: #fff; /* White text on hover */
    --bs-btn-bg: #5f9ea0; /* Soft teal-blue background on hover */
    --bs-btn-border-color: #5f9ea0; /* Soft teal-blue border on hover */
}


/* Nav Pills Styles */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #ffffff; /* White text for active nav link */
    background-color: #5f9ea0; /* Soft teal background for active state */
}

.nav-pills .nav-link {
    border-radius: 5px; /* Rounded edges to match modern design */
}

/* Main Nav Link Styling */
.nav-link {
    display: block;
    padding: 12px 24px; /* Adjust padding to match button padding for consistency */
    font-size: 1rem; /* Default font size */
    font-weight: 600; /* Slightly bold text */
    color: #6c757d; /* Soft neutral color for default state */
    text-decoration: none; /* Remove underline */
    background: 0 0; /* Remove background */
    border: 0; /* Remove border */
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.2s ease-in-out; /* Smooth transition */
}

/* Hover Effect for Main Nav Links */
.nav-link:hover {
    color: #ffffff; /* White text on hover */
    background-color: #4e8b7e; /* Softer teal background on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
    border-radius: 3px;
}

/* Active and Hover Effects for Main Nav Links */
.nav-link.active {
    color: #ffffff; /* White text for active link */
    background-color: #5f9ea0; /* Softer teal background for active state */
    font-weight: 700; /* Bold text for active link */
}


/* Active and Hover Effects for Nav Pills */
.nav-pills .nav-link.active{
    background-color: #4e8b7e; /* Darker teal for hover/active state */
    color: #fff; /* White text when active or on hover */
}
.nav-pills .nav-link:hover {
    background-color: #4e8b7e94; /* Darker teal for hover/active state */
    color: #fff; /* White text when active or on hover */
}


/* Tables */
.table {
    border-collapse: collapse;
    width: 100%;
    background-color: #ffffff;
}

.table th {
    background-color: #f1f5f9;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e6eaf0;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f9fafc;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: #6c757d;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

footer a {
    color: #5f9ea0; /* Matching teal link */
    text-decoration: none;
}

footer a:hover {
    color: #357ab8;
    text-decoration: underline;
}

/* Utility classes */
.shadow-light {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.border-rounded {
    border-radius: 0.75rem !important;
}




/* Input styles */
.input-label-style {
    font-size: 0.875rem;
    color: #1d3131d5;
    font-weight: 600;
    margin-bottom: 0;
}

.input-style {
    width: 100%;    
    font-size: 1rem;
    padding: 0.50rem;
    border: 1px solid #d1d7e0;
    border-radius: 0.5rem;
    background-color: #f9fbfc;
    color: #333333;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.input-style:focus {
    border-color: #5f9ea0;
    box-shadow: 0 4px 8px rgba(95, 158, 160, 0.2); /* Focus with teal */
}

.input-style::placeholder {
    color: #6d6d6dea;
}

.input-style:disabled {
    background-color: #eef1f6;
    color: #a5b1c2;
}

/* Active Button States */
.btn-check:checked + .btn, 
.btn.active, 
.btn.show, 
.btn:first-child:active, 
:not(.btn-check) + .btn:active {
    color: #ffffff; /* White text for active button */
    background-color: #5f9ea0; /* Teal for active background */
    border-color: #5f9ea0; /* Teal for active border */
}

/* Outline Success Button (Custom Colors) */
.btn-outline-success {
    --bs-btn-color: #198754; /* Forest green text for default state */
    --bs-btn-border-color: #198754; /* Forest green border */
    --bs-btn-hover-color: #ffffff; /* White text on hover */
    --bs-btn-hover-bg: #198754; /* Forest green background on hover */
    --bs-btn-hover-border-color: #198754; /* Forest green border on hover */
    --bs-btn-focus-shadow-rgb: 25, 135, 84; /* Forest green glow for focus */
    --bs-btn-active-color: #ffffff; /* White text on active */
    --bs-btn-active-bg: #198754; /* Forest green background on active */
    --bs-btn-active-border-color: #198754; /* Forest green border on active */
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Subtle inset shadow */
    --bs-btn-disabled-color: #198754; /* Green text for disabled state */
    --bs-btn-disabled-bg: transparent; /* Transparent background for disabled */
    --bs-btn-disabled-border-color: #198754; /* Green border for disabled */
    --bs-gradient: none; /* No gradient for modern flat style */
}

/* Login / Register Form */
.login-form,
.register-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    border: 1px solid #dce1f7;
}

.login-form:hover,
.register-form:hover {
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #5f9ea0; /* Focused teal border on hover */
}

/* Form TranZact */
.tranzact-form {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #dce1f7;
}

.tranzact-form:hover {
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
}

/* Settings Container */
#settingscontainer {
    height: calc(100vh - 56px);
}

/* iFrame */
.ifields-iframe {
    border: 0;
    width: 100%;
    height: 46px;
    padding: 0;
}

#igp {
    height: 50px;
}

/* Loader */
.loader {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.8px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.loader::after {
    content: '';
    width: 100%;
    height: 3.8px;
    background: #383838ab;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    animation: animloader 3s linear infinite;
}

@keyframes animloader {
    0% {
        left: -100%; /* Start off-screen to the left */
    }
    80% {
        left: 0%; /* Move to the leftmost visible position */
    }
    100% {
        left: 100%; /* Move to the right */
    }
}

    .card-loading {
      opacity: 0;
     
      animation: loadCard 3s forwards;
    }

    /* Define the keyframes for the animation */
    @keyframes loadCard {
      0% {
        opacity: 0;
        
      }
      100% {
        opacity: 1;
        
      }
    }