header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(90deg, #f7faff 60%, #e3edfa 100%);
  box-shadow: 0 4px 18px #e3edfa, 0 1.5px 4px #1976f911;
  border-radius: 0 0 18px 18px;
  padding: 18px 38px 18px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2.1rem;
  font-weight: 800;
  color: #1976f9;
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.logo svg {
  width: 38px;
  height: 38px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex: 1;
}
nav a {
  color: #222;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.18s, border 0.18s;
}
nav a:hover {
  color: #1976f9;
  border-bottom: 2.5px solid #e3edfa;
}
nav a.active {
  color: #1976f9;
  border-bottom: 2.5px solid #1976f9;
  font-weight: 700;
}
body {
  padding-top: 110px;
}
main {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45,127,249,0.07);
  padding: 32px 28px 40px 28px;
}
.borho-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.search-container {
  position: relative;
  flex: 1;
}

#search-borho {
  width: 100%;
  box-sizing: border-box;
  padding-right: 35px; /* Make space for the reset button */
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  font-size: 1rem;
  background: #f3f6fa;
  outline: none;
  transition: border 0.2s;
}

#search-reset-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  padding: 0 5px;
}
#search-reset-btn:hover {
  color: #555;
}
#search-reset-btn.hidden {
  display: none;
}

#search-borho:focus {
  border: 1.5px solid #2d7ff9;
}
#filter-borho {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
#add-bor-btn {
  background: #2d7ff9;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,127,249,0.10);
  transition: background 0.2s;
}
#add-bor-btn:hover {
  background: #1a5fd0;
}
#borho-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(45,127,249,0.13);
  padding: 32px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  width: 370px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-content h2 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  color: #2d7ff9;
}
#add-bor-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 1rem;
}
#add-bor-form input[type="text"],
#add-bor-form input[type="number"] {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
#add-bor-form input[type="file"] {
  margin-top: 4px;
}
.modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
button.primary {
  background: #2d7ff9;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
button.primary:hover {
  background: #1a5fd0;
}
#close-modal {
  background: #eee;
  color: #444;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
#close-modal:hover {
  background: #e0e4ea;
}
.bor-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f7faff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45,127,249,0.06);
  padding: 14px 18px;
  transition: box-shadow 0.2s;
}
.bor-card:hover {
  box-shadow: 0 4px 18px rgba(45,127,249,0.13);
}
.bor-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #e0e4ea;
}
.bor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bor-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d7ff9;
}
.bor-meta {
  font-size: 0.98rem;
  color: #444;
}
.bor-card-modern {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45,127,249,0.10);
  padding: 18px 24px;
  gap: 24px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s;
}
.bor-card-modern:hover {
  box-shadow: 0 8px 32px rgba(45,127,249,0.18);
}
.bor-img-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  background: #f3f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bor-img-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.bor-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bor-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.bor-name-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a237e;
  letter-spacing: 0.5px;
}
.bor-id {
  background-color: #eef2f9;
  color: #3949ab;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.bor-row-info {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 2px;
  display: flex;
  gap: 12px;
}
.bor-cost {
  color: #e53935;
  font-weight: 600;
}
.bor-amount {
  color: #3949ab;
  font-weight: 600;
}
.bor-sold {
  color: #00897b;
  font-weight: 600;
}
.sell-input-modern {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1.5px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
  width: 80px;
  outline: none;
  transition: border 0.2s;
}
.sell-input-modern:focus {
  border: 1.5px solid #2d7ff9;
}
.sell-btn-modern {
  background: #2d7ff9;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.sell-btn-modern:hover {
  background: #1a5fd0;
}
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 90vw;
  background: #2d7ff9;
  color: #fff;
  font-size: 1.08rem;
  padding: 14px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45,127,249,0.13);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.4s, bottom 0.4s;
}
.toast.show {
  opacity: 1;
  bottom: 56px;
  pointer-events: auto;
}
.section-title {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: #2d7ff9;
  margin-bottom: 18px;
  font-weight: 600;
}
.calc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-bottom: 24px;
}
.calc-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  min-width: 220px;
  flex: 1 1 220px;
}
.calc-form input[type="number"] {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7faff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45,127,249,0.06);
  padding: 18px 24px;
  font-size: 1.15rem;
  color: #00897b;
  font-weight: 600;
  margin-top: 10px;
}
.secondary-btn {
  background: #eef2f9;
  color: #3949ab;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.secondary-btn:hover {
  background: #e0e4ea;
}
#profit-sum {
  color: #2d7ff9;
  font-weight: 700;
}
#profit-percent {
  color: #e53935;
  font-weight: 700;
}
.calc-form select {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}
.chart-container {
  grid-row: 1;
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #f7faff 60%, #e3edfa 100%);
  padding: 8px 8px 4px 8px;
  border-radius: 18px;
  min-height: 140px;
  min-width: 200px;
  box-shadow: 0 6px 32px rgba(45,127,249,0.10);
  margin-bottom: 0;
  margin-right: 0;
}
.chart-container h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #3949ab;
  text-align: center;
}
.chart-total {
  font-size: 0.9em;
  font-weight: 500;
  color: #2d7ff9;
}
.balance-block {
  grid-row: 1;
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #f7faff 60%, #e3edfa 100%);
  padding: 8px 8px 4px 8px;
  border-radius: 18px;
  min-height: 140px;
  min-width: 200px;
  box-shadow: 0 6px 32px rgba(45,127,249,0.10);
  margin-bottom: 0;
  margin-right: 0;
}
.balance-label {
  font-size: 1rem;
  color: #5c6bc0;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.balance-amount {
  color: #2d7ff9;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-right: 8px;
}
.balance-currency {
  font-size: 1.2rem;
  color: #2d7ff9;
  font-weight: 600;
}
.balance-chart-wrap {
  width: 100%;
  margin-top: 18px;
}
.balance-chart-title {
  font-size: 1rem;
  color: #2d7ff9;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
#profile-section {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45,127,249,0.07);
  padding: 32px 28px 40px 28px;
}
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.profile-site {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d7ff9;
  letter-spacing: 1px;
}
.profile-check-btn {
  background: none;
  border: none;
  padding: 0 0 0 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(67,160,71,0.10);
  outline: none;
}
.profile-check-btn:hover {
  box-shadow: 0 4px 16px rgba(67,160,71,0.18);
  transform: scale(1.08);
}
.profile-balance-block {
  background: linear-gradient(135deg, #f7faff 60%, #e3edfa 100%);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(45,127,249,0.06);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}
.profile-balance-label {
  font-size: 1.08rem;
  color: #5c6bc0;
  font-weight: 400;
  margin-bottom: 12px;
}
.profile-balance-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.profile-balance-amount {
  color: #2d7ff9;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.profile-balance-currency {
  font-size: 1.2rem;
  color: #2d7ff9;
  font-weight: 600;
}
.primary {
  background: #2d7ff9;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.primary:hover {
  background: #1a5fd0;
}
.withdraw-users, .receive-users {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.withdraw-user, .receive-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.withdraw-name, .receive-name {
  font-weight: 600;
  color: #2d7ff9;
  min-width: 90px;
}
.withdraw-user input[type="number"] {
  width: 80px;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
.receive-status {
  font-size: 1rem;
  color: #e53935;
  font-weight: 500;
}
.receive-confirm-btn {
  background: #43a047;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s;
}
.receive-confirm-btn:hover {
  background: #2e7d32;
}
.receive-history {
  margin-top: 18px;
}
.receive-history h4 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: #3949ab;
}
#receive-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.98rem;
  color: #444;
}
#auth-modal .modal-content {
  max-width: 340px;
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(45,127,249,0.13);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
#auth-modal label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  margin-bottom: 10px;
}
#auth-modal input[type="text"],
#auth-modal input[type="password"] {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #e0e4ea;
  background: #f3f6fa;
  font-size: 1rem;
}
#auth-modal h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  color: #2d7ff9;
  text-align: center;
} 
.profile-logout-btn {
  background: none;
  border: none;
  color: #e53935;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.profile-logout-btn:hover {
  background: #ffeaea;
} 
.profile-logout-btn-abs {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  transition: box-shadow 0.2s, transform 0.2s;
  z-index: 10;
}
.profile-logout-btn-abs svg {
  display: block;
}
.profile-logout-btn-abs:hover {
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  transform: scale(1.08);
} 
.auth-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #f7faff 60%, #e3edfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.auth-page-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(45,127,249,0.10);
  padding: 48px 36px 36px 36px;
  min-width: 340px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-site-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: #2d7ff9;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #e3edfa;
}
.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-title {
  color: #2d7ff9;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.auth-form label {
  font-size: 1rem;
  color: #5c6bc0;
  font-weight: 500;
}
.auth-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #e3edfa;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.auth-form input:focus {
  border: 1.5px solid #2d7ff9;
}
.auth-btn {
  margin-top: 10px;
  background: linear-gradient(90deg, #2d7ff9 60%, #00bcd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,127,249,0.10);
  transition: background 0.2s;
}
.auth-btn:hover {
  background: linear-gradient(90deg, #1976d2 60%, #0097a7 100%);
}
.auth-user-hint {
  min-height: 22px;
  font-size: 0.98rem;
  color: #2d7ff9;
  margin-bottom: 2px;
  margin-top: -6px;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}
.auth-user-hint.error {
  color: #e53935;
} 
#receive-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(45,127,249,0.10);
  padding: 36px 32px 28px 32px;
  min-width: 340px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#receive-modal h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
}
.receive-users {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
}
.receive-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 8px 0;
}
.receive-name {
  min-width: 100px;
  color: #1976d2;
  font-weight: 700;
}
.receive-status {
  margin-left: 8px;
  font-weight: 600;
  font-size: 1rem;
}
.receive-status {
  color: #e53935;
}
.receive-status.accepted {
  color: #43a047;
}
.receive-confirm-btn {
  margin-left: 10px;
  background: #e8f5e9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(67,160,71,0.10);
}
.receive-confirm-btn:hover {
  box-shadow: 0 4px 16px rgba(67,160,71,0.18);
  transform: scale(1.08);
}
.receive-history {
  width: 100%;
  margin-top: 18px;
  max-height: 320px;
  overflow-y: auto;
}
.receive-history h4 {
  color: #2d7ff9;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
}
#receive-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}
/* Custom scrollbar for history */
#receive-history-list::-webkit-scrollbar {
  width: 7px;
  background: #e3edfa;
  border-radius: 8px;
}
#receive-history-list::-webkit-scrollbar-thumb {
  background: #b3c6e6;
  border-radius: 8px;
}
#receive-history-list li {
  background: #f7faff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(45,127,249,0.06);
  border-left: 4px solid #2d7ff9;
}
#receive-history-list li .history-date {
  color: #90a4ae;
  font-size: 0.98rem;
  min-width: 80px;
  font-weight: 600;
}
#receive-history-list li .history-user {
  color: #1976d2;
  font-weight: 700;
  min-width: 90px;
}
#receive-history-list li .history-amount {
  color: #222;
  font-weight: 700;
  min-width: 80px;
}
#receive-history-list li .history-action {
  color: #43a047;
  font-weight: 700;
  margin-left: auto;
  font-size: 0.98rem;
  text-transform: capitalize;
} 
/* Override for withdraw-modal */
#withdraw-modal .modal-content,
.withdraw-modal-content {
  min-width: 380px;
  max-width: 98vw;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(45,127,249,0.13);
  padding: 44px 38px 32px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#withdraw-modal .modal-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
}
.withdraw-balance-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}
.withdraw-balance-label {
  font-size: 1.1rem;
  color: #5c6bc0;
  font-weight: 600;
}
.withdraw-balance-value {
  color: #2d7ff9;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-right: 6px;
}
.withdraw-balance-currency {
  font-size: 1.2rem;
  color: #2d7ff9;
  font-weight: 700;
}
.withdraw-users {
  width: 100%;
  margin-bottom: 18px;
}
.withdraw-user {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.withdraw-name {
  min-width: 110px;
  color: #1976d2;
  font-weight: 800;
}
.withdraw-user input[type="number"] {
  width: 120px;
  font-size: 1.15rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e3edfa;
  outline: none;
  transition: border 0.2s;
  font-weight: 700;
}
.withdraw-user input[type="number"]:focus {
  border: 1.5px solid #2d7ff9;
}
.modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}
#withdraw-send-btn.primary {
  font-size: 1.15rem;
  padding: 12px 32px;
  border-radius: 10px;
}
#withdraw-close-btn {
  font-size: 1.1rem;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1.5px solid #b3c6e6;
  background: #fff;
  color: #222;
  font-weight: 600;
  transition: background 0.2s, border 0.2s;
}
#withdraw-close-btn:hover {
  background: #e3edfa;
  border: 1.5px solid #2d7ff9;
} 
@media (max-width: 600px) {
  #withdraw-modal .modal-content,
  .withdraw-modal-content {
    min-width: 98vw;
    padding: 24px 6vw 18px 6vw;
  }
  .withdraw-balance-value {
    font-size: 1.3rem;
  }
  .withdraw-user input[type="number"] {
    width: 80px;
    font-size: 1rem;
  }
  #withdraw-send-btn.primary, #withdraw-close-btn {
    font-size: 1rem;
    padding: 10px 10vw;
  }
} 
.withdraw-percent-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2d7ff9;
  background: #e3edfa;
  border: none;
  border-radius: 8px;
  padding: 4px 14px 4px 8px;
  margin: 0 auto 10px auto;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,127,249,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.withdraw-percent-btn:hover {
  background: #d0e2fa;
  box-shadow: 0 4px 16px rgba(45,127,249,0.13);
}
.percent-modal-content {
  min-width: 260px;
  max-width: 90vw;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(45,127,249,0.13);
  padding: 28px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.percent-modal-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 14px;
  text-align: center;
}
.percent-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.percent-input-row input[type="number"] {
  width: 60px;
  font-size: 1.08rem;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1.5px solid #e3edfa;
  outline: none;
  transition: border 0.2s;
  font-weight: 700;
}
.percent-input-row input[type="number"]:focus {
  border: 1.5px solid #2d7ff9;
}
#percent-apply-btn.primary {
  font-size: 1.05rem;
  padding: 8px 24px;
  border-radius: 8px;
}
#percent-close-btn {
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 8px;
  border: 1.5px solid #b3c6e6;
  background: #fff;
  color: #222;
  font-weight: 600;
  transition: background 0.2s, border 0.2s;
}
#percent-close-btn:hover {
  background: #e3edfa;
  border: 1.5px solid #2d7ff9;
} 
.profile-requests-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #2d7ff9;
  background: #e3edfa;
  border: none;
  border-radius: 12px;
  padding: 9px 26px 9px 14px;
  margin-top: 18px;
  margin-bottom: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,127,249,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.profile-requests-btn:hover {
  background: #d0e2fa;
  box-shadow: 0 4px 16px rgba(45,127,249,0.13);
} 
.profit-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #f7faff 60%, #e3edfa 100%);
  padding: 8px 8px 4px 8px;
  border-radius: 18px;
  min-height: 140px;
  min-width: 200px;
  box-shadow: 0 6px 32px rgba(45,127,249,0.10);
  margin-bottom: 0;
  margin-right: 0;
} 
/* Profile Security Panel */
.profile-security-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 24px;
  margin-top: 24px;
  border: 2px solid #e3edfa;
  box-shadow: 0 8px 32px rgba(25, 118, 249, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}



.profile-security-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(25, 118, 249, 0.12);
  border-color: #1976f9;
}

.profile-security-panel h3 {
  color: #1976f9;
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
}

.profile-security-panel h3 svg {
  margin-right: 12px;
  filter: drop-shadow(0 2px 4px rgba(25, 118, 249, 0.2));
}

.profile-security-panel p {
  color: #37474f;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Responsive design for security panel */
@media (max-width: 768px) {
  .profile-security-panel {
    padding: 20px;
    margin-top: 20px;
    border-radius: 16px;
  }
  
  .profile-security-panel h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }
  
  .profile-security-panel p {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .profile-security-panel {
    padding: 18px;
    margin-top: 16px;
    border-radius: 14px;
  }
  
  .profile-security-panel h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .profile-security-panel p {
    font-size: 14px;
    line-height: 1.5;
  }
} 