@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
:root {
  font-family: "Inter", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
  background: rgb(245, 245, 247);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/*WELCOME PAGE*/
.welcome-heading {
  margin-bottom: 1rem; /* or adjust as needed */
}

.welcome-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40vw;
  height: 30vh;
}

.welcome-icon {
  width: 15vw;
  height: auto;
}
.stockmarket-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.stockmarket-icon {
  width: 15vw;
  height: auto;
}

body.home-page {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* allow body to grow */
  height: auto;
  width: 100vw;
  background-color: rgb(243, 245, 251);
  color: rgb(66, 118, 209);
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Navbar */
body.home-page .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  background-color: rgb(243, 245, 251);
}

body.home-page .navbar-left {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 0;
  margin-left: 0;
}

body.home-page .logo-text {
  font-size: 1.5rem;
  color: rgb(46, 106, 234);
}
.logo-text {
  font-size: 1.5rem;
  color: rgb(46, 106, 234);
}
body.home-page .navbar a {
  color: rgb(66, 118, 209);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1rem;
  font-weight: bold;
}

body.home-page .navbar a:hover {
  text-decoration: underline;
}

/* Hero Section */
body.home-page .hero-section {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  width: 100%; /* Use 100% instead of 100vw */
  max-width: 100%; /* prevent overflow from padding/margins */
  height: calc(100vh - 64px);
  margin-top: 64px;

  padding-left: 40px;
  padding-right: 40px;
}

body.home-page .hero-left {
  max-width: 50%;
}

body.home-page .hero-left h1 {
  font-size: 3rem;
  color: rgb(66, 118, 209);
  margin-bottom: 1rem;
  font-weight: bold;
}

body.home-page .hero-left p {
  color: rgb(66, 118, 209);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

body.home-page .primary-button {
  background-color: rgb(66, 118, 209);
  color: rgb(235, 241, 245) !important;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.primary-button {
  background-color: rgb(66, 118, 209);
  color: rgb(235, 241, 245) !important;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
body.home-page .primary-button {
  background-color: rgb(66, 118, 209);
  color: white !important;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

body.home-page .primary-button:hover,
body.home-page .primary-button:focus,
body.home-page .primary-button:active {
  background-color: #0056b3;
  box-shadow: none;
  outline: none;
}

body.home-page .hero-right img {
  max-width: 400px;
  height: auto;
}

body.home-page h1,
body.home-page h2,
body.home-page h3,
body.home-page p,
body.home-page span,
body.home-page a {
  color: rgb(66, 118, 209);
}

body.home-page .blinking-cursor::after {
  content: "|";
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

body.home-page .cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  body.home-page .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 40px;
  }

  body.home-page .hero-left {
    max-width: 100%;
  }

  body.home-page .hero-right img {
    max-width: 100%;
    margin-top: 2rem;
  }

  body.home-page .cta {
    align-items: center;
  }
}
#developers-journey {
  font-family: "Inter", sans-serif;
  font-style: italic;
}

a.primary-button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: rgb(66, 118, 209);
  color: white !important; /* ✅ Ensure visible text */
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

a.primary-button:hover,
a.primary-button:focus {
  background-color: #0056b3;
  color: white !important; /* ✅ Keep text visible on hover */
}

/*About me section*/

.about-me-container {
  padding: 40px;
  text-align: center;
}

.education-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.education-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 30%;
  max-width: 30%;
  box-shadow: 0 0 15px rgba(66, 118, 209, 0.1);
  color: rgb(66, 118, 209);
  font-family: "Inter", sans-serif;
  text-align: center;
  transition: transform 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  background-color: rgba(66, 118, 209, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 32px;
  height: auto;
}

.education-card.profile-card {
  background-color: transparent; /* Or keep white if you prefer */
  box-shadow: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.education-card.profile-card img {
  width: 25vw; /* or whatever you prefer */
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(66, 118, 209, 0.3);
  box-shadow: 0 0 12px rgba(66, 118, 209, 0.1);
  background: none; /* ✨ Remove background */
}
.education-card.education-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  max-width: 30%;
  margin: auto;
}

.education-card.education-image img {
  width: 100%; /* or whatever looks good */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.contact-section {
  text-align: center;
  padding: 60px 20px;
  background-color: rgb(243, 245, 251);
  color: rgb(66, 118, 209);
  font-family: "Inter", sans-serif;
  margin-top: 60px;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
}

.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(25%) sepia(88%) saturate(669%)
    hue-rotate(191deg) brightness(92%) contrast(85%);
}

.social-links img:hover {
  transform: scale(1.2);
}

.email-text a {
  color: rgb(66, 118, 209);
  text-decoration: underline;
  font-weight: bold;
}

/*REGISTER / LOGIN */

/* Override previous green look */
input[type="text"],
input[type="email"],
input[type="password"] {
  background-color: rgb(245, 247, 255);
  color: #264ae0;
  border: 2px solid #264ae0;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  width: 100%;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #4780dc;
  box-shadow: 0 0 8px rgba(66, 118, 209, 0.3);
}

input[type="submit"],
button[type="submit"],
button.register-button {
  background-color: #264ae0;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  width: 100%;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(38, 74, 224, 0.2);
}

input[type="submit"]:hover,
button[type="submit"]:hover,
button.register-button:hover {
  background-color: #1d3bd0;
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(38, 74, 224, 0.4);
}

.register-form-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(66, 118, 209, 0.1);
  max-width: 400px;
  width: 90%;
}

.register-container {
  background-color: rgb(239, 242, 247);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: "Inter", sans-serif;
}

.register-form-h1 {
  color: #264ae0;
  text-align: center;
  margin-bottom: 1rem;
}

.register-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #264ae0;
}

