.request-row {
  display: flex;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  margin: 28px 0;
}

.request-row .request-left .req-top {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--fg);
}

.request-block {
  flex: 1 1 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.request-left { min-width: 360px; }
.request-right { min-width: 360px; }

.req-label { font-size: 14px; color: var(--fg); font-weight: 600; }
.req-required { color: #0FAE96; margin-left: 6px; font-weight: 700; }

.req-input, .req-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--fg);
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}

.request-left .req-input {
  height: 50px;
  padding: 10px 12px;
  line-height: 1.2;
}

.req-textarea { resize: vertical; font-size: 15px; padding: 12px; }

.req-input::placeholder, .req-textarea::placeholder { color: rgba(236,241,240,0.45); }

.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.req-col { display:flex; flex-direction:column; gap:8px; }

.req-currency-wrap { display:flex; gap:10px; align-items:center; position: relative; }

.req-currency-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg);
  font-weight: 700;
  cursor: pointer;
  font-size: 18px;
  position: relative;
}
.req-currency-select.open {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.req-currency-arrow {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
  display:inline-block;
}
.req-currency-select.open .req-currency-arrow { transform: rotate(180deg); }

.req-amount-wrap { margin-top: 6px; }

.req-submit {
  margin-top: 8px;
  padding: 14px 22px; 
  border-radius: 10px; 
  background: var(--fg);
  color: var(--bg);
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 180ms ease, transform 120ms ease;
}
.req-submit:hover {
  background: #0FAE96; 
  color: #fff;
  transform: translateY(-2px);
}

.req-info-list { margin: 8px 0 0 16px; padding: 0; list-style: disc; color: rgba(236,241,240,0.9); }

.req-note { font-size: 13px; color: rgba(236,241,240,0.6); margin-top: 8px; }

.req-dropdown {
  position: absolute;
  z-index: 9999;
  background: rgba(17,1,30,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  max-height: 220px;
  overflow: auto;
  min-width: 140px;
}
.req-dropdown .req-dropdown-item {
  display:block;
  width:100%;
  text-align:left;
  padding:8px 10px;
  border-radius:8px;
  background: transparent;
  color: var(--fg);
  border: none;
  cursor:pointer;
}
.req-dropdown .req-dropdown-item:hover { background: rgba(236,241,240,0.06); }

.req-notification {
  font-weight: 700; 
  font-size: 16px;
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: rgba(17,1,30,0.98);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
  pointer-events: none;
  min-width: 220px;
}
.req-notification-line2 { display:flex; align-items:center; gap:10px; font-weight: 700; }
.req-notification-check { width: 24px; height: 24px; display:inline-block; }

.req-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.req-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
}
.req-modal {
  width: 360px;
  max-width: calc(100% - 40px);
  background: rgba(17,1,30,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  border-radius: 12px;
  color: var(--fg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  text-align: left;
  font-weight: 700; 
}
.req-modal p { margin: 0 0 8px 0; font-size: 16px; }
.req-modal ul { margin: 6px 0 12px 18px; padding: 0; font-weight: 600; }
.req-modal .req-modal-close {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-weight: 700;
}


@media (max-width: 900px) {
  :root { --req-stack-padding: 12px; }

  .request-row {
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .request-block,
  .request-left,
  .request-right {
    width: 100%;
    max-width: 100%;
    min-width: 0; 
    box-sizing: border-box;
  }

  .req-row { grid-template-columns: 1fr; gap: 12px; }
}

.req-dropdown::-webkit-scrollbar { width: 12px; }
.req-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 8px; }

.req-textarea {
  scrollbar-width: thin;    
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.req-textarea::-webkit-scrollbar { width: 8px; height: 8px; }
.req-textarea::-webkit-scrollbar-track { background: transparent; }
.req-textarea::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.req-textarea::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

.req-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35); 
  backdrop-filter: blur(6px); 
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
}

.req-modal {
  width: 360px;
  max-width: calc(100% - 40px);
  background: rgba(17,1,30,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  border-radius: 12px;
  color: var(--fg);
  box-shadow: 0 16px 50px rgba(0,0,0,0.6);
  text-align: left;
  font-weight: 700;
}

.req-modal-close {
  display: inline-block;
  width: 100%; 
  box-sizing: border-box;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg,#0FAE96 0%, #0C9B84 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(15,174,150,0.18);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.req-modal-close:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 16px 36px rgba(15,174,150,0.24); 
}

.req-modal p { margin: 0 0 8px 0; font-size: 16px; line-height: 1.25; }