.favorite-stocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.stock-card {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(145deg, #0073ff, #00d4ff);
    color: #fff;
}

.stock-card:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stock-header {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.stock-body {
    padding: 20px;
}

.stock-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stock-industry,
.stock-current-price,
.stock-price-target {
    font-size: 16px;
    margin-bottom: 5px;
}

.stock-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.stock-overlay-content {
    background: #222;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    position: relative;
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
/* Popup Overlay */
.popup-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

/* Popup Content */
.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Popup Title */
.popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0056D2; /* Professional blue */
}

/* Popup Text */
.popup-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Form Styles */
.popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    outline: none;
}

.popup-input:focus {
    border-color: #0056D2;
}

.popup-button {
    background: #0056D2;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-button:hover {
    background: #003c9e;
}
.trade-ideas {
  background-color: #2b2e38;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

.trade-ideas h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.last-updated {
  font-size: 0.9em;
  color: #cccccc;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

thead th {
  text-align: left;
  color: #cccccc;
  font-size: 0.9em;
  border-bottom: 1px solid #444;
  padding: 8px 0;
}

tbody tr {
  border-bottom: 1px dashed #444;
}

td {
  padding: 8px 0;
}

.weight {
  text-align: center;
  padding: 5px 10px;
  color: #ffffff;
  border-radius: 5px;
}

.weight.up {
  background-color: #3cb371; /* Green */
}

.weight.down {
  background-color: #dc143c; /* Red */
}

.weight.neutral {
  background-color: #ffa500; /* Orange */
}

.trade-journal {
  text-align: center;
}

.trade-journal button {
  background-color: #dc143c;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
}

.trade-journal button:hover {
  background-color: #a10e2e;
}
