body {
    font-family: "Manrope", sans-serif;
    background-color: #F2F4F7;
    color: black;
    position: relative;
    top: 0 !important;
}

.font-edu {
    font-family: "Edu QLD Hand", cursive;
}

.font-source {
    font-family: "Source Code Pro", monospace;
}

.navbar-custom {
    background-color: #F2F4F7;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.06); */
}

.navbar-custom1 {
    background-color: #F2F4F7;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-toggler .navbar-toggler-icon {
    /* background-color: #42c2ff; */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(0, 0, 0)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler-icon.open {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2'%3E%3Cline x1='2' y1='2' x2='14' y2='14'/%3E%3Cline x1='2' y1='14' x2='14' y2='2'/%3E%3C/svg%3E");
}

.navbar-toggler {
    color: rgb(0, 0, 0);
    border: 0;
}

.navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    justify-items: center;
}

.navbar-toggler:focus,
.usernav-icon:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.usernav-icon:hover {
    --bs-link-color-rgb: none;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
}

.nav-logo2 {
    width: 25px;
    height: 25px;
}

.nav-item a:hover {
    color: '#2563EB' !important;
}

.tradingview-widget-container-custom {
    height: min-content !important;
    background-color: #F2F4F7 !important;
    border: none !important;
}

.hero {
    height: 90dvh;
    position: relative;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for text contrast */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(192, 193, 195, 0.2);
    z-index: 1;
}

/* Ensure text stays above video */
.hero-sub {
    z-index: 2;
}

.font-lato {
    font-family: Lato, sans-serif;
}

.font-poppins {
    font-family: Poppins, sans-serif;
}

.slide-text {
    width: 70%;
    font-weight: bold;
    line-height: 5rem;
    font-family: "Edu QLD Hand", cursive;
}

.color1 {
    color: #2563EB;
}

.color2 {
    color: #adacac;
}

.btn1:hover {
    border: 3px solid #2563EB;
    border-radius: 20px;
    color: #181c1f;
}

.btn2 {
    border: 3px solid #2563EB;
    border-radius: 20px;
    background-color: #2563EB;
    color: #ffffff;
}

.btn3 {
    border: 3px solid #2563EB;
    border-radius: 10px;
    background-color: #2563EB;
    color: #ffffff;
}

.btn31:hover {
    border: 1px solid rgba(7, 6, 2, 0.356);
    border-radius: 10px;
    background-color: #2563EB;
    color: black;
    font-weight: 500;
}

.btn31 {
    border: 1px solid rgb(7, 6, 2);
    border-radius: 10px;
    background-color: #2563EB;
    color: black;
    font-weight: 500;
}

.btn2:hover {
    border: 3px solid #2563EB;
    border-radius: 20px;
    background-color: #2563EB;
    color: #ffffff;
}

.btn3:hover {
    border: 3px solid #2563EB;
    border-radius: 10px;
    background-color: #2563EB;
    color: #ffffff;
}

.btn1 {
    border: 3px solid #2563EB;
    border-radius: 20px;
    background-color: #2563EB;
    color: #ffffff;
}

