body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.header {
    background-color: #b31b1b; /* Deep red like Wells Fargo */
    color: #fff;
    padding: 20px;
    text-align: center;
}

.header a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

.content {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px #ccc;
    border-radius: 8px;
}

h1, h2 {
    color: #b31b1b;
}

form {
    margin-top: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #b31b1b;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #a01414;
}

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

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #eee;
}

.notifications {
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}
.notifications .bell {
  font-size: 24px;
  color: white;
}
.notifications .dot {
  height: 10px;
  width: 10px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  right: 0;
}
.dropdown {
  position: absolute;
  right: 0;
  background: white;
  color: black;
  border: 1px solid #ccc;
  width: 300px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.dropdown ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}
.dropdown ul li {
  padding: 8px 5px;
  border-bottom: 1px solid #eee;
}
.withdrawals .filter-buttons {
  margin-bottom: 10px;
  text-align: right;
}
.withdrawals .filter-buttons button {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  background: #b31b1b;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.withdrawals .filter-buttons button.active {
  background: #7f1414;
}
.withdrawal-notifications {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid green;
    margin-bottom: 20px;
}
.withdrawal-notifications ul {
    list-style: none;
    padding-left: 0;
}
.withdrawal-notifications li {
    margin: 5px 0;
}

.withdrawals-scroll {
  white-space: nowrap;
  overflow: hidden;
  animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.withdrawal-ticker {
  background: #fff5f5;
  color: #b31b1b;
  padding: 10px 20px;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}
.ticker-item {
  display: inline-block;
  margin-right: 50px;
  animation: slideFade 12s linear infinite;
}
@keyframes slideFade {
  0% { transform: translateX(100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(-100%); opacity: 0; }
}
.welcome-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f9f9f9;
  border: 2px solid #dcdcdc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  animation: fadeIn 0.8s ease-in-out;
}

.welcome-icon {
  font-size: 40px;
  background-color: #fff3e0;
  border-radius: 50%;
  padding: 10px;
  color: #e67e22;
  border: 2px solid #ffd8a8;
}

.welcome-text h2 {
  margin: 0;
  font-size: 22px;
  color: #2c3e50;
  font-weight: 600;
}

.welcome-text h2 span {
  color: #c0392b;
}

.welcome-text p {
  margin: 4px 0 0;
  color: #7f8c8d;
  font-size: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.profile-photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #b31b1b;
  margin-right: 20px;
}
.dark-mode {
  background: #121212 !important;
  color: #f0f0f0 !important;
}
.dark-mode header {
  background: #333 !important;
}
.dark-mode .card,
.dark-mode .mining-pad,
.dark-mode .dropdown,
.dark-mode table,
.dark-mode .withdrawals {
  background: #1e1e1e !important;
  color: #f0f0f0 !important;
}
.dark-toggle {
  margin-left: 15px;
  padding: 6px 12px;
  background: #444;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #b31b1b;
  margin-right: 15px;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
}

.profile-pic {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.welcome-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}.admin-nav {
    background: #ffffff;
    padding: 15px 30px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    justify-content: center;
    flex-wrap: wrap;
}

.admin-nav a {
    color: #b31b1b;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-nav a:hover {
    background: #f8d7da;
    color: #721c24;
}
.dashboard-header {
    background: #f5f5f5;
    padding: 40px 0;
    text-align: center;
}

.header-box {
    display: inline-block;
    background: white;
    padding: 30px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.header-box h1 {
    color: #b31b1b;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

.admin-nav {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-nav a {
    color: #b31b1b;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    background: #f8f8f8;
}

.admin-nav a:hover {
    background: #f1c5c5;
    color: #721c24;
}
.dashboard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.header-box {
    background: white;
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    max-width: 900px;
    width: 100%;
}

.header-box h1 {
    color: #b31b1b;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.admin-nav a {
    color: #b31b1b;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 6px;
    background: #f7f7f7;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.admin-nav a:hover {
    background: #ffe5e5;
    color: #721c24;
}
#chat-container {
  display: none;  /* hide chat box by default */
}
.brand-name {
  font-weight: bold;
  font-size: 1.8em;
  text-transform: uppercase;
  background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  animation: colorShift 5s linear infinite;
}

.glow {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes colorShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 5px red, 0 0 10px orange, 0 0 15px yellow;
  }
  50% {
    text-shadow: 0 0 15px green, 0 0 25px blue, 0 0 30px indigo;
  }
  100% {
    text-shadow: 0 0 5px violet, 0 0 10px red, 0 0 15px orange;
  }
}
.profile-background {
  position: relative;
  min-height: 100vh;
  background-color: #fff;
}

.profile-background::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;  /* adjust size */
  height: 300px; /* adjust size */
  background-image: url('assets/images/hyperinvestment-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1; /* faint watermark */
  transform: translate(-50%, -50%);
  pointer-events: none; /* click-through */
  z-index: 0;
}

.profile-content {
  position: relative;
  z-index: 1; /* above watermark */
}
body, html {
  height: 100%;
  margin: 0;
}

.profile-background {
  /* Use the Hyperinvestment logo as background */
  background-image: url('assets/images/hyperinvestment-logo.png');
  background-repeat: no-repeat;
  background-position: center center; /* center the logo */
  background-size: contain; /* fit logo inside the screen */
  background-attachment: fixed; /* stays fixed on scroll */
  background-color: #fff; /* fallback background color */
  min-height: 100vh; /* ensure full viewport height */
}
header {
  position: relative;
  z-index: 1;
  height: 80px; /* Ensure height is enough */
}

header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 120px;
  height: 50px;
  background-image: url('../assets/images/hyperinvestment-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}
/* Centered watermark styling */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.16;          /* very faint */
  pointer-events: none;   /* no interference with clicks */
  z-index: 9999;
  width: auto;            /* width is 50% of viewport width */
  max-width: auto;       /* max width cap */
  height: auto;           /* keep aspect ratio */
  user-select: none;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 220px;
  background: rgba(0, 0, 0, 0.75); /* transparent black */
  backdrop-filter: blur(10px); /* frosted effect */
  padding: 20px 10px;
  box-shadow: none; /* remove shadow */
  border: none;     /* remove border */
  transition: transform 0.3s ease;
  transform: translateX(-100%); /* hidden by default */
  z-index: 1000;
}

.sidebar.show {
  transform: translateX(0); /* show sidebar */
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100%;
  background-color: #b31b1b;
  padding-top: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 2000;
  color: white;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.sidebar h2 {
  margin: 0;
  font-size: 1.2em;
}

.sidebar ul {
  list-style: none;
  padding: 0 20px;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

.sidebar-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 26px;
  color: #b31b1b;
  cursor: pointer;
  z-index: 2100;
}

#closeSidebar {
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
.wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: #b31b1b;
  color: white;
  padding-top: 20px;
  padding-left: 10px;
}

.sidebar .sidebar-header {
  text-align: center;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  margin-bottom: 15px;
}

.sidebar .actions a {
  display: block;
  background: white;
  color: #b31b1b;
  padding: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.sidebar .actions a:hover {
  background: #f8e4e4;
}

.main-content {
  flex: 1;
  padding: 20px;
  background: #f5f5f5;
}
.sidebar-btn {
  display: block;
  padding: 10px 15px;
  margin: 8px 0;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.sidebar-btn:hover {
  background-color: #e0e0e0;
}

/* Optional: Custom color overrides for PIN and Password buttons */
.sidebar-btn.pin {
  background-color: #1565c0;
  color: white;
}

.sidebar-btn.password {
  background-color: #6a1b9a;
  color: white;
}
.dashboard-container::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background-image: url('assets/images/hyperinvestment-logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.03; /* Faint watermark effect */
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
body {
  background-image: url('assets/images/hyperinvestment-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 300px; /* Adjust size as needed */
  background-attachment: fixed; /* Keeps it fixed on scroll */
}
.sidebar-btn.logout {
  color: #b71c1c;
  background: linear-gradient(to right, #ffe0e0, #ffcfcf);
  font-weight: bold;
  border-left: 4px solid #e53935;
  transition: all 0.3s ease;
}

.sidebar-btn.logout:hover {
  background-color: #ffebee;
  color: #d32f2f;
  transform: translateX(3px);
}
.sidebar-btn {
  display: block;
  padding: 12px 20px;
  margin: 6px 0;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-btn:hover {
  background-color: #e0e0e0;
  color: #000;
  transform: translateX(5px);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.sidebar-btn.pin:hover {
  background-color: #fff3e0;
  color: #e65100;
}

.sidebar-btn.password:hover {
  background-color: #e8f0fe;
  color: #1a73e8;
}
.dark-toggle {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dark-toggle:hover {
  background-color: #ddd;
}
.sidebar {
    width: 220px;
    position: fixed;
    height: 100vh;
    background-color: #8c1515;
    padding: 20px;
    top: 0;
    left: 0;
    overflow-y: auto;
    color: white;
}
.sidebar h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}
.sidebar a {
    display: block;
    padding: 10px 0;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar a:hover {
    background-color: #b31b1b;
    padding-left: 10px;
    transition: 0.3s;
}
.container {
    margin-left: 240px;
    padding: 30px;
}