.register-footer a {
  color: #4780dc;
  text-decoration: none;
  font-weight: 600;
}

.register-footer a:hover {
  text-decoration: underline;
}

/*WELCOME*/

.welcome-container {
  background-color: rgb(245, 245, 247);
}

body.welcome-container {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

body.welcome-container .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1000;
  box-sizing: border-box;
  background-color: rgb(243, 245, 251);
}

body.welcome-container .navbar a {
  color: rgb(66, 118, 209);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1rem;
  font-weight: bold;
}

body.welcome-container .navbar a:hover {
  text-decoration: underline;
}

.welcome-stats {
  height: 100vh; /* full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
  font-family: "Inter", sans-serif;
  color: rgb(88, 141, 234); /* optional styling */
}

.tetris-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: rgb(22, 22, 22);
  color: #58de58;
  font-family: "VT323", monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

.tetris-section a {
  color: #58de58;
}
.tetris-section a:hover {
  color: #58de58;
  text-shadow: 0 0 8px #00ff00; /* offset-x | offset-y | blur-radius | color */
  transition: text-shadow 0.3s ease-in;
}

/*TETRIS STYLES*/

.tetris-board {
  border: 2px solid lime;
  display: flex;
  flex-direction: column;
}

.tetris-row {
  display: flex;
}

.tetris-cell {
  width: 20px;
  height: 20px;
  border: 1px solid #528643;
  background-color: #000;
}

.filled {
  background-color: #00ff00;
}
.tetromino-i {
  background-color: cyan;
}
.tetromino-o {
  background-color: yellow;
}
.tetromino-t {
  background-color: purple;
}
.tetromino-s {
  background-color: limegreen;
}
.tetromino-z {
  background-color: red;
}
.tetromino-j {
  background-color: blue;
}
.tetromino-l {
  background-color: orange;
}

.game-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.game-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center it */
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  color: lime;
}

.sidebar button {
  background-color: #00ff00;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: "VT323", monospace;
  font-size: 1rem;
  box-shadow: 0 0 5px #00ff00;
  transition: background-color 0.2s;
  height: 50px;
  margin-top: 150vh;
}

.sidebar button:hover {
  background-color: #00cc00;
}

.red {
  background-color: red;
}
.blue {
  background-color: blue;
}
.green {
  background-color: limegreen;
}
.cyan {
  background-color: cyan;
}
.yellow {
  background-color: yellow;
}
.purple {
  background-color: purple;
}
.orange {
  background-color: orange;
}

