/*
Theme Name: Tidewell FX
Theme URI: https://tidewellfx.com
Author: Tidewell
Author URI: https://tidewellfx.com
Description: Bento-grid multi-asset trading theme for Tidewell FX. Deep navy tiles, electric lime accents, forex, crypto, stocks, indices, commodities and futures pages, account tiers, education hub, legal centre and front-end only client forms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tidewell
Tags: dark, one-column, custom-logo, custom-menu
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #0B1220;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #0B1220;
  background-image: radial-gradient(circle at 1px 1px, rgba(238, 242, 247, 0.07) 1px, transparent 0);
  background-size: 22px 22px;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

::selection {
  background: #B4CC6E;
  color: #000;
}

img {
  max-width: 100%;
}

.tradingview-widget-container {
  min-height: 46px;
}

.tw-glow {
  box-shadow: 0 0 0 1px rgba(180, 204, 110, 0.35), 0 20px 60px -20px rgba(180, 204, 110, 0.35);
}

.tw-noscroll {
  scrollbar-width: none;
}

.tw-noscroll::-webkit-scrollbar {
  display: none;
}

.tw-pulse {
  animation: tw-pulse 2s ease-in-out infinite;
}

@keyframes tw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.tw-rise {
  animation: tw-rise .6s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes tw-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

[aria-invalid="true"] {
  border-color: #FB7185 !important;
}

.tw-range {
  accent-color: #B4CC6E;
}

@media (prefers-reduced-motion: reduce) {
  .tw-pulse,
  .tw-rise {
    animation: none;
  }
}
