/*  + + + + + + + + Application level styling  + + + + + + + + */
.App {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: white;

}
.redText {
  color: red;
}
.greenText {
  color: green;
}
.yellowText {
  color: orange;
}
.blackText {
  color: black;
}
.headerStyle {
  padding: 10px;
  border-bottom: 1px groove lightgray;
  color: black;
  font-size: 25px;
  font-family: Arial;
  display: flex;
  margin: 0px 0;
  height:6vh;
}
.userImgStyle  {
  align-items: middle;
  justify-content: middle;
  border: 0px solid;
  border-radius: 0px;
  padding: 1px;
  padding-left: 5%;
  width: 10px;
  height: 10px;
}
.imgStyle  {
  border: 0px solid;
  border-radius: 1px;
  padding: 1px;
  width: 100px; /* Reduced from 100px */
  display: block;
}
.logoDivStyle {
  width: 20%;
  border: 0px solid;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 60px; /* Added - gives breathing room from left edge */
  padding-bottom: 1px; 
}
.headermenuStyle  {
  align-items: left;
  justify-content: left;
  text-align : right;
  margin: 0%;
  padding: 17px 0px 0px 0px;
  font-size: 15px;
  font-family: Arial;
  color: black;
  border-radius: 0px;
  border: 0px solid #f5cc8b;
  vertical-align: middle;
  display : flex;
  width : 70%;
  height: 90%;

  }
  .authenticateUserStyle  {
    align-items: center;
    justify-content: center;
    text-align : right;
    margin: 0%;
    padding: 0px 0px 0px 0px;
    font-size: 15px;
    font-family: Arial;
    color: black;
    border-radius: 0px;
    border: 0px solid #f5cc8b;
    border-left: 1px solid gray;
    vertical-align: center;
    display : flex;
    width : 10%;
}
.siteBody {
  align-items: center;
  justify-content: center;
  text-align : center;
  margin-top: 1%;
  margin-bottom: 0%;
  margin-left: 0%;
  margin-right: 0%;
  padding: 1px;
  font-size: 15px;
  font-family: Arial;
  font-weight: normal;
  color: black;
  border-radius: 0px;
  border: 0px solid #f5cc8b;
  width : 100%;
  height: 85vh;
  background-color: white;
}
.footerStyle  {
  align-items: center;
  justify-content: center;
  text-align : center;
  margin: 0%;
  padding: 5px 0px 0px 0px;
  font-size: 15px;
  font-family: Arial;
  color: black;
  border-radius: 0px;
  border: 0px solid #f5cc8b;
  vertical-align: middle;
  display : flex;
  width : 100%;
  height: 5vh;
  }
/*  + + + + + + + + Used on all drop down menus  + + + + + + + + */
  .dropdown {
    display: inline-block;
    position: relative;
    width: 150px;
    text-align: left;

    z-index: 9999; /* set a higher z-index value */
  }
  .dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    overflow: auto;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    z-index: 9999; /* set a higher z-index value */
    background-color: white;
    border: 1px solid gray;
    font-size: 13px;
    text-align: left;

}
.dropdown:hover .dropdown-content {
  display: block;
  z-index: 9999; /* set a higher z-index value */
}
.dropdown-content a {
  display: block;
  color: #000000;
  padding: 5px;
  background-color:white;
  text-decoration: none;
  z-index: 9999; /* set a higher z-index value */
}
.dropdown-content a:hover {
  color: black;
  background-color:white;
  font-weight: bold;
  z-index: 9999; /* set a higher z-index value */
}
.button {
  background-color: white; 
  border: none;
  color: black;
  padding: 0px 0px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.button:hover {
  font-weight: bold;
  background-color: white; 
}
/*  + + + + + + + + Used on all lists of data  + + + + + + + + */
.standardListTable {
  border-collapse: collapse;
  margin: 5px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  max-width: 80%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.standardListTableTitle {
  font-size: 1.5em;
  font-family: sans-serif;
  color:#000000;
  font-weight: bold;

}
.standardListTable thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}
.standardListTable th,
.standardListTable td {
    padding: 12px 15px;
    text-align: left;
  }
.standardListTable tbody tr {
  border-bottom: 1px solid #dddddd;
}
.standardListTable tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
.standardListTable tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}
.standardListTable tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
.standardListLabel {
  color:black;
  text-align: left;
  font-weight: bold;
}
/*  + + + + + + + + Used on all lists of data  + + + + + + + + */
.currencyPairsTable {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  margin: 5px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  width: 65%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  display:table;
}
.currencyPairsTableTitle {
  font-size: 1.5em;
  font-family: sans-serif;
  color:#000000;
  font-weight: bold;
  text-align: center;
  align-items: middle;
  height: 50px;
  background-color: #f3f3f3;


}
.currencyPairsCellDisplay {
  font-size: .9em;
  font-family: sans-serif;
  color:#000000;
  font-weight: normal;
  width: 33%;
  height: 50px;
  display: table-cell;
  border: 1px solid #dddddd;
  border-collapse: collapse;
  text-align: center;
  align-items: middle;

}

