body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: #f2f2f2;
}

#data-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#data-form input, #data-form select, #fetch-button {
    margin: 10px;
    width: 100%;
    max-width: 170px;
    font-size: 15px;
    padding: 10px;
    /* border: solid 1px #ccc; */
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 768px) {
    #data-form input, #data-form select, #fetch-button {
        width: 100%;
        max-width: none;
    }
}

#data-output {
    margin-top: 40px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f0f0f0;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#loading-canvas {
  border-radius: 50%;
}

#toggle-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;

    font-size: 24px;
}

#sidebar {
    width: 200px;
    height: 100vh;
    background-color: #333;
    color: #fff;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    transition: width 0.5s;
}

#sidebar.minimized {
    width: 40px;
}

#sidebar .logo {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    transition: width 0.5s, height 0.5s;
}

#sidebar.minimized .logo {
    width: 70px;
    height: auto;
    margin-top: 10px;
    display: block;
    margin-left: -15px;
}

#sidebar.minimized ul {
    display: none;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar li {
    margin-bottom: 10px;
}

#sidebar a {
    color: #fff;
    text-decoration: none;
}

#sidebar a:hover {
    color: #ccc;
}

#sidebar ul ul {
    padding-left: 20px;
    /* display: none; */
    display: block;
}

#sidebar li:hover ul {
    display: block;
}

#content {
    padding: 0px 0px 0 240px;
    transition: padding 0.5s;
}

#sidebar.minimized + #content {
    padding: 0px 0px 0 80px;
}

#titulo {
    font-family: inherit;
    height: 40px;
    font-size: larger;
}

/*
<!-- Ícone de análise -->
#sidebar ul li:nth-child(1) a::before {
    font-family: "FontAwesome";
    content: "\2705";
    font-size: 18px;
    margin-right: 10px;
}

<!-- Ícone de dados -->
#sidebar ul li:nth-child(2) a::before {
    font-family: "FontAwesome";
    content: "\1F4C8";
    font-size: 18px;
    margin-right: 10px;
}
*/

#sidebar ul ul li:nth-child(1) a::before {
    font-family: "FontAwesome";
    content: "\2191"; /* Ícone de suporte e resistência */
    font-size: 18px;
    margin-right: 10px;
}

#sidebar ul ul li:nth-child(2) a::before {
    font-family: "FontAwesome";
    content: "\1F4CA"; /* Ícone de indicadores */
    font-size: 18px;
    margin-right: 10px;
}

#sidebar ul ul li:nth-child(3) a::before {
    font-family: "FontAwesome";
    content: "\1F4F0"; /* Ícone de notícias */
    font-size: 18px;
    margin-right: 10px;
}

#sidebar ul ul li:nth-child(4) a::before {
    font-family: "FontAwesome";
    content: "\1F4C9"; /* Ícone de OHLC */
    font-size: 18px;
    margin-right: 10px;
}

#sidebar ul ul li:nth-child(5) a::before {
    font-family: "FontAwesome";
    content: "\1F4B0"; /* Ícone de último preço */
    font-size: 18px;
    margin-right: 10px;
}


.menu-item {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.menu-item:hover {
    background-color: #444;
}

.submenu-item {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.submenu-item:hover {
    background-color: #444;
    color: #fff;
}

.img_suporte {
    max-width: 100%;
    height: auto;
}