/* ===== Portfolio Dashboard Styles ===== */

.portfolio-dashboard {
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
}

/* Header */
.portfolio-header {
  text-align: center;
  background: #111;
  color: white;
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 8px;
}

/* Summary section */
.portfolio-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
  gap: 12px;
}
.summary-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  width: 250px;
}
.summary-box h2 {
  margin: 0;
  font-size: 18px;
  color: #777;
}
.summary-box p {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

/* Portfolio list */
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  transition: 0.3s ease;
  cursor: pointer;
}
.card:hover { transform: scale(1.02); }
.card-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
  color: #222;
}
.card-header span {
  font-weight: normal;
  color: #006400;
}
.card-body {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}

/* Download button */
.download-btn {
  margin: 30px auto;
  display: block;
  background: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.download-btn:hover { background: #444; }

/* News section */
.news-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 10px;
}
.news-section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}
.news-card {
  background: white;
  border-left: 4px solid #0077cc;
  padding: 10px 15px;
  margin: 10px 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .summary-box, .card {
    width: 90%;
  }
}