.tetris-screen {
  display: grid;
  grid-template-columns: 1fr 250px 1fr; /* symmetric sides */
  height: 100vh;
  width: 100vw;
  background-color: rgb(22, 22, 22);
}

.board-and-title {
  grid-column: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
}
.tetris-title {
  color: #5cdc5c;
  font-family: "VT323", monospace;
}
.score-display {
  color: #5cdc5c;
  font-family: "VT323", monospace;
  padding-bottom: 20px;
}
.tetris-cell.small {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: transparent; /* Transparent if not filled */
  border: none; /* No border unless filled */
}

.tetris-cell.small.filled {
  border: 1px solid #0f0;
  background-color: currentColor;
}

.next-piece {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 160px;
  height: 60px;
  padding: 5px;
  margin-top: -50vh;
}

.next-piece h3 {
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  color: #4ef44e;
  margin: 0;
  text-shadow: 0 0 5px rgb(68, 192, 68);
}

.next-piece-grid {
  display: grid;
  grid-template-columns: repeat(4, 15px);
  grid-template-rows: repeat(4, 15px);
  margin-bottom: -20px;
  position: relative;
}

/* Only move the I-piece cells */
.tetris-cell.small.i-piece-cell {
  transform: translateY(-4px);
}

.left-sidebar {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
}

.right-sidebar {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
}

/* Instruction and Start Button Wrapper */
.instructions-and-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.5s ease;
}

.instructions-and-button.hidden {
  display: none;
}
.hiddenbutton.hidden {
  display: none;
}

/* Instructions List */
.instructions-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 5px 15px;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  color: #4ef44e;
  text-shadow: 0 0 5px rgb(68, 192, 68);
  margin-bottom: 2rem;
}

/* Start Button */
.start-button {
  padding: 12px 24px;
  font-size: 1.2rem;
  font-family: "VT323", monospace;
  background-color: #00ff00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: black;
  text-shadow: 0 0 2px #000;
  box-shadow: 0 0 10px #00ff00;
  transition: opacity 0.5s ease;
  opacity: 1;
  visibility: visible;
}

.start-button:hover {
  background-color: #1aff1a;
}

.start-button.hidden {
  opacity: 0;
  visibility: hidden;
}

.hold-piece {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 160px;
  height: 60px;
  padding: 5px;
  margin-top: -50vh;
  color: rgb(93, 233, 93);
}
.next-piece {
  color: rgb(93, 233, 93);
}

.hold-piece h3 {
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  color: #4ef44e;
  margin: 0;
  text-shadow: 0 0 5px rgb(68, 192, 68);
}

.hold-piece-grid {
  display: grid;
  grid-template-columns: repeat(4, 15px);
  grid-template-rows: repeat(4, 15px);
  margin-bottom: -20px;
  position: relative;
}

.tetris-cell.small.i-piece-cell-hold {
  transform: translateY(-10px);
}

.ghost-piece {
  opacity: 0.3;
}

.game-over-message {
  font-family: "VT323", monospace;
  font-size: 2rem;
  text-shadow: 0 0 10px red;
  text-align: center;
  margin-top: -15vh;
}

.scoreboard {
  color: #4ef44e;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgb(68, 192, 68);
  padding: 1rem;
}

.scoreboard h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.leaderboard-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.leaderboard-list li {
  margin-bottom: 0.2rem;
}

.logged-in-user {
  color: #4ef44e;
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #00ff00;
  margin-bottom: 1rem;
}

.tetris-screen a,
.tetris-screen a:link,
.tetris-screen a:visited,
.tetris-screen a:active {
  color: #44c044 !important;
  text-shadow: 0 0 8px #94f994;
  text-decoration: none !important;
  background: none !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.tetris-screen a:hover,
.tetris-screen a:focus {
  text-shadow: 0 0 10px #87dc87, 0 0 20px #85f485;
  outline: none;
}

/*STOCK MARKET */

.stock-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 20px;
}
.stock-filter-input {
  padding: 0.6rem 1rem;
  border: 2px solid #4a90e2;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 400px;
  background-color: #f9f9f9;
  color: #333;
}

