@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
    background-color: #082948;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
}
:root {
    --blue-bg-color: #2563EB;
    --green-color: #27AE60;
}
.container {
    max-width: 1300px !important;
}
a:hover {
    color: inherit;
}
.table-dark th,
.table-dark td {
    color: #ffffff;
}
.login-box input {
    background-color: #204363;
    border: 1px solid #FFFFFF4D;
    border-radius: 10px;
    padding: 13px 30px 13px 20px ;
    font-size: 16px;
    line-height: 16px;
}
.login-box input:focus {
    background: inherit;
}
.login-box input::placeholder {
    color: #E5E5E5;
}
.login-box .form-label {
    margin-bottom: 13px;
}
.submit-btn {
    padding: 13px 20px;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 15px;
}
.forgot-password a, .forgot-password p {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 16px;
}
.pagination-dark .page-link {
    background-color: #212529;
    border-color: #343a40;
    color: #ffffff;
}

.pagination-dark .page-link:hover {
    background-color: #343a40;
    border-color: #212529;
}

.pagination-dark .page-item.active .page-link {
    background-color: #343a40;
    border-color: #495057;
}
nav {
    position: absolute !IMPORTANT;
    width: 100%;
    left: 0;
    top: 0;
    padding: 18px 0 !important;
    border-bottom: 1px solid #FFFFFF40;
}
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    padding-right: 25px;
    font-size: 18px;
}
.navbar-collapse ul {
    margin-top: 0 !important;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #cccccc;
}

.navbar-brand {
    font-weight: bold;
    font-size: 35px;
    line-height: 30px;
    padding: 0;
    margin-right: 9rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 150px;
}
.content-wrapper {
    padding: 140px  15px 40px;
}
a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.form-control.bg-dark {
    border-color: #495057;
}

.form-control.bg-dark:focus {
    background-color: #2b3035;
    border-color: #86b7fe;
    color: white;
}

.form-control.bg-dark::placeholder {
    color: #6c757d;
}

/* .btn-outline-light:hover {
    background-color: #343a40;
} */

.user-info {
    color: #adb5bd;
    margin-right: 1rem;
}
.form-page-bg {
    padding: 190px 15px 130px;
    background: url("{% static 'images/login-bg.png' %}");
    background-size: cover;
    background-position: center;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-box {
    max-width: 610px;
    width: 100%;
    margin: 0 auto;
    background-color: #072847;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 12px 0 #FFFFFF40
}
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #B1B1B1;
    margin: 20px auto 20px;
    width: 70%;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #B1B1B1;
}
.divider:not(:empty)::before {
    margin-right: 0.75em;
}
.divider:not(:empty)::after {
    margin-left: 0.75em;
}
.google-btn {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background-color: #204363;
    color: white;
    border: 1px solid #FFFFFF4D;
    border-radius: 50px;
    padding: 13px 26px;
    width: 100%;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s;
}
.eye-icon {
    position: absolute;
    bottom: 13px;
    right: 20px;
}

.profile {
    position: relative;
}
.profile .img-box {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.profile .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    position: absolute;
    top: calc(100% + 24px);
    right: 16px;
    width: 160px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 300ms;
}

.menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 14px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    z-index: -1;
}

.menu.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.menu ul {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    z-index: 10;
    background: #fff;
}

.menu ul li {
    list-style: none;
}

.menu ul li:hover {
    background: #eee;
}

.menu ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    font-weight: 500;
    align-items: center;
    padding: 12px 20px;
    gap: 6px;
}

.menu ul li a i {
    font-size: 1.2em;
}
.bell-icon {
    color: #9CA3AF;
}

