/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', Arial, sans-serif; /* Rounded font */
}

/* Body and background */
body {
    background-color: #ededed;
    color: #333;
    line-height: 1.6;
    margin: 10px;
}

/* Header */
h1, h2 {
    color: #333;
    text-align: center;
    margin: 10px 0;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
}

h2 {
    font-size: 1.5rem;
    color: #555;
}

/* Container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

table td {
    padding: 8px 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: red; /* Green */
    color: black;
    font-weight: bold;
    text-transform: uppercase;
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Alternate row color */
}

table tbody tr:hover {
    background-color: #e8f5e9; /* Light hover effect */
}

table td {
    transition: background-color 0.3s ease;
    text-align: left;
}

@media (max-width: 768px) {
    /* Hide specific columns in mobile view */
    td:nth-child(14), /* 1DAYRank */
    th:nth-child(14),
    td:nth-child(15), /* 2DAYRank */
    th:nth-child(15),
    td:nth-child(16), /* 1WEEKRank */
    th:nth-child(16),
    td:nth-child(17), /* 1MONTHRank */
    th:nth-child(17),
    td:nth-child(18), /* 2MONTHRank */
    th:nth-child(18),
    td:nth-child(19), /* 3MONTHRank */
    th:nth-child(19),
    td:nth-child(20), /* HALFYEARank */
    th:nth-child(20) {
        display: none;
    }
}

@media (max-width: 768px) {
    #filterTable {
        width: 70%;
        margin: 0 auto; /* Center the table if needed */
    }
}
/* Buttons */
button, input[type="button"] {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover, input[type="button"]:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* Select box */
select {
    padding: 1px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

#premarket {
    position: relative;
    display: inline-block;
}
/* Mobile styles 
#filterTable {
    position: relative;
    left: 220px;
    top: 500px;
}*/
/* Parent container styling */
div[style="display: flex; align-items: center;"] {
    gap: 1px; /* Space between #sidePanel and #radioBtnHolder */
}

/* Horizontal alignment within sidePanel */
#sidePanel .radio-group {
    display: flex;
    align-items: center;
    gap: 1px; /* Space between radio buttons */
}

/* Horizontal alignment within radioBtnHolder */
#radioBtnHolder {
	position:relative;
    font-weight:bold;background-color:black;
color:white;text-transform: uppercase;font-size:15px;justify-content: center;text-align:center
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Adjust container padding and table layout */
    .container {
        padding: 1px;
    }

    table th, table td {
        font-size: 0.8rem;
        padding: 5px;
    }

    /* Make tables scrollable horizontally */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Adjust sections for vertical stacking */
    /*
	#sidePanel, #filterTable, #premarket {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
*/
  
}

@media (max-width: 480px) {
    /* Smaller font sizes and stacked layout */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    button, input[type="button"] {
        padding: 2px 2px;
        font-size: 0.9rem;
    }

    select {
        font-size: 0.9rem;
        padding: 0px;
    }

    /* Reduce spacing in tables */
    table th, table td {
        font-size: 0.7rem;
        padding: 0px;
    }

}

 label {
            display: inline-block;
            padding: 1px;
            margin: 0px;
            border: 1px solid #ccc;
            border-radius: 5px;
            cursor: pointer;
        }

		.radio-group label {
        display: inline-flex;
        align-items: center;
        margin-right: 5px;
		padding:10px
		/* Add spacing between labels */
    }

    .radio-group input[type="radio"] {
        margin-right: 0px; /* Space between the radio button and text */
    }
.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;position:absolute;left:40%;top:40%;background-color:gray
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.login{position:absolute;left:430px;top:10px}
.analysisTitle{font-weight:bold;background-color:black;
color:white;text-transform: uppercase;font-size:15px;justify-content: center;text-align:center}