/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --dark-color: #1f2937;
  --gray-color: #6b7280;
  --light-gray: #e5e7eb;
  --lighter-gray: #f3f4f6;
  --white-color: #ffffff;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --success-color: #10b981;
  --info-color: #3b82f6;
  --font-family: "Poppins", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.375rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-color);
  background-color: var(--lighter-gray);
  margin: 0;
  padding: 0;
  overflow-y: scroll; /* Prevent scrollbars from affecting layout */
}

.theInvestCon {
  margin: 0 auto;
  width: 95.6%;
  height: auto;
  min-height: 10px;
  /* border: 1px solid #f00; */
}

.buttonGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.databutton,
.databutton2 {
  flex: 1 1 280px;
  max-width: 320px;
  height: 60px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  line-height: 60px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.databutton {
  background-color: #28a745;
}

.databutton:hover {
  background-color: #218838;
  transform: translateY(-2px);
  color: #fff;
}

.databutton2 {
  background-color: #ff9800;
}

.databutton2:hover {
  background-color: #fb8c00;
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 600px) {
  .buttonGroup {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .databutton,
  .databutton2 {
    width: 100%;
    height: 60px !important;   /* ✅ Force smaller height */
    font-size: 16px !important;
    flex: none !important;     /* ✅ Remove default flex behavior */
    max-width: 100% !important;
  }
}




.TranBgmoneyBagHolder {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;     /* Add this */
  bottom: 0;    /* Add this */
  width: 100vw; /* Use viewport width instead of 100% */
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999; /* Make sure it's on top of all content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.TranBgmoneyBagHolder2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;     /* Add this */
  bottom: 0;    /* Add this */
  width: 100vw; /* Use viewport width instead of 100% */
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999; /* Make sure it's on top of all content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.inputHolder1 {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.amountTitle {
  width: 100%;
  height: auto;
  min-height: 35px;
  float: left;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0px 0px;
  background-color: #ccc;
  padding: 5px;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: bold;
}

.inputHolder2 {
  margin: 0;
  width: 100%;
  height: auto;
  padding: 10px;
  border: 1px solid #fff;
  background-color: #fff;
  font-size: 14px;
  text-transform: capitalize;
  color: #f00;
  font-weight: bold;
  border-radius: 0px 0px 5px 5px;
  float: left;
}

.investdata {
  width: 100%;
  height: 45px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 20px;
}

.inputHolder2 button {
  margin-top: 15px;
  width: 100%;
  height: 45px;
  background-color: #00C183;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inputHolder2 button:hover {
  background-color: #00A670;
}

.closeBtn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.closeBtn:hover {
  color: #f00;
}

.allErrors {
  width: 100%;
  padding: 12px 16px;
  margin: 15px 0;
  font-family: 'Segoe UI', Calibri, sans-serif;
  font-size: 14px;
  color: #b30000; /* deep red text */
  background-color: #ffe6e6; /* light red background */
  border: 1px solid #ff4d4d; /* soft red border */
  border-radius: 6px;
  text-transform: none; /* allow natural casing for better readability */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  line-height: 1.5;
  position: relative;
}

.allErrors::before {
  content: "⚠️ ";
  margin-right: 8px;
  font-size: 16px;
}

.success-message {
  width: 100%;
  padding: 12px 16px;
  margin: 15px 0;
  font-family: 'Segoe UI', Calibri, sans-serif;
  font-size: 14px;
  color: #2e7d32; /* deep green text */
  background-color: #e6f4ea; /* light green background */
  border: 1px solid #81c784; /* soft green border */
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  line-height: 1.5;
  position: relative;
}

.success-message::before {
  content: "✅ ";
  margin-right: 8px;
  font-size: 16px;
}

.error-message {
  background-color: #f44336;  /* Bright red */
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  margin: 10px 0;
  font-weight: bold;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 5px rgba(244, 67, 54, 0.4);
}

.transferBtn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #28a745; /* Green, can change if needed */
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.transferBtn:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .transferBtn {
    font-size: 13px;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
  }
}


@media (max-width: 600px) {
  .transferBtn {
    width: 100%;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 6px;
  }
}
/* ✅ New beautiful message box styles */
.success, .error {
  display: block;
  padding: 15px 20px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
}

.success {
  background: #e6ffed;
  color: #216c2a;
  border: 1px solid #b7e4c7;
}

.error {
  background: #ffe6e6;
  color: #a94442;
  border: 1px solid #f5b5b5;
}

.success::before,
.error::before {
  display: inline-block;
  margin-right: 8px;
  font-weight: bold;
}

.success::before {
  content: "✔️ ";
}

.error::before {
  content: "⚠️ ";
}

/* ✅ Responsive tweaks for mobile */
@media (max-width: 600px) {
  .success, .error {
    font-size: 14px;
    padding: 12px 15px;
  }
}

#passwordStrength {
  display: block;
  margin: 5px 0 15px 0; /* top, right/left, bottom */
  font-size: 13px;
  color: #666;
}

#settingsMessageBank {
  margin-top: 10px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
}

.settings-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border 0.3s ease;
}

.settings-form select:focus {
  border-color: #007bff;
  outline: none;
}



.form-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 15px; /* adjust to fit your design */
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