/* portfolio css */
.portfolio-box {
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.box-1 {
    border: 1px solid rgba(34, 197, 94, 0.30);
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.30) 0%, rgba(16, 185, 129, 0.20) 100%);
}
.box-2 {
    border: 1px solid rgba(96, 165, 250, 0.30);
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.30) 0%, rgba(96, 165, 250, 0.20) 100%);
} 
.box-3 {
    border: 1px solid rgba(156, 163, 175, 0.30);
    background: linear-gradient(90deg, rgba(156, 163, 175, 0.30) 0%, rgba(156, 163, 175, 0.20) 100%);
}
.box-4 {
    border: 1px solid rgba(251, 146, 60, 0.30);
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.30) 0%, rgba(251, 146, 60, 0.20) 100%);                                 
}
.portfolio-box .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.portfolio-box .content I {
    padding: 4px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 16px;
}
.box-1 .content i {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.20);
}
.portfolio-box .content h6 {
    margin: 0;
    font-size: 14px;
}
.price-change h6 {
    font-size: 14px;
    margin: 0;
}
.price-change {
    padding-top: 10px;
}
.box-2 .content i {
    color: #60A5FA;
    background: #60A5FA33;
}
.box-3 .content i {
    color: #9CA3AF;
    background: #9CA3AF33;
}
.box-4 .content i {
    color: #FB923C;
    background: #FB923C33;
}
.box-1 .price-change h6 {
    color: #22C55E;
}
.box-2 .price-change h6 {
    color: #60A5FA;
}
.box-3 .price-change h6 {
    color: #9CA3AF;
}
/* dynamic color variants */
.green-box {
    border: 1px solid rgba(34, 197, 94, 0.30) !important;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.30) 0%, rgba(16, 185, 129, 0.20) 100%) !important;
}
.green-box .content i { color: #22C55E !important; background: rgba(34, 197, 94, 0.20) !important; }
.green-box .price-change h6 { color: #22C55E !important; }

.red-box {
    border: 1px solid rgba(220, 38, 38, 0.30) !important;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.30) 0%, rgba(220, 38, 38, 0.20) 100%) !important;
}
.red-box .content i { color: #DC2626 !important; background: #DC262633 !important; }
.red-box .price-change h6 { color: #DC2626 !important; }

.orange-box {
    border: 1px solid rgba(249, 115, 22, 0.30) !important;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.30) 0%, rgba(249, 115, 22, 0.20) 100%) !important;
}
.orange-box .content i { color: #F97316 !important; background: #F9731633 !important; }
.orange-box .price-change h6 { color: #F97316 !important; }
.box-4 .price-change h6 {
    color: #FB923C;
}
.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px;
}
.card {
    background: #0f3460;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.stock-chart-table {
    height: 700px;
}
.stock-chart-table thead {
    position: sticky;
    top: 0;
}
.stock-chart-table thead th a, .stock-chart-table td a {
    color: #fff; 
    font-size: 16px;    
}
.time-filters {
    display: flex;
    align-items: center;
    gap: 50px;
}
.stock-tabs .nav-link:focus, .nav-link:hover {
    color: #fff;
}
.stock-tabs .nav-link {
    color: #fff;
    padding: 7px 20px;
    border-bottom: 1px solid #ffffff42;
    
}
.stock-tabs button.active {
    position: relative;
    border-bottom: 1px solid #0d6efd;
}
.stock-tabs button.active:after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #0d6efd;
    position: absolute;
    content: '';
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
}
.time-filters button {
    background: #112d4e;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 5px;
    cursor: pointer;
}
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quick-actions button {
    background: #274C89;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.quick-actions button:hover {
    background: #1f78ff;
    color: #fff;
}
.quick-actions button:first-child {
    background: #1f78ff;
}
.position-card {
    background: #163666;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    height: 100%;
    justify-content: space-between;
    flex-direction: column;
}
.logo-name {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-name h6 {
    margin: 0;
    font-size: 18px;
}
.logo-name small {
    font-size: 15px;
}
.logo-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0;
    background: none;
    border: none;
}
.card .card-head {
    margin-bottom: 20px;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}
