/*Fonts ––––––––––––––––––––––––––––––––––––––––––––––––––*/
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

body{
  margin: 0px;
  padding: 0px;
  background-color: #F3F4F9;
  font-family: 'Roboto';
  color: #203cb3;
  overflow-x: hidden;
}

.banner {
  height: fit-content;
  background-color:rgb(2,21,70);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* border-bottom: 1px solid #4B5460; */
  padding: 1rem 1rem;
  width: 100%;
}

.banner-logo{
  width: 100%;
}

.banner_button {
  font-size: 2rem;
  margin: 1rem;
}

.dcc_control {
  margin: 0;
  padding: 5px;
  width: calc(100%-40px);
}



.filter {
  background-color: white;
  border-radius: 8px;
  height: 100%;
}
.filter > .card-body {
  padding: 0.6rem 0.8rem;
}

.signal_boad {
  border-radius: 5px;
  background-color: white;
  height: 350px;
  width: 250px;
}


.score_boad {
    border-radius: 8px;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.score_boad > .card-header {
    flex-shrink: 0;
}
.score_boad > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ---- Score card bar chart ---- */
.sc-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.sc-bar-label {
    width: 85px;
    font-size: 1.05rem;
    color: #555;
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}
.sc-bar-track {
    position: relative;
    flex: 1;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}
.sc-bar-value {
    width: 52px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: right;
    padding-left: 8px;
    flex-shrink: 0;
}

/* ---- Stock detail grid ---- */
.sc-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 16px;
    background-color: #fafafa;
}
.sc-detail-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 2px 0;
}
.sc-detail-label {
    color: #999;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.sc-detail-value {
    font-weight: 700;
    font-size: 1.15rem;
    color: #333;
    white-space: nowrap;
}

.method_card {
  background-color: white;
  width: 100%;
}

.rank_table {
  background-color: white;
  width: 100%;
}

.brand_card {
  border-radius: 5px;
  padding: 5px;
  background-color: white;
}

.score_font {
  font-size: 7rem;
  font-weight: bold;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile: detail grid 2 columns */
@media (max-width: 768px) {
    .sc-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* .div-logo{
  display: inline-block;
  float: right;
}

.header_button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 80%;
  font-size: 2rem;
} */



/*------------ Signup ---------------*/

#signup-panel{
  display: flex;
  flex-direction:column;
  border:1px solid grey;
  height:450px;
  width:20%;
  padding:25px;
  margin-top:50px;
  margin-left:auto;
  margin-right:auto;
  background-color:white;
  border-radius:15px;
}

#register-button{
  text-decoration:none;
  border:1px solid grey;
  padding:5px;
  text-align:center;
  border-radius:5px;
  margin-top:25px;
  background-color:rgb(66,196,247);
  color:white;
}

#first-name{
  margin-top:15px;
}
#last-name{
  margin-top:15px;
}

#password-again{
  margin-top:15px;
}
#have-account{
  text-align:center;
}

#account{
  text-align:center;
}




.card {
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #333;
    font-weight: bold;
}

.table th {
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}