.hero2 {
    background-image: url(/assets/img/dylan-calluy-JpflvzEl5cg-unsplash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: fit-content;
}

.choose-icon {
    width: 50px;
}

.hero3 {
    width: 500px;
    font-size: 1.25rem;
}


.numbering img {
    width: 25px;
}

.account {
    border: 0;
    border-radius: 20px;
    width: 90%;
    background-color: #5756566d;
    color: black;
}

.hero4 {
    background-image: url(/assets/img/adam.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: fit-content;
}

.rating {
    border: 1px solid #666666;
    border-radius: 5px;
}

.rating span {
    background-color: #2d2d2d64;
    border-radius: 4px;
    border: 0px;
}

.hero5 {
    background-image: url(/assets/img/mt4-banner.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer {
    background: #c0c1c3;
}

footer a {
    text-decoration: none;
    color: black;
}

form a {
    text-decoration: none;
    color: #2563EB;
}

footer img {
    width: 50px;
}

input.form-check-input:checked {
    background-color: #2563EB;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(37, 99, 235);
    border-color: rgb(37, 99, 235);
}

footer a:hover {
    color: #2563EB;
}

.about-hero {
    background-image: url(/assets/img/virtual-private-server-banner.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.accordion {
    --bs-accordion-border-color: black;
    --bs-accordion-btn-focus-border-color: none;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: #2563EB;
    --bs-accordion-active-bg: #bcb8b86d;
    --bs-accordion-bg: #bcb8b86d;

}

.accordion-body {
    background-color: #bcb8b86d;
}

.accordion-button.collapsed::after {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z' fill='rgba(0,0,0,1)'%3E%3C/path%3E%3C/svg%3E");
    transition: all 0.5s;

}

.accordion-button:not(.collapsed)::after {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11V13H19V11H5Z' fill='rgba(0,0,0,1)'%3E%3C/path%3E%3C/svg%3E");

}

.form-control:focus,
.form-select:focus {
    border-color: #2563EB;
    box-shadow: inset 0 1px 1px rgba(37, 99, 235, 0), 0 0 8px rgb(37, 99, 235);
}

.usernav-icon {
    text-decoration: none;
    color: white;
}

.usernav-icon:hover {
    color: #2563EB;
}

.history {
    color: #2563EB;
    border-bottom: 2px solid #2563EB;
}

.history:hover,
.history-none:hover {
    cursor: pointer;
}

.history-none {
    color: #232323f9;
    /* border-bottom: 2px solid #999; */
}

.myhistory1,
.myhistory,
.thehistory {
    width: 100%;
}

.myhistory3 {
    width: max-content;
}

.myhistory4 {
    width: max-content;
}

@media screen and (max-width : 576px) {
    .hero3 {
        width: 450px;
        font-size: 1rem;
    }

    .myhistory1 {
        width: 150%;
    }
}

.bot {
    max-height: 85vh;
    overflow-y: auto;
}

#sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #F2F4F7;
    transition: transform 0.3s ease-in-out;
}

/* Off-canvas hide on smaller screens */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
    }
}

/* Sidebar open for larger screens */
@media (min-width: 768px) {
    #sidebar {
        transform: translateX(0);
    }
}

/* Main content margin adjusted when sidebar is shown */
.content {
    margin-left: 280px;
    transition: margin-left 0.3s ease-in-out;
    /* background-color: #c0c1c3; */
}

@media (max-width: 768px) {
    .content {
        margin-left: 0;
    }
}

.list-group-item {
    margin: 5px 0px;
    border-top-right-radius: 1.75rem;
    border-bottom-right-radius: 1.75rem;
}

/* Active link and hover styling */
.list-group-item.active {
    background-color: #0000004d;
    /* Change this to your desired active color */
}

.list-group-item:hover {
    background-color: #0000004d;
    /* Same color as active link */
}

.list-group-item a {
    color: inherit;
    /* Ensure the link inherits the parent color */
    text-decoration: none;
    padding: 0.6rem 0.6rem 0.6rem 1.75rem;
    display: inline-block;
    height: 100%;
    width: 100%;
    font-weight: 300;
}

.list-group-item.text-danger:hover {
    background-color: transparent;
    color: red;
    scale: 105%;
}


/* Fix for first list item border-radius */
.list-group-item:first-child {
    border-top-right-radius: 1.75rem;
}

/* Fix for last list item border-radius */
.list-group-item:last-child {
    border-bottom-right-radius: 1.75rem;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

.nav-list-headings {
    padding: 0.5rem 0.5rem 0rem 1.5rem;
    font-weight: 800;
}

.bg-amount {
    background-color: #363d4252;
}

.icon-amount {
    position: absolute;
    transform: translate(-50%, -50%) !important;
    top: 8px;
    left: 40px;
}

.amount-shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Backdrop overlay for blur effect */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent dark overlay */
    backdrop-filter: blur(10px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
    /* Behind the sidebar */
    display: none;
    /* Hidden by default */
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}

#overlay.show {
    display: block;
    opacity: 1;
}

#closeIcon22 {
    background: transparent;
    /* Ensures no background color */
    box-shadow: none;
    /* Removes any box shadow */
    outline: none;
    /* Removes focus outline */
    border: none;
    /* Ensures no border */
}

#closeIcon22:focus {
    outline: none;
    /* Prevents focus outline on click */
}