.stock-filter-input::placeholder {
  color: #aaa;
}

.stock-filter-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  background-color: #fff;
}

.stockmarket-section {
  background-color: rgb(251, 248, 244);
  color: rgb(23, 24, 23);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.stock-filter-button {
  padding: 0.6rem 1.2rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.stock-filter-button:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.4);
}

.stock-filter-button:active {
  background-color: #004494;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stock-filter-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.stockmarket-section a {
  color: rgb(23, 24, 23);
  text-decoration: none;
}
.stockmarket-section a:hover {
}
body.stock-page-scroll {
  overflow: visible !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  text-align: unset !important;
  flex-direction: unset !important;
  height: auto !important;
  min-height: 100vh;
}

.stock-market-site-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  background-color: rgb(251, 248, 244);
}
.stock-market-container {
  width: 100%;
  height: 100%;
  gap: 10px;
}
.stock-market-actions-container {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-direction: row;
}
.stock-market-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2rem;
  font-size: 1.5rem;
  background-color: rgb(251, 248, 244);
  color: rgb(23, 24, 23);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stock-market-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.stock-market-btn .available-stocks-btn-icon {
  width: 20vw;
  height: 20vh;
  object-fit: contain;
}

.stock-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.stock-table th,
.stock-table td {
  padding: 0.5rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stock-market-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgb(23, 24, 23);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.stock-market-navbar a {
  margin-left: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: rgb(250, 250, 248);
}

.stock-market-navbar a:hover {
  text-decoration: underline;
}

.stock-market-navbar-logo {
  font-weight: bold;
  color: rgb(252, 252, 250);
}

.stock-market-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5rem;
  flex-direction: column;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1.2rem 2rem;
  width: 100%;
  height: 60vh;
  max-width: 500px;

  background-color: rgb(251, 248, 244);
  color: rgb(23, 24, 23);
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid rgb(23, 24, 23);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.stock-market-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  background-color: #55a6e8;
}

.back-to-stock-market-btn {
  color: #0e0d0d;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  padding: 20px;
}

th.sortable {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

th.sortable:hover {
  background-color: #f0f0f0; /* optional: subtle highlight on hover */
}

.history-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  background-color: #fff;
  color: #000;
  font-family: system-ui, sans-serif;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.portfolio-header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.back-link {
  font-size: 1rem;
  text-decoration: underline;
  color: #000;
  transition: opacity 0.2s ease-in-out;
}

.back-link:hover {
  opacity: 0.6;
}

.portfolio-summary {
  margin-bottom: 1.5rem;
}

.portfolio-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-table-container {
  overflow-x: auto;
  max-height: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
}

.portfolio-table thead {
  background-color: #000;
  color: white;
  position: sticky;
  top: 0;
}

.portfolio-table th,
.portfolio-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.portfolio-table tbody tr:hover {
  background-color: #f6f6f6;
}

.no-holdings {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}

/*CHAT ROOM*/

.chatroom-section-stuff-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.chat-container {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
}

.chat-log {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.chat-input {
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex-grow: 1;
  padding: 0.5rem;
  background: #222;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
}

.chat-input button {
  background: #444;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.chat-room-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-room-container-squared {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

ul {
  text-decoration: none;
  list-style-type: none;
}
/* MISC */

h2 {
  text-align: center;
  margin: 2rem auto;
}

body.home-page a:not(.primary-button),
body.home-page a:link:not(.primary-button),
body.home-page a:visited:not(.primary-button),
body.home-page a:active:not(.primary-button) {
  color: rgb(67, 117, 226) !important;
  text-shadow: none !important;
}

body.home-page a:hover:not(.primary-button),
body.home-page a:focus:not(.primary-button) {
  color: rgb(67, 117, 226) !important;
  text-shadow: none !important;
}
.container {
  max-width: 100% !important;
  padding: 0 !important;
}
