/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body, html {
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}
  
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 15;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
  
header .logo-container {
    display: flex;
    align-items: center;
}
  
header .logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-top: 4px;
}
  
header .app-name {
    font-size: 18px;
    font-weight: bold;
}
  
header .login-btn {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}
  
header .login-btn:hover {
    background-color: #0056b3;
}
  
.main-content {
    margin-top: 70px;
    flex-grow: 1;
    padding: 10px;
}
  
.intro {
    margin-bottom: 30px;
}
  
.intro h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}
  
.intro p {
    font-size: 18px;
    color: #555;
}
  
.dashboard {
    flex-wrap: wrap;
    justify-content: center;
}
  
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
  
.card-container-account {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
  
.card {
    max-width: 100%;
    width: 370px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 30px;
    position: relative;
}
  
.card1 {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-align: center;
}
  
.trades-container {
    margin-top: 20px;
}
  
.history-trades-container {
    margin-top: 20px;
}
  
footer {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 350px;
    background-color: rgba(0, 123, 255, 0.9);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 15;
    transition: background-color 0.3s ease;
}
  
footer .footer-btn {
    background: none;
    border: none;
    cursor: pointer;
}
  
.footer-label {
    font-size: 8px;
    color: #ffffff;
}
  
footer .footer-icon {
    font-size: 20px;
    width: 50px;
    transition: transform 0.3s ease;
}
  
footer .footer-icon:hover {
    transform: scale(1.1);
}
  
#boardBtn .footer-icon {
    color: #32CD32;
}
  
#highlightsBtn .footer-icon {
    color: #FF00FF;
}
  
#favoritesBtn .footer-icon {
    color: #FF2400;
}
  
#cartBtn .footer-icon {
    color: #FFA500;
}
  
#historyBtn .footer-icon {
    color: #d3d3d3;
}
  
@media (max-width: 768px) {
    .card-container {
      grid-template-columns: 1fr;
    }
}
  
@media (min-width: 769px) and (max-width: 1024px) {
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    }
}
  
@media (min-width: 1025px) {
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    }
}
  
.logo-link {
    text-decoration: none;
    color: inherit;
}
  
.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    color: inherit;
}
  
.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}
  
input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}
  
.buttonLogin {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
}
  
.buttonRefresh {
    margin-bottom: 10px;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
}
  
.help-text {
    font-size: 14px;
    margin-top: 10px;
    color: #666;
}
  
.copy-icon {
    cursor: pointer;
    color: #007bff;
    margin-left: 0px;
    font-size: 14px;
}
  
#hashContainer {
    margin-top: 20px;
    text-align: center;
    word-wrap: break-word;
}
  
#hashOutput {
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #f8f9fa;
    padding: 8px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: monospace;
    font-size: 13.5px;
    color: #333;
}
  
.modern-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
  
.form-title {
    text-align: center;
    color: #007BFF;
    margin-bottom: 1em;
}
.form-title1 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 1em;
    margin-top: 2em;
}
  
.modern-form {
    flex-direction: column;
    gap: 16px;
}
  
.form-group {
    margin-bottom: 15px;
    text-align: center;
}
  
.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}
  