#closeIcon22 i {
    box-shadow: none;
    /* Ensures the icon inside has no shadow */
}

.progress {
    height: 10px;
}

.step-form {
    display: none;
}

.form-container {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.success-modal {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.success-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.upload-area {
    border-style: dashed !important;
    border-radius: 5px;
    height: 200px;
}

.preview-area {
    border-radius: 5px;
    max-height: 200px;
}

.upload-area:hover {
    cursor: pointer;
}

.upload-area p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}


.preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 10px;
}

#crypto-select option {
    font-size: 0.5rem;
    /* Change size for options */
}

/* Style for the selected option (applied to the select element itself) */
#crypto-select {
    font-size: 1.25rem;
    /* Change size for selected item */
}

#tradingview-widget-container iframe {
    height: 100% !important;
}

input,
.form-select,
form textarea {
    background-color: #e3e3e3 !important;
}

@media (max-width: 1199.98px) {
    #chartPlaceholder {
        min-height: 600px;
    }
}

@media (min-width: 1199.98px) {
    .wider-card {
        max-width: 90%;
    }
}

/* --- Modern Sidebar Redesign --- */
#sidebar {
    background: #F2F4F7;
    backdrop-filter: blur(10px);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-bottom: 2rem;
}

/* Sidebar Navigation Links */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #98A2B3;
    /* mute gray */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.nav-pill-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    /* pill shape */
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-pill-link:hover {
    background-color: #F9FAFB;
    color: var(--primary-color);
}

.nav-pill-link.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    /* subtle shadow of primary color */
}

.nav-pill-link i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.nav-pill-link:hover i {
    transform: translateX(2px);
}

/* Logo Area */
.sidebar-logo-area {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}

/* Mobile Toggle Override */
@media (max-width: 767.98px) {
    #sidebar {
        width: 280px;
        transform: translateX(-100%);
    }

    #overlay.show {
        display: block;
        opacity: 1;
    }
}
/* Modern Homepage Overrides */
.hero-overlay {
    background: rgba(17, 19, 24, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-sub .slide-text {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.feature-card-modern {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .feature-card-modern {
    background: rgba(34, 37, 46, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .feature-card-modern:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-card-modern p.font-edu {
    font-family: "Poppins", sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.step-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

html[data-theme="dark"] .step-card-modern {
    background: #1A1D24;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.step-number-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border-radius: 50%;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.stat-item-modern {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-5px);
}

.footer-modern-link {
    transition: color 0.2s ease;
}

.footer-modern-link:hover {
    color: #2563EB !important;
}


/* Modern Form Overrides */
.form-control-modern {
    background-color: #F2F4F7 !important;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-family: "Manrope", sans-serif;
    transition: all 0.3s ease;
}

html[data-theme="dark"] .form-control-modern {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.form-control-modern:focus {
    background-color: #FFFFFF !important;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

html[data-theme="dark"] .form-control-modern:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff;
}

.input-group-text-modern {
    background-color: transparent;
    border: none;
    font-weight: 600;
    color: #64748B;
    font-size: 0.9rem;
    padding-right: 1.5rem;
}

html[data-theme="dark"] .input-group-text-modern {
    color: #94A3B8;
}

/* For removing the default input group border coupling */
.input-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* For side-by-side inputs in the modern group */
.input-group-modern .d-flex {
    gap: 1rem;
}