/*  + + + + + + + + Used on all form inputs  + + + + + + + + */
.imgSearchStyle  {
  align-items: middle;
  justify-content: middle;
  border: 0px solid;
  border-radius: 0px;
  padding: 0px;
  padding-left: 0%;
  max-width: 50%;
  max-height: 50%;

}

.standardInputTable {
  border-collapse: collapse;
  margin: 5px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 60%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.standardInputTableTitle {
  font-size: 1.5em;
  font-family: sans-serif;
  color:#000000;
  font-weight: bold;
  background-color: #f3f3f3; 

}
.standardInputTable thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}
.standardInputTable th,
.standardInputTable td {
    padding: 12px 15px;
    text-align: left;
  }
.standardInputTable tbody tr {
  border-bottom: 1px solid #dddddd;
}
.standardInputTable tbody tr:nth-of-type(even) {
  background-color: white;
}
.standardInputTable tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}
.standardInputTable tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
.standardInputLabel {
  color:black;
  text-align: left;
  font-weight: bold;
}
.standardInputField {
  font-size: 0.9em;
  font-family: sans-serif;
  color:#000000;
  font-weight: normal;

}
.standardFlashMessage {
  color:green;
  text-align: left;
  font-weight: bold;
}
.standardInputButton {
  background-color: #f3f3f3;
}

/*  + + + + + + + + + + + + + + + + + + + + + + + + + + + */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.news-item {
  background: white;
  padding: 1rem;
  border-left: 6px solid #ccc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.news-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.news-img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.news-text {
  flex: 1;
}

.news-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.news-body {
  font-size: 0.9rem;
  color: #444;
}

.sentiment-positive {
  border-color: #4caf50;
}

.sentiment-negative {
  border-color: #f44336;
}

.sentiment-neutral {
  border-color: #9e9e9e;
}
.pair-forecast-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 0%;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pair-forecast-table th,
.pair-forecast-table td {
  padding: 0%;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pair-forecast-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}

.health-good {
  background: #e7f7ed;
}

.health-warning {
  background: #fff9e3;
}

.health-bad {
  background: #fdecea;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-width: 140px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.25rem;
}

.value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
}

.summary-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.profit {
  color: #1e7f33; /* green */
  font-weight: bold;
}

.loss {
  color: #c0392b; /* red */
  font-weight: bold;
}


/* added 4/16 */
.pair-forecast-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.pair-forecast-table thead th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #ddd;
}

.pair-forecast-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  background-color: #fff;
}

.health-good td {
  background-color: #f0fff4;
}
.health-warning td {
  background-color: #fffdf0;
}
.health-bad td {
  background-color: #fff5f5;
}

.prediction-icon {
  font-size: 1.2rem;
}

.confidence-container {
  display: flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  gap: 0.5rem;
}

.confidence-bar {
  width: 60px;
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  border-radius: 4px;
}
.confidence-fill.green {
  background-color: #4caf50;
}
.confidence-fill.yellow {
  background-color: #ffc107;
}
.confidence-fill.red {
  background-color: #f44336;
}

.confidence-text {
  min-width: 35px;
  font-size: 0.85rem;
  text-align: center;
}

.tradable-indicator.yes {
  color: #4caf50;
}
.tradable-indicator.no {
  color: #f44336;
}

.health-score {
  font-weight: bold;
  margin-right: 0.3rem;
}
.trade-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.text-muted {
  color: #666;
}

.text-green-700 {
  color: #177245;
}

.text-red-700 {
  color: #A30000;
}
.centered-trades {
  text-align: center;
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(7, auto); /* or fixed widths */
  gap: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
}

.trade-row {
  display: contents;
}
.summary-card {
  text-align: center;
  padding: 1rem;
}

.text-green-700 {
  color: #177245;
}

.text-red-700 {
  color: #A30000;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}
