.green-dot-active {
  width: 12px;
  /* Slightly larger for better visibility */
  height: 12px;
  background-color: #28a745;
  /* Elegant green shade */
  border: 2px solid #d4edda;
  /* Subtle border to add depth */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
  /* Soft glow for elegance */
  animation: pulse-green 1.5s infinite;
  /* Pulsing effect */
}

.red-dot-active {
  width: 12px;
  height: 12px;
  background-color: #dc3545;
  /* Elegant red shade */
  border: 2px solid #f8d7da;
  /* Subtle border to add depth */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
  /* Soft glow for elegance */
  animation: pulse-red 1.5s infinite;
  /* Pulsing effect */
}

/* Animation for green dot */
@keyframes pulse-green {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.7);
  }
}

/* Animation for red dot */
@keyframes pulse-red {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(220, 53, 69, 0.7);
  }
}

/* siadbar
----------------------------------------------- */
.scroll-container {
  max-height: calc(100vh - 100px);
  /* Adjust for your layout */
  overflow-y: auto;
  scrollbar-width: thin;
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* membure name 
----------------------------------------------- */
.username-name .name-title,
.ref-name .name-title {
  font-weight: bold;
  /* Make the title bold */
  font-size: calc(100% + 2px);
  /* Increase font size by 2px (~2-3%) */
  color: #555;
  /* Darker color for the title */
  margin-right: 5px;
  /* Optional: space between title and name */
}

.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}


/* hidden by default */
.sidebar {
  position: fixed;
  top: 70px;
  /* below header (adjust to your header height) */
  left: -250px;
  /* off-screen */
  width: 250px;
  height: calc(100% - 70px);
  background: #fff;
  transition: left 0.3s ease-in-out;
  z-index: 1050;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: none;
}

/* visible when open */
.sidebar.open {
  left: 0;
  display: block;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hover-border {
  transition: border-bottom 0.3s ease;
}

.hover-border:hover {
  border-bottom: 3px solid #0d6efd;
  /* Bootstrap primary color */
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ManagePassword Custom Styles */
.mp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.15);
  border-top: 5px solid #ffbe1d;
}

.mp-title {
  font-weight: 700;
  color: #000;
}

.mp-label {
  font-weight: 600;
  color: #000;
}

.mp-input {
  border: 2px solid #ffbe1d;
  border-radius: 8px;
  padding: 10px;
}

.mp-input:focus {
  border-color: #000 !important;
  box-shadow: 0 0 0 0.15rem rgba(255,190,29, 0.4);
}

.mp-eye-btn {
  color: #000;
  font-size: 20px;
}

.mp-submit {
  background: #000;
  color: #ffbe1d;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  border: none;
}

.mp-submit:hover {
  background: #ffbe1d;
  color: #000;
}

/* Manual Operation Styles */
.mo-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  border-top: 5px solid #ffbe1d;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.mo-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.mo-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.mo-sub {
  font-size: 14px;
  color: #777;
}

.mo-label {
  font-weight: 600;
  color: #000;
  font-size: 16px;
}

/* Custom Toggle Switch */
.toggle-container {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.custom-toggle {
  display: none;
}

.toggle-label {
  position: absolute;
  cursor: pointer;
  background: #ccc;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  transition: 0.4s;
}

.toggle-label .toggle-circle {
  position: absolute;
  height: 24px;
  width: 24px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.4s;
}

.custom-toggle:checked + .toggle-label {
  background-color: #ffbe1d;
}

.custom-toggle:checked + .toggle-label .toggle-circle {
  transform: translateX(29px);
  background: #000;
}

/* Reason Textarea */
.mo-textarea {
  border-radius: 12px;
  background: #f8f8f8;
  padding: 10px;
  border: 2px solid #ddd;
  color: #000;
}

.mo-textarea:focus {
  border-color: #ffbe1d !important;
  box-shadow: 0 0 0 0.15rem rgba(255,190,29, 0.4);
}

/* Confirm Button */
.mo-btn {
  background: #000;
  color: #ffbe1d;
  padding: 10px 22px;
  font-size: 16px;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  transition: 0.3s ease;
}

.mo-btn:hover {
  background: #ffbe1d;
  color: #000;
}

.ftp-investment {
  line-height: 1.4;
}