.blue { background: #1f78ff; }
.green { background: #16A34A; }
.purple { background: #9333EA; }
.orange { background: #CA8A04; }
.red {
    background-color: #DC2626;
}

.details {
    font-size: 14px;
    margin-bottom: 15px;
}
.details div span:first-child {
    color: #9CA3AF;
}
.details div {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}
.apexcharts-menu-icon, .apexcharts-menu {
display: none;
}
.gain {
    font-weight: bold;
}
.positive { color: #2ecc71; }
.negative { color: #e74c3c; }
.neutral { color: #EAB308; }

.progress-bar {
    height: 8px;
    border-radius: 5px;
    background: #2c3e50;
    position: relative;
    margin-bottom: 8px;
}

.progress-bar.progress {
    height: 100%;
    border-radius: 5px;
}

.progress.green { background: #22C55E; }
.progress.orange { background: #F97316; }

.progress-text {
    font-size: 14px;
    color: #bbb;
    text-align: center;
}
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header-bar h2 {
    margin: 0;
    font-size: 18px;
}

.dropdowns {
    display: flex;
    gap: 10px;
}

.dropdown {
    appearance: none;  
-webkit-appearance: none;
-moz-appearance: none;
background: #0f3460 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>') 
            no-repeat right 8px center;
background-size: 24px;
border: none;
color: #fff;
padding: 8px 34px 8px 14px; 
border-radius: 8px;
font-size: 14px;
cursor: pointer;
}
.dropdown:focus {
    outline: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="0 0 24 24"><path d="M7 14l5-5 5 5z"/></svg>');
}
/* stocks css */
.stock-list-chart .price-up {
    color: #22C55E;
}
.stock-list-chart .price-down {
    color: #EF4444;
}
.stock-list-chart h5 {
    margin: 0;
}
.stock-list-chart span {
    font-size: 14px;
}
.filter-label {
    font-size: 16px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.filter-input,
.filter-select {
    background-color: #102d4d;
    border: 1px solid #1c3c60;
    border-radius: 6px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    min-width: 0;
}
.filter-input::placeholder {
    color: #9aaec2;
}
.filter-select {
    cursor: pointer;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.stat span {
    display: block;
    margin-top: 3px;
}
.negative {
    color: #e74c3c;
}
.positive {
    color: #2ecc71;
}
.neutral {
    color: #F97316;
}
.stock-list-chart {
    text-align: right;
}
.sentiment-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    background: #e74c3c;
    color: white;
}
.stat-left, .stat-right {
    display: flex;
    align-items: center;
    gap: 30px;
}
.button-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.button-container .btn-primary  {
    flex: 1;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
}
.btn-primary {
    background: #2563EB;
    color: white;
    border: none;
    padding: 9px 21px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-secondary:focus, .btn-primary:focus, .btn-primary:active:focus {
    box-shadow: none;
}
.btn-secondary {
    padding: 8px 21px;
    border-radius: 8px;
}
.btn-primary:hover {
    background: #1d4ed8;
}
.button-container .btn-outline {
    background: transparent;
    color: white;
    border: 1px solid #ccc;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.button-container .btn-outline:hover {
    border-color: #fff;
    color: #000;
    background: #fff;
}
.three-btns {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.three-btns .btn-secondary {
    background-color: #6c757d00;
    border-color: #ffffff;
}
/* filter page css */
.filter-search {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 25px;
}
.filter-search div:first-child {
    flex: 1;
}
.filter-search input::placeholder {
    color: #ADAEBC !important;
}
.search-restore {
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-restore button.btn.btn-primary {
    padding: 10px 20px;
}
.search-restore button#restoreOrderBtn {
    background: #163666;
    border: none;
    padding: 11px 20px;
}
.filter-table th {
    background: #23467C;
    border: none;
    padding: 14px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
a.page-link {
    background: transparent;
    color: #fff;
    font-weight: 400;
    border-radius: 7px !important;
}
.page-item.active .page-link {
    border-radius: 7px !important;
}
a.page-link.last-btn, a.page-link.next-btn, a.page-link.first-btn, a.page-link.prev-btn {
    border: none;
}
.pagination {
    gap: 7px;
}
#filtersTable th, #filtersTable td {
    font-size: 17px;
}
.filter-table table#filtersTable {
    border-radius: 10px;
    overflow: hidden;
}
.filter-table td {
    padding: 14px 20px;
    font-size: 16px;
    border-bottom: 1px solid #374151;
    background: #163666;
    color: #fff;
    border-bottom: 1px solid #374151;
}
.filter-table td:nth-child(2) {
    color: #60A5FA;
}
.filter-table td i {
    color: #EB5757;
}
.table>:not(:first-child) {
    border-top: none;
}
.filter-table th:last-child {
     border-radius: 0 10px 0 0;
}
.filter-table th:first-child {
    border-radius: 10px 0 0 0;
}
.filter-table {
    margin-top: 40px;
}
/* portfolio-form css */
.submit-add-btn {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.target-dropdown {
    max-width: 300px;
}
/* market page css */
.market-health-score {
    text-align: center;
    background: #082948;
    padding: 15px;
    margin-top: 10px;
    border-radius: 10px;
}
.icon-red {
    color: #EF4444;
}
.icon-green {
    color: #22C55E;
}
.icon-head  {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.position-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.icon-head h5 {
    margin: 0;
}
.status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}
.status.active {
    background: #DCFCE7;
    color: #15803D;
}
.vix-indicator {
    display: flex;
    justify-content: space-between;
}
.vix-indicator p {
    margin: 0 0 8px;
    font-size: 14px;
}
.vix-indicator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.status.sell {
    background: #FEE2E2;
    color: #B91C1C;
}
.signal {
    background: #22C55E33;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #22C55E80;
}
.signal:not(:last-child) {
    margin-bottom: 15px;
}
.signal.red {
    background: #DC262633;
    border-color: #DC262680;
}
.signal-info {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.signal-info p {
    margin: 0;
}
.signal-info i {
    font-size: 8px;
}
.signal-info strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.signal-status {
    text-align: right;
    font-size: 12px;
}

.signal-status span {
    display: block;
}
.high { color: #16A34A; font-weight: 500; }
.medium { color: #16A34A; font-weight: 500; }
.low { color: #DC2626; font-weight: 500; }
.trend-up i {
    color: #16A34A; 
}
.trend-down i { 
    color: #DC2626; 
}
.no-signals p {
    margin: 0;
}
.no-signals {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}
.dark-blue-bg {
    display: flex;
    padding: 16px 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #0D365C;
    border-radius: 10px;
    margin-top: 30px;
}
.dark-blue-bg .value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.dark-blue-bg span {
    color: #9CA3AF;
}
.dark-blue-bg p, .dark-blue-bg span {
    font-size: 14px;
}
.dark-blue-bg p {
    margin: 0;
}
.dark-blue-bg .badge {
    border-radius: 50px;
    background: #22C55E;
    color: white;
    padding: 8px 20px;
    font-weight: 500;
}
.current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    padding: 0 20px;
}
.chart-header span {
    margin-right: 20px;
    font-size: 14px;
    color: #9CA3AF;
}
.chart-header span strong {
    color: #fff;
    font-size: 20px;
}
.mob-logout {
    display: none;
}
.stock-tabs-mobile {
    display: none;
}
#stockModal .btn-close {
    filter: grayscale(0) invert(1);
    opacity: 1;
}

/* media query start */
@media (min-width: 992px) {
    .stock-detail-popup .modal-lg, .modal-xl {
        max-width: 95%;
    }
}
@media (min-width: 576px) {
    .stock-detail-popup .modal-dialog {
        max-width: 95%;
    }
}
@media (max-width: 991px) {
    .navbar-brand {
        margin-right: 1rem;
    }
    .mob-logout {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 36px;
        margin: 10px 0;
        background-color: #ef4444; /* red for logout */
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        justify-content: center;
        transition: background-color 0.3s ease;
        display: block;
    }
    .mob-logout:hover {
    background-color: #dc2626; /* darker red */
    }
    .mob-logout i {
    font-size: 18px;
    }
    .profile {
        display: none;
    }
    div#navbarNav {
        padding: 20px 10px 10px;
        border-top: 1px solid #ccc;
        margin-top: 20px;
    }
    .navbar  {
        background: #0f3460;
        padding: 10px 20px;
        border-radius: 10px;
    }
    i.bell-icon {
        display: none;
    }
    .navbar-nav ul {
        margin: 0;
    }
    .form-page-bg {
        padding: 140px 15px 40px;
    }
    .main-banner h1 {
        font-size: 40px!important;
    }
     .main-banner {
        padding: 40px 0 0 !important;
        background: none !important;
        height: auto !important;
    }
    .main-banner .banner-mob-img {
        display: block;
        margin-top: 30px;
    }
    .banner-text {
        padding: 0 15px;
        max-width: 100% !important;
        text-align: center;
    }
}
@media (max-width: 767px) {
    .stock-tabs .nav-pills {
        margin-bottom: 40px;
        justify-content: center;
    }
    .stock-tabs-desktop {
        display: none;
    }
    .stock-tabs-mobile {
        display: block;
    }
    .target-dropdown {
        width: 100%;
    }
    .logo-container .inner-logo {
        gap: 50px;
    }
    footer .subscribe-box {
        flex-direction: column;
    }
    .stock-item .stock-logo-text {
        gap: 6px;
    }
    .stock-logo img {
        width: 30px;
        height: 30px;
    }
    .stock-list .stock-item {
        padding: 15px !important;
    }
    .btn-wrapper {
        justify-content: center;
        display: flex;
    }
    .section-padding {
        padding: 40px 0 !important;
    }
    .invest-text ul {
        flex-direction: column;
        gap: 10px !important;
    }
    .yahoo-finance-text ul, .invest-text ul {
        text-align: left;
    }
    .section-main-head {
        text-align: center;
    }
    footer .bottom-bar {
        flex-direction: column;
        gap: 10px;
    }
    footer .subscribe-box input {
        padding: 10px 15px !important;
    }
    .btn-wrapper .green-btn i {
        width: 30px;
        height: 30px;
    }
    .btn-wrapper .green-btn {
        padding: 7px 10px 7px 21px;
    }
    .footer-inner .logo img {
        width: 170px;
    }
    h2 {
      font-size: 30px !important;
    }
    .main-banner h1 {
        font-size: 35px !important;
        text-align: center;
    }
}
@media (max-width: 520px) {
    .button-container .btn-primary {
        flex: auto;
        width: 100%;
        
    }
    .filter-search {
        flex-direction: column;
    }   
    .filter-search div:first-child {
        width: 100%;
    }
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }
    .header-bar, .portfolio-header {
        flex-direction: column;
        gap: 10px;
    }
    .forgot-password a, .forgot-password p {
        font-size: 12px;
    }
    .login-box {
        padding: 25px;
    }
}


/* homepage css */
h2 {
    font-size: 48px;
}
.main-banner h1 {
    font-size: 48px;
    font-weight: 700;
}
.banner-mob-img {
    display: none;
}
.main-banner .banner-mob-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.main-banner {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 110px 0 110px 56px;
    background: #102A42 url("/static/images/stock-banner.png") no-repeat right;
    background-size: contain;
    height: 490px;
}
.banner-text {
    max-width: 500px;
}
.banner-text p {
    color: #C4C4C4;
    margin: 0;
}
.green-text {
    color: var(--green-color);
    font-weight: 700;
}
a.green-btn:hover {
    transform: translateY(-5px);
}
.green-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 10px 25px;
    border-radius: 50px;
    background: #27AE60;
    transition: 0.3s;
    color: #fff;
    width: fit-content;
    text-decoration: none;
    font-weight: 400;
    margin-top: 25px;
}
.green-btn:hover {
    color: #fff;
}
.green-btn i {
    width: 35px;
    height: 35px;
    border-radius: 50px;
    background: #FFF;
    color: var(--green-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
/* logo container css */
.logo-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}
.inner-logo img {
    width: 111px;
    height: 50px;
    object-fit: contain;
}
.inner-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    animation: scroll 15s linear infinite;
    gap: 90px;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* trading partner section */
.section-padding{
    padding: 80px 0;
}
.trading-partner p {
    color: #C4C4C4;
    margin: 0;
}
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 20px;
}
.trade-box-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    text-align: left !important;                                                                                                       
}
.trading-card {
    background: #0E253B;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #FFFFFF47;
    padding: 30px 35px;
    height: 100%;
}
.trade-box-head p {
    margin: 40px 0 0;
    font-weight: 500;
}
.trading-card h4 {
    color: #C4C4C4;
}
.trading-card i {
    background: rgba(0, 194, 255, 0.13);
    height: 45px;
    width: 45px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 50px;
    color: #00C2FF;
}
.trading-card .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 10px solid #3DDC84;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.trading-card .emoji {
    margin: 10px 0;
}
input[type="range"] {
    -webkit-appearance: none;
    height: 12px;
    border-radius: 10px;
    background: #5a617d; 
    outline: none;
    margin: 20px 0 0;
    width: 80%;
}
input[type="range"]::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 10px;
    background: linear-gradient(to right, #ee8050 var(--val, 75%), #5a617d var(--val, 75%));
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ee8050;
    cursor: pointer;
    margin-top: -3px;
}

/* yahoo-finance section */
.yahoo-finance {
    position: relative;
    background-color: #0E253B;
}
.yahoo-finance:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/static/images/bg-cube.png) no-repeat center top;
    background-size: contain;
}
.stock-list {
    max-width: 550px;
    background: #132E48;
    border-radius: 10px;
}
.stock-list .stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.stock-item .stock-logo-text {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stock-list .stock-item:not(:last-child) {
     border-bottom: 1px solid #000;
}
.stock-list .logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #111;
    font-size: 18px;
}

/* Stock info */
.stock-list .info h4 {
    margin: 0;
    font-size: 15px;
}
.bg-darkblue {
    background: #082948;
}
.stock-list .info p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
}
.stock-list .price {
    text-align: right;
}
.stock-list .price h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #B0B0B0;
}
.stock-list .price p {
    margin: 0;
    font-size: 13px;
}
.stock-list .price .up i {
    color: #18CCCC;
    background: #374949;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}
.stock-list .price .up {
    color: #18CCCC;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
}
.stock-list .price .down i {
    color: #FF5000;
    background: #4E3C34;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}
.stock-list .price .down {
    color: #FF5000;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
}
.invest-img img {
    width: 100%;
    max-width: 600px;
}
.invest-img {
    text-align: right;
}
ul {
    margin: 20px 0 0;
    padding: 0;
}
li {
    list-style: none;
}
.home-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #C4C4C4;
}
.home-list li i {
    color: #fff;
    flex-shrink: 0;
}
.invest-text ul {
    display: flex;
    align-items: center;
    gap: 30px;
}
.invest-text ul li {
    align-items: start;
}
.yahoo-finance-text li i {
    border-radius: 50px;
    border: 1px solid #fff;
    width: 30px;
    flex-shrink: 0;
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* stock variety text */
span.tag {
    font-size: 15px;
    padding: 7px 20px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid #fff;
    margin-bottom: 20px;
}
.stock-variety {
    background: #0E253B url("/static/images/bg-cube.png") no-repeat center bottom;
    background-size: contain;
}

/* footer css */
footer {
    background: #0E253B;
    color: #fff;
    text-align: center;
}
.footer-inner {
    padding: 50px 0;
     max-width: 540px;
    margin: 0 auto;
}
.footer-inner .logo {
    margin-bottom: 20px;
}
footer .logo {
    font-size: 28px;
    font-weight: bold;
}
footer .logo span {
    color: #22c55e; /* green */
}
footer .subtitle {
    margin: 10px 0 25px;
    font-size: 18px;
}

footer .subscribe-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
}
footer .subscribe-box input {
    padding: 15px 15px;
    border: none;
    border-radius: 25px;
    outline: none;
    max-width: 370px;
    width: 100%;
}
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}
footer .footer-links a {
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 400;
}
footer .footer-links a:hover {
    color: #22c55e;
}
footer .bottom-bar {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}
footer .bottom-bar a {
    text-decoration: none;
    margin-left: 15px;
    font-weight: 400;
}
footer .bottom-bar a:hover {
    color: var(--green-color);
}
footer .bottom-bar p {
    margin: 0;
}
.subscribe-box a {
    margin-top: 0px;
}
/* blog section css */
.blog-section {
    text-align: center;
}
.blog-section h2 {
    margin-bottom: 30px;
}
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}
.blog-image {
    position: relative;
}
.blog-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.blog-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--green-color);
    color: #fff;
    padding: 9px 15px;
    border-radius: 20px;
    font-size: 15px;
    line-height: normal;
}
.blog-content {
    padding: 20px;
}
.blog-date {
    font-size: 15px;
    color: #C4C4C4;
    margin-bottom: 5px;
}
.blog-title {
    margin-bottom: 8px;
}
.blog-description {
    font-size: 16px;
    color: #C4C4C4;
    line-height: 1.4;
    margin: 0;
}
.stat span {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 14px;
    color: #ffffff;
}
.stat {
    font-size: 15px;
}
.stat span.buy {
    background: #1c6d3f;
}
.stat span.sell {
    background: #E74C3C;
}
.stat span.neutral {
    background: #95A5A6;
}
.stat span.high {
    background: #1F618D;
}
.stat span.medium {
    background: #a48828;
}
.stat span.low {
    background: #39769f;
}
.btn-warning {
    background-color: #e3b016;
    border-color: #e3b016;
}