/* =====================================================================
   Plataforma de estrategias — design tokens
   Source of truth: the purchased DiveSea dashboard UI kit (Figma file + 34 screens),
   measured at its 1440 px frame (1 px = 1 CSS px). Every page uses ONLY these variables.
   Values come from the decoded Figma file; where the screen image disagreed, the image won.
   ===================================================================== */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  /* ---------- Colour: ink (darks) ---------- */
  --ink: #141416;            /* primary dark: buttons, active nav, dark panels, focus borders */
  --ink-2: #1A202C;          /* dashboard headings, user name, table values */
  --ink-3: #23262F;          /* list names, Follow label, detail heading */
  --ink-4: #292B39;          /* product title, big bid value */
  --ink-auth: #323142;       /* auth titles, settings menu titles, light chat text */
  --ink-deep: #0F172A;       /* wallet chip amount */
  --ink-hover: #23262F;      /* hover of --ink surfaces (inferred) */
  --ink-press: #000000;      /* pressed --ink surfaces (inferred) */
  --ink-violet: #130F26;     /* "Edit Profile" button (profile card) */
  --ink-black: #010101;      /* profile name, detail captions */
  --glyph-eth: #323232;      /* currency glyph in the wallet chip */

  /* ---------- Colour: text greys ---------- */
  --text-muted: #718096;     /* inactive nav, secondary UI, dates */
  --text-slate: #64748B;     /* "By Alex", list sub-lines */
  --text-subtle: #777E90;    /* handles (@user) */
  --text-label: #94A3B8;     /* "Current bid" captions */
  --text-header: #93989A;    /* compact table headers, profile meta */
  --text-placeholder: #ACADB9; /* search placeholder, "View All" */
  --text-placeholder-auth: #C2C3CB; /* auth placeholders + empty-field icons */
  --text-field: #A0AEC0;     /* Manrope field placeholders */
  --text-faint: #AAAAAA;     /* auth footer */
  --text-subtitle: #CFCFD3;  /* auth subtitles */
  --text-dim: #6D6D6D;       /* copy on the dark auth panel */
  --text-grey: #888888;      /* product detail secondary text, likes */
  --text-grey-2: #8C8C8C;    /* product detail captions (4 nodes) */
  --text-note: #949494;      /* notification meta */
  --text-caption: #828282;   /* stat captions */
  --text-time: #918FB7;      /* chat timestamps */
  --text-tab-off: #D2D2D2;   /* inactive tab, faint meta */
  --text-chart: #C8C8C8;     /* chart day labels */
  --text-empty: rgba(172, 173, 185, 0.5); /* empty-state title ("Discover Anything") */
  --text-date: #9C9C9C;      /* bid history dates, carousel back arrow */
  --text-disabled: #ACACAC;  /* "+ add other" quiet option */
  --text-step: #A8A8A8;      /* identity step description */
  --text-hint: #B2B0B0;      /* hint inside the bid field */
  --text-option: rgba(19, 19, 19, 0.8); /* radio labels (#131313 at 80 %) */
  --text-search-outline: rgba(72, 72, 72, 0.35); /* placeholder of the outlined search */
  --text-violet: #5E52A9;    /* amount in history tables (11 nodes) */
  --text-gray-900: #111827;  /* section labels in onboarding forms */
  --text-light: #D4D4D4;     /* banner subtitle (used at 60 %) */
  --text-on-ink: #FFFFFF;
  --text-on-ink-soft: #F3F5F6; /* big auth button label */
  --text-on-ink-chat: #F5F6FA; /* dark chat bubble text */

  /* Accessible variants (same hue, >= 4.5:1 on their usual backgrounds; --text-dim-aa is for the dark panel).
     The application uses them by default (app.css); the kit page restores the exact kit values inside its specimens. */
  --text-muted-aa: #647287;
  --text-placeholder-aa: #6C6E81;
  --text-placeholder-auth-aa: #6C6E7E;
  --text-faint-aa: #747474;
  --text-label-aa: #617592;
  --text-tab-off-aa: #757575;
  --text-subtle-aa: #6B7183;
  --text-header-aa: #707678;
  --text-field-aa: #5D718C;
  --text-grey-aa: #727272;
  --text-note-aa: #737373;
  --text-caption-aa: #757575;
  --text-chart-aa: #757575;
  --text-date-aa: #747474;
  --text-step-aa: #757575;
  --text-hint-aa: #777474;
  --danger-aa: #E02828;
  --text-dim-aa: #808080;
  --success-aa: #0B8337;
  --success-online-aa: #178640;
  --success-sale-aa: #10854C;
  --text-time-aa: #716EA2;
  --text-search-outline-aa: #747474;
  --text-empty-aa: #707387;
  --warning-aa: #DA3600;
  --text-disabled-aa: #737373;

  /* ---------- Colour: surfaces ---------- */
  --white: #FFFFFF;
  --page: #FFFFFF;
  --on-ink-nav: #FEFEFE;     /* active menu label on ink */
  --sidebar: #F9F9F9;
  --fill-1: #F5F5F5;         /* top search, empty auth inputs */
  --fill-2: #F7F7F7;         /* wallet chip, settings fields */
  --fill-3: #F8F8F8;         /* NFT image well */
  --fill-4: #FAFAFA;         /* round icon buttons, user chip, selected rows */
  --fill-5: #FCFCFD;         /* carousel control, glass rows */
  --fill-panel: #FEFEFE;     /* notification panel */
  --fill-composer: #F4F2F2;  /* chat composer */
  --fill-bubble-in: rgba(172, 173, 185, 0.15); /* incoming chat bubble */
  --fill-unfollow: #E6E8EC;  /* Unfollow, notification icon tile */
  --fill-unfollow-hover: #DADDE3; /* hover of Unfollow (inferred) */
  --fill-ice: #F7FCFF;       /* pale blue tiles in onboarding mock-ups (25 nodes) */
  --fill-track: #DFDFDF;     /* chart bars (inactive) */
  --fill-well: #EFF4F6;      /* identity step icon well */
  --fill-timer: rgba(28, 29, 32, 0.35); /* countdown pill over images */

  /* ---------- Colour: lines ---------- */
  --line: #E2E8F0;           /* sidebar rule, dividers, outlined search */
  --line-2: #EDF2F7;         /* card hairline (1px inside) */
  --line-3: #EBE9E9;         /* table row rules */
  --line-4: #EBEBEB;         /* notification header rule */
  --line-5: #F3F3F3;         /* profile card rule, small icon buttons */
  --line-btn: #E6E8EC;       /* Follow / quiet buttons (2px) */
  --line-guide: #BDC0C3;     /* sub-navigation guide */
  --line-otp: #CBCBCB;       /* empty PIN underline */
  --line-strong: #141416;    /* focused / filled fields, outline chips */
  --line-chip: rgba(0, 72, 82, 0.35); /* status chip hairline */
  --fill-nav-hover: rgba(20, 20, 22, 0.04); /* sidebar item hover (inferred) */

  /* ---------- Colour: semantic ---------- */
  --success: #10C352;        /* positive values */
  --success-online: #22C55E; /* "online" */
  --success-sale: #14A760;   /* "Sale" label */
  --success-badge: #45B26B;  /* verified square */
  --danger: #E23333;         /* negative values, errors */
  --danger-dot: #FF4747;     /* unread dot */
  --dot-ring: #F2F6FF;       /* ring around the unread dot */
  --info: #007AFF;           /* verified tick */
  --warning: #FF784B;        /* warning chip */
  --violet: #6C5FBC;         /* wallet glow, panel shadow tint */
  --accent-send: #8E7BF0;
  --accent-receive: #2FB45E;
  --accent-invoice: #E9B300;
  --accent-more: #2F6BFF;
  --card-mc-red: #EB4D4B;    /* card network logo (illustration) */
  --card-mc-yellow: rgba(247, 168, 39, 0.9);
  --avatar-a: linear-gradient(135deg, #FFC56E 0%, #FF7E4D 100%);
  --avatar-b: linear-gradient(135deg, #A8C8F0 0%, #8A62E6 100%);
  --avatar-c: linear-gradient(135deg, #F6A8C8 0%, #E45C8B 100%);
  --avatar-d: linear-gradient(135deg, #8FD3C3 0%, #2F8F86 100%);

  /* ---------- Gradients & glass ---------- */
  --g-banner: linear-gradient(90deg, #141416 44%, rgba(20, 20, 22, 0.35) 81%);
  --g-banner-2: linear-gradient(90deg, #141416 44%, rgba(20, 20, 22, 0.30) 76%);
  --g-glass-row: linear-gradient(180deg, #FCFCFD 0%, rgba(252, 252, 253, 0.6) 100%);
  --scrim: rgba(239, 239, 239, 0.25);
  --scrim-dark: rgba(20, 20, 22, 0.40);

  /* ---------- Typography: families ---------- */
  --font-poppins: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-manrope: "Manrope", "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-outfit: "Outfit", "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-dmsans: "DM Sans", "Poppins", "Segoe UI", system-ui, sans-serif;

  /* ---------- Spacing scale ---------- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-7: 28px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-14: 56px; --sp-18: 72px;

  /* ---------- Shell geometry (1440 reference) ---------- */
  --shell-sidebar: 250px;
  --shell-pad-left: 43px;
  --shell-pad-right: 39px;
  --shell-gutter: 27px;
  --shell-rail: 365px;
  --shell-top: 30px;
  --shell-topbar-h: 4.0625rem; /* 65 px at the default text size */

  /* ---------- Radii ---------- */
  --r-xs: 2px;
  --r-5: 5px;      /* chart tooltip */
  --r-6: 6.5px;    /* countdown pill */
  --r-8: 8px;      /* wallet chip, small buttons, bid button */
  --r-10: 10px;    /* sub-nav row, product tile image, chat image */
  --r-12: 12px;    /* nav item, controls, fields */
  --r-12b: 12.6px; /* filter chips */
  --r-11b: 11.8px; /* best-seller row frame */
  --r-5c: 5.1px;   /* status chip */
  --r-10d: 10.1px; /* product tile image */
  --r-15b: 15.7px; /* large settings button */
  --r-13e: 13.3px; /* social login buttons */
  --r-27: 27.1px;  /* login artwork frame */
  --r-13: 13px;    /* NFT image */
  --r-7: 7.9px;    /* Follow / Unfollow */
  --r-8b: 8.1px;   /* banner buttons */
  --r-8c: 8.2px;   /* card bid button */
  --r-11: 11.6px;  /* conversion fields */
  --r-14: 14.3px;  /* auth inputs (kit value) */
  --r-16b: 16.3px; /* NFT card */
  --r-17: 17px;    /* balance card, split bid field */
  --r-19: 19px;    /* credit card */
  --r-16: 16px;    /* cards, auth buttons */
  --r-18: 18.5px;  /* top search + filter button */
  --r-20: 20px;    /* modal, large detail card */
  --r-25: 25px;    /* hero banner, notification panel, auth artwork */
  --r-30: 30px;    /* photo frame */
  --r-5b: 5.4px;   /* compact timer pill */
  --r-7b: 7.7px;   /* small dropdown trigger ("Last 15 Days") */
  --r-9: 9px;      /* floating selectors, small icon buttons */
  --r-10b: 10.7px; /* compact NFT image */
  --r-10c: 10.6px; /* bid history row */
  --r-13b: 13.4px; /* compact NFT card */
  --r-13c: 13.5px; /* identity step */
  --r-13d: 13.1px; /* NFT image (market) */
  --r-15: 15.2px;  /* product tile */
  --r-18b: 18.9px; /* carousel control */
  --r-6b: 6.7px;   /* compact bid button */
  --r-35: 35px;    /* artboard corner in the Figma file (presentation only, never on the page) */
  --r-pill: 999px;

  /* ---------- Shadows ---------- */
  --sh-card: 10px 10px 50px rgba(20, 20, 22, 0.10);
  --sh-nft: 27px 8px 41px rgba(199, 199, 199, 0.60);
  --sh-nft-compact: 22px 7px 33px rgba(199, 199, 199, 0.60);
  --sh-tile: 15px 10px 52px rgba(97, 97, 97, 0.25);
  --sh-tile-image: 0 4px 52px rgba(197, 197, 197, 0.25);
  --sh-panel: 15px 15px 53px rgba(0, 0, 0, 0.12);
  --sh-row: 0 20px 30px rgba(70, 70, 70, 0.10);
  --sh-pop: 6px 10px 30px 1px rgba(108, 95, 188, 0.12), 10px 25px 60px rgba(0, 90, 100, 0.20); /* both layers are in the Figma file: panel bg + 'notifications' frame (#005A64 20 %) */
  --sh-menu: 5px 10px 50px rgba(0, 0, 0, 0.10);
  --sh-select: 18px 12px 62px rgba(97, 97, 97, 0.25);
  --sh-float: 0 47px 38px -28px rgba(15, 15, 15, 0.12);
  --sh-bubble: 21px 21px 52px rgba(118, 140, 170, 0.16);
  --sh-timer: 0 3px 10px rgba(28, 29, 32, 0.08);
  --sh-credit: 0 19px 28.5px rgba(25, 28, 50, 0.10);
  --sh-option: 0 22px 60px rgba(50, 49, 66, 0.12);
  --sh-inset-well: inset 3px 7px 7px rgba(0, 0, 0, 0.05);
  --sh-chat-img: 7.5px 7.5px 26px rgba(0, 0, 0, 0.12);
  --sh-bid-top: -5.5px 11px 19px rgba(16, 16, 16, 0.15); /* first row of the bid history */
  --sh-credit-glow: 0 34px 40px -22px rgba(108, 95, 188, 0.35); /* violet glow under the bank card */

  /* ---------- Blur ---------- */
  --blur-timer: 1.6px;
  --blur-glass: 16px;
  --blur-scrim: 12px;
  --blur-glow: 40px;

  /* ---------- Motion (the kit has no motion; these fit its calm look) ---------- */
  --dur-fast: 120ms;
  --dur: 160ms;
  --dur-slow: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---------- Focus (outline, so it never replaces a component's inset border) ---------- */
  --focus-color: #141416;
  --focus-color-on-ink: #FFFFFF;
}
