/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}
:root {
  --primary: #282828;
  --primary-dark: #282828;
  --primary-light: #282828;
  --primary-gradient: linear-gradient(135deg, #004a3c 0%, #195c4f 50%, #00b894 100%);
  --primary-gradient-light: linear-gradient(135deg, #195c4f 0%, #00b894 100%);
  --secondary: #004a3c;
  --secondary-light: #195c4f;
  --secondary-dark: #00332a;
  --secondary-gradient: linear-gradient(135deg, #004a3c 0%, #00332a 100%);
  --accent: #ff6b6b;
  --accent-light: #ff9e9e;
  --accent-dark: #e05555;
  --text: #ffffff;
  /* --text-secondary: #00967a; */
  --text-muted: #888888;
  --success: #00b894;
  --warning: #ffb142;
  --error: #ff6b6b;
  --info: #4dabf7;
  --border: #00251e;
  --border-light: #195c4f;
  --card-bg: #00332a;
  --hover-bg: #004a17;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --background: #282828;
  --background-glass: #2828285c;
  --foreground-color: #00b894;
    --bg-header: #ffffff;
  --bg-footer: #ffffff;
  --text-color: #ffffff;
}

[data-theme="light"] {
  --primary-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #00b894 100%);
  --primary-gradient-light: linear-gradient(135deg, #e0e0e0 0%, #00b894 100%);
  --secondary: #ffffff;
  --secondary-light: #f5f5f5;
  --secondary-dark: #e0e0e0;
  --secondary-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  --text: #000000;
  --text-secondary: #666666;
  --text-muted: #888888;
  --success: #00b894;
  --warning: #ffb142;
  --error: #ff6b6b;
  --info: #4dabf7;
  --border: #d0d0d0;
  --border-light: #cccccc;
  --card-bg: #ffffff;
  --hover-bg: #f5f5f5;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --background: #ffffff;
  --background-glass: #001f181f;
  --foreground-color: #000000;
    --bg-header: #ffffff;
  --bg-footer: #f5f5f5;
  --text-color: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ant Design Theme Overrides */
.ant-layout {
  background: var(--background) !important;
}

.ant-layout-header {
  background: var(--card-bg) !important;
  border-bottom: 1px solid var(--border);
}

.ant-layout-footer {
  background: var(--card-bg) !important;
  color: var(--text) !important;
}

.ant-card {
  background: var(--card-bg) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.ant-card-head {
  color: var(--text) !important;
  border-bottom-color: var(--border) !important;
}

.ant-typography {
  color: var(--text) !important;
}

.ant-typography-secondary {
  color: var(--text-secondary) !important;
}

.ant-btn-primary {
  background: var(--success) !important;
  border-color: var(--success) !important;
}

.ant-btn-primary:hover {
  background: var(--text) !important;
  border-color: var(--text) !important;
}

.ant-input, .ant-input-password, .ant-input-textarea, .ant-picker, .ant-select-selector {
  background: var(--background) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.ant-input::placeholder {
  color: var(--text-muted) !important;
}

.ant-tag {
  background: var(--background) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.ant-modal-content {
  background: var(--card-bg) !important;
}

.ant-modal-header {
  background: var(--card-bg) !important;
  border-bottom-color: var(--border) !important;
}

.ant-modal-title {
  color: var(--text) !important;
}

.ant-modal-close {
  color: var(--text) !important;
}

.ant-list-item {
  border-bottom-color: var(--border) !important;
}

.ant-statistic-title {
  color: var(--text-secondary) !important;
}

.ant-statistic-content {
  color: var(--success) !important;
}

.ant-descriptions-item-label {
  color: var(--text-secondary) !important;
}

.ant-descriptions-item-content {
  color: var(--text) !important;
}

.ant-descriptions-bordered .ant-descriptions-view {
  border-color: var(--border) !important;
}

.ant-descriptions-bordered .ant-descriptions-item-label {
  background: var(--background) !important;
}

.ant-divider {
  border-top-color: var(--border) !important;
}

.ant-menu-dark {
  background: var(--card-bg) !important;
}

.ant-menu-dark .ant-menu-item-selected {
  background: var(--success) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--success);
}
/* Loading spinner animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Fade animations */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .ant-layout-content {
    padding: 16px !important;
  }
}

/* Transaction status styles */
.transaction-success {
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}