/* EUR deposit options (/dashboard/deposit/eur/). Builds on /css/dash.css. */

/* Page head: the coin, the title and the balance */
.ed-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ed-title > img { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.ed-bal { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.ed-bal .amt { font-size: 19px; color: var(--text); }
.ed-bal .amt .cur { font-size: 13px; }

/* The options */
.ycp .ed-kick { margin: 0 0 10px 2px; }
.ed-opts { display: flex; flex-direction: column; gap: 12px; }
.ycp .ed-opt { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); min-width: 0; transition: border-color .15s, background .15s; }
.ycp a.ed-opt[href]:hover { border-color: #3A4257; background: var(--surface-2); }
.ed-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ed-ic.pp { background: #fff; }
.ed-ic.crypto { color: #C9B8FF; background: rgba(155, 123, 255, .14); }
.ed-ic.bank { color: #8FC2FF; background: rgba(110, 168, 255, .13); }
.ed-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ed-t > b { font-size: 16px; font-weight: 600; color: var(--text); }
.ed-t > span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ycp .ed-t > .ed-line { margin-top: 6px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.ed-eg { font-weight: 400; color: var(--muted); }
.ed-eg::before { content: "·"; margin-right: 8px; color: var(--muted-2); }
.ed-go { flex: none; color: var(--muted-2); }

/* Switched off right now (eur.js): greyed, not a link, "Unavailable right now" in place of the fee. */
.ycp .ed-opt.unavailable { cursor: not-allowed; background: rgba(21, 25, 34, .6); }
.ed-opt.unavailable .ed-ic { opacity: .45; filter: grayscale(1); }
.ed-opt.unavailable .ed-t > b { color: var(--muted); }
.ed-opt.unavailable .ed-go { display: none; }
.ycp .ed-opt.unavailable .ed-line { height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; color: var(--hold); background: rgba(245, 185, 74, .12); }

@media (max-width: 750px) {
  .ed-title { flex-direction: column; gap: 12px; }
  .ed-bal { align-items: center; width: 100%; flex-direction: row; justify-content: space-between; padding: 12px 16px; }
  .ed-opts { gap: 10px; }
  .ycp .ed-opt { gap: 14px; padding: 15px 14px 15px 16px; border-radius: 16px; }
  .ed-ic { width: 44px; height: 44px; border-radius: 13px; }
  .ed-t > b { font-size: 15px; }
  .ed-t > span { font-size: 12.5px; }
  .ycp .ed-t > .ed-line { display: flex; font-size: 12.5px; row-gap: 2px; }
  .ed-eg { flex-basis: 100%; }
  .ed-eg::before { content: none; }
  .ycp .ed-opt.unavailable .ed-line { display: inline-flex; }
}