.modern-input,
.modern-select {
    width: 200px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f8f8;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
  
.modern-input:focus,
.modern-select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
  
.modern-button {
    padding: 10px 15px;
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
.modern-button1 {
    padding: 10px 15px;
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1em;
}
  
.modern-button:hover {
    background-color: #0056b3;
}
  
.modern-button1:hover {
    background-color: #0056b3;
}
  
.modern-button:disabled {
    background-color: rgba(239, 239, 239, 0.3);
    color: rgba(16, 16, 16, 0.3);
    cursor: not-allowed;
}
  
.modern-button1:disabled {
    background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
    color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
    cursor: not-allowed;
}
  
.order-summary {
    list-style: none;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 15px;
    border-top: 1px solid #ddd;
}
  
.order-summary li {
    padding: 8px 0;
    color: #333;
    font-size: 0.9em;
}
  
@media (max-width: 600px) {
    .modern-form-container {
        padding: 15px;
    }
    .modern-button {
        font-size: 0.9em;
    }
}
  
.charts-container {
    width: 350px;
    margin-bottom: 0px;
    position: relative;
}
  
.label {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    z-index: 10;
}
.label1 {
    position: absolute;
    top: 20px;
    left: 0px;
    font-size: 14px;
    color: #000000;
    z-index: 10;
}
.label2 {
    position: absolute;
    top: 38px;
    left: 0px;
    font-size: 14px;
    color: #000000;
    z-index: 10;
}
.label3 {
    position: absolute;
    top: 18px;
    left: 0px;
    font-size: 14px;
    color: #000000;
    z-index: 10;
}
  
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.button-container button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.button-full {
    background-color: #007bff;
    color: white;
}
.button-favorite {
    background-color: #ffc107;
    color: white;
}
.button-buy {
    background-color: #28a745;
    color: white;
}
.button-sell {
    background-color: #dc3545;
    color: white;
}
  
.delete-button {
    background-color: orange;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}
  
.delete-button:hover {
    background-color: rgb(220, 144, 2);
}
  
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
  
.button-buy, .button-sell {
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}
.button-buy {
    background-color: #28a745;
}
.button-sell {
    background-color: #dc3545;
}
.button-buy:hover {
    background-color: #218838;
}
.button-sell:hover {
    background-color: #c82333;
}
.button-buy.selected {
    background-color: #218838;
}
.button-sell.selected {
    background-color: #c82333;
}
.button-buy.unselected, .button-sell.unselected {
    background-color: #666666;
}
  
.notification-badge {
    position: absolute;
    top: -9px;
    background-color: lime;
    color: red;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}
.notification-badge.high {
    left: 31.3%;
    transform: translateX(-50%);
}
.notification-badge.fav {
    left: 52.3%;
    transform: translateX(-50%);
}
.notification-badge.cart {
    left: 71.1%;
    transform: translateX(-50%);
}
  
.filter-section {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}
  
#filterInput {
    width: 300px;
    height: 37px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
}
  
.clear-button {
    position: absolute;
    right: 9px;
    top: 13px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}
  
.spinner-container {
    position: relative;
    display: inline-block;
    margin-top: 40px;
}
  
.spinner-container-account {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
  
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
  
.spinner-small {
    width: 40px;
    height: 40px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0px auto;
}
  
.spinner-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #007BFF;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
  
.checkbox-container {
    display: flex;  
    justify-content: center;
    align-items: center;
}
  
.checkbox-input {
    width: 14px;
    margin-top: 4px;
}
  
.checkbox-label {
    font-weight: normal;
    margin-top: 4px;
    margin-left: 4px;
}
  
.trade-link {
    color: #007BFF;
}
  
.trade-link:visited {
    color: #007BFF;
}
  
.trade-link:hover {
    text-decoration: underline;
}
  
.trade-link:active {
    color: #0056b3;
}
  
.bubble-indicator {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}
  
.bubble-indicator-profit {
    background-color: yellowgreen;
}
  
.bubble-indicator-loss {
    background-color: orangered;
}
  
.modern-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #007BFF, transparent);
    margin: 20px 0;
}
  
.server-message {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 8px;
    margin-top: 20px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    font-family: monospace;
    font-size: 13.5px;
    color: #333;
    opacity: 0.5;
}
  
.server-message.show {
    display: block;
}
  
.input-container {
    position: relative;
    display: inline-block;
}
  
.star-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 30px;
    color: #ccc;
    z-index: 10;
}
  
.star-icon.highlight {
    color: magenta;
}
  
.heart-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    z-index: 10;
}
  
.heart-icon.favorite {
    color: red;
}
  
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
  
.page-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 12px;
}
  
.page-btn:hover {
    background-color: #0056b3;
}
  
.page-info {
    font-size: 12px;
    margin: 0 10px;
}
  
.page-input {
    width: 50px;
    padding: 5px;
    margin: 0 5px;
    font-size: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}
  
.no-results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 100px;
}
  
.no-results-icon {
    font-size: 30px;
    color: #007BFF;
    margin-bottom: 10px;
}
  
.no-results-text {
    font-size: 15px;
    color: #333;
    text-align: center;
}
  
.scroll-to-top-btn {
    position: fixed;
    bottom: 80px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 123, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}
  
.scroll-to-top-btn-right {
    right: 20px;
}
  
.scroll-to-top-btn-left {
    left: 20px;
}
  
.scroll-to-top-btn.show {
    display: flex;
    opacity: 1;
}
  
.progress-container {
    width: 300px;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    height: 30px;
    margin: 20px 0;
}
  
.progress-bar {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    text-align: center;
    line-height: 30px;
    color: white;
    transition: width 0.4s ease;
    position: relative;
}
  
.progress-text {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    line-height: 30px;
    color: #000;
}