/* Import component styles */
/* Link Preview Styles */
.ms-link-preview {
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  overflow: hidden;
  margin: 10px 0;
  background: #fff;
  transition: border-color 0.2s ease;
}
.ms-link-preview:hover {
  border-color: #d19316;
}
.ms-link-preview a {
  display: flex;
  text-decoration: none;
  color: inherit;
}
.ms-link-preview-image {
  flex: 0 0 120px;
  background: #f8f9fa;
  overflow: hidden;
}
.ms-link-preview-image img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
}
.ms-link-preview-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ms-link-preview-title {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.ms-link-preview-description {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ms-link-preview-domain {
  font-size: 11px;
  color: #999;
  text-transform: lowercase;
}
/* Image Upload Styles */
.ms-image-upload-container {
  margin: 10px 0;
}
.ms-image-upload {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
  background: #fafafa;
}
.ms-image-upload.drag-active {
  border-color: #d19316;
  background: #fff8e1;
}
.ms-image-upload.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ms-upload-button {
  cursor: pointer;
  color: #d19316;
  font-weight: 500;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.ms-upload-button:hover {
  color: #b8860b;
}
.ms-upload-hint {
  font-size: 12px;
  color: #666;
  margin: 0;
}
.ms-upload-error {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  color: #c33;
  font-size: 12px;
}
/* Selected Images Preview */
.ms-selected-images {
  margin: 10px 0;
}
.ms-selected-images-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}
.ms-selected-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.ms-selected-image-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
}
.ms-selected-image-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.ms-remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-remove-image:hover {
  background: rgba(0, 0, 0, 0.9);
}
/* Image Gallery Styles */
.ms-image-gallery-container {
  margin: 10px 0;
}
.ms-image-gallery {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  overflow: hidden;
}
.ms-image-gallery-single {
  grid-template-columns: 1fr;
}
.ms-image-gallery-double {
  grid-template-columns: 1fr 1fr;
}
.ms-image-gallery-triple {
  grid-template-columns: 1fr 1fr 1fr;
}
.ms-image-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.ms-image-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
}
.ms-image-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.2s ease;
}
.ms-image-item:hover img {
  transform: scale(1.05);
}
/* Company Logo Styles */
.ms-company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ms-company-logo {
  flex-shrink: 0;
}
.ms-regular-images {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.ms-image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.ms-show-more-images,
.ms-show-less-images {
  margin-top: 8px;
  padding: 6px 12px;
  background: none;
  border: 1px solid #d19316;
  color: #d19316;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}
.ms-show-more-images:hover,
.ms-show-less-images:hover {
  background: #d19316;
  color: white;
}
/* Stock Discussion Inline Styles */
.stock-content-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.stock-logo-inline {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 6px;
}
.stock-content-text {
  flex: 1;
  min-width: 0;
}
.stock-link {
  font-weight: 700;
  color: #d4af37 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.stock-link:hover {
  color: #b8941f !important;
  text-decoration: none;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .ms-link-preview a {
    flex-direction: column;
  }
  
  .ms-link-preview-image {
    flex: none;
    height: 120px;
  }
  
  .ms-image-gallery-double,
  .ms-image-gallery-triple {
    grid-template-columns: 1fr 1fr;
  }
  
  .ms-image-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .ms-selected-images-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }
}
/* Comment like icon styling - smaller than post like icons */
.ms-icon-comment {
  width: 14px !important;
  height: 14px !important;
}
.ms-icon-comment svg {
  width: 14px !important;
  height: 14px !important;
}
/* Compact Image Upload Styles */
.ms-image-upload-compact {
  display: inline-block;
  position: relative;
}
.ms-upload-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}
.ms-upload-icon-button:hover {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #6b7280;
}
.ms-upload-icon-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ms-upload-icon-button .ms-icon {
  width: 16px !important;
  height: 16px !important;
}
.ms-upload-error-compact {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  padding: 4px 8px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  color: #c33;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
  max-width: 200px;
}
/* Post Actions Styles */
.ms-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
/* Menu System Styles */
.ms-post-menu,
.ms-comment-menu {
  position: relative;
  display: inline-block;
}
.ms-menu-trigger {
  padding: 4px 6px !important;
  font-size: 16px !important;
  color: #9ca3af !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-menu-trigger:hover {
  color: #6b7280 !important;
}
.ms-menu-trigger .ms-icon {
  width: 20px !important;
  height: 20px !important;
}
.ms-comment-menu .ms-menu-trigger .ms-icon {
  width: 16px !important;
  height: 16px !important;
}
.ms-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 120px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  margin-top: 4px;
  overflow: hidden;
}
.ms-comment-menu .ms-menu-dropdown {
  min-width: 100px;
  font-size: 12px;
}
.ms-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: background-color 0.2s ease;
  text-align: left;
}
.ms-comment-menu .ms-menu-item {
  padding: 6px 10px;
  font-size: 12px;
}
.ms-menu-item:hover {
  background-color: #f3f4f6;
}
.ms-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ms-menu-item .ms-icon {
  width: 16px !important;
  height: 16px !important;
  color: #9ca3af;
}
.ms-menu-item-danger {
  color: #dc2626 !important;
}
.ms-menu-item-danger:hover {
  background-color: #fef2f2 !important;
}
.ms-menu-item-danger .ms-icon {
  color: #dc2626 !important;
}
/* Edit Post Form Styles */
.ms-edit-post-form {
  margin: 16px 0;
}
.ms-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}
.ms-edit-actions button {
  padding: 6px 12px;
  font-size: 12px;
  min-width: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ms-edit-actions button .ms-icon {
  width: 14px !important;
  height: 14px !important;
}
/* Edit Comment Form Styles */
.ms-edit-comment-form {
  margin: 12px 0;
}
.ms-edit-comment-form .ms-textarea {
  margin-bottom: 8px;
}
.ms-edit-comment-form .ms-edit-actions {
  margin-top: 6px;
}
.ms-edit-comment-form .ms-edit-actions button {
  padding: 4px 8px;
  font-size: 11px;
  min-width: auto;
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}
input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
[multiple],[size]:where(select:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}
[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}
[type='checkbox'] {
  border-radius: 0px;
}
[type='radio'] {
  border-radius: 100%;
}
[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
@media (forced-colors: active)  {
  [type='checkbox']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
@media (forced-colors: active)  {
  [type='radio']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media (forced-colors: active)  {
  [type='checkbox']:indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type='file'] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}
[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
:root {
    --color-neutral-darkest: 15 23 42;
    --color-neutral-darker: 30 41 59;
    --color-neutral-dark: 51 65 85;
    --color-gold-primary: 245 158 11;
    --color-gold-secondary: 217 119 6;
    --color-silver-primary: 148 163 184;
    --color-silver-secondary: 100 116 139;
  }
body {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-feature-settings: "rlig" 1, "calt" 1;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.form-input,.form-textarea,.form-select,.form-multiselect {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
.form-input:focus, .form-textarea:focus, .form-select:focus, .form-multiselect:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}
.form-input::placeholder,.form-textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
.form-input::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.form-input::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}
.form-input::-webkit-datetime-edit {
  display: inline-flex;
}
.form-input::-webkit-datetime-edit,.form-input::-webkit-datetime-edit-year-field,.form-input::-webkit-datetime-edit-month-field,.form-input::-webkit-datetime-edit-day-field,.form-input::-webkit-datetime-edit-hour-field,.form-input::-webkit-datetime-edit-minute-field,.form-input::-webkit-datetime-edit-second-field,.form-input::-webkit-datetime-edit-millisecond-field,.form-input::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
/* Custom scrollbar */
::-webkit-scrollbar {
  height: 0.5rem;
  width: 0.5rem;
}
::-webkit-scrollbar-track {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(55 65 81 / 0.8);
}
/* Card styles */
.card {
  overflow: hidden;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
/* Button styles */
.btn {
  border-radius: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.btn-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.btn-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.btn-secondary {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.btn-secondary:hover {
  background-color: rgb(55 65 81 / 0.8);
}
/* Focus styles */
.focus-ring:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1));
  --tw-ring-opacity: 0.5;
}
/* Hover effects */
.hover-lift {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.hover-lift:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
/* Loading animation */
.loading-spinner {
  height: 2rem;
  width: 2rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  animation: spin 1s linear infinite;
  border-radius: 9999px;
  border-width: 4px;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
  --tw-border-opacity: 1;
  border-top-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
/* Text gradient */
.text-gradient {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #F59E0B var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #D97706 var(--tw-gradient-to-position);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
/* Notification animations */
@keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
@keyframes slideOutRight {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
.notification-enter {
    animation: slideInRight 0.3s ease-out;
  }
.notification-exit {
    animation: slideOutRight 0.3s ease-in;
  }
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-bottom-16 {
  bottom: -4rem;
}
.-right-2 {
  right: -0.5rem;
}
.-top-16 {
  top: -4rem;
}
.-top-2 {
  top: -0.5rem;
}
.-top-3 {
  top: -0.75rem;
}
.left-1\/2 {
  left: 50%;
}
.left-6 {
  left: 1.5rem;
}
.left-8 {
  left: 2rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.top-3 {
  top: 0.75rem;
}
.top-4 {
  top: 1rem;
}
.z-50 {
  z-index: 50;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.-mt-4 {
  margin-top: -1rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-full {
  height: 100%;
}
.max-h-32 {
  max-height: 8rem;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\/2 {
  width: 50%;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[150px\] {
  min-width: 150px;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {
  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.resize-none {
  resize: none;
}
.resize {
  resize: both;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-gold-primary {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-gray-600 {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}
.border-gray-700 {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}
.border-green-500\/50 {
  border-color: rgb(34 197 94 / 0.5);
}
.border-neutral-dark {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-neutral-darkest {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.border-red-500\/50 {
  border-color: rgb(239 68 68 / 0.5);
}
.border-silver-primary {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.bg-gold-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.bg-gold-primary\/20 {
  background-color: rgb(245 158 11 / 0.2);
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-700\/30 {
  background-color: rgb(55 65 81 / 0.3);
}
.bg-gray-700\/50 {
  background-color: rgb(55 65 81 / 0.5);
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-500\/20 {
  background-color: rgb(34 197 94 / 0.2);
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-green-900\/20 {
  background-color: rgb(20 83 45 / 0.2);
}
.bg-neutral-darker {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-neutral-darkest\/50 {
  background-color: rgb(17 24 39 / 0.5);
}
.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}
.bg-red-900\/20 {
  background-color: rgb(127 29 29 / 0.2);
}
.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500\/20 {
  background-color: rgb(234 179 8 / 0.2);
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pt-20 {
  padding-top: 5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-gold-primary {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-silver-primary {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.placeholder-gray-400::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-gold-primary {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1));
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}
#root {
  min-height: 100vh;
}
/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.page-padding {
  padding: 2rem 0;
}
.marketsnap-community {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding: 1rem;
}
.marketsnap-community p {
  color: #666;
  line-height: 1.5;
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-gray-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
.hover\:border-white:hover {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gold-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700\/30:hover {
  background-color: rgb(55 65 81 / 0.3);
}
.hover\:bg-gray-700\/50:hover {
  background-color: rgb(55 65 81 / 0.5);
}
.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.hover\:bg-neutral-dark:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-gold-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.hover\:text-red-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:opacity-70:hover {
  opacity: 0.7;
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
@media (min-width: 768px) {
  .md\:h-64 {
    height: 16rem;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (prefers-color-scheme: dark) {
  .dark\:bg-yellow-900\/20 {
    background-color: rgb(113 63 18 / 0.2);
  }
} /* RESTORED WORKING VERSION */
:root {
  /* MARKETSnap Theme Colors - Gold & Dark */
  --ms-primary: #d19316;
  --ms-primary-dark: #b8840f;
  --ms-primary-light: #f5a623;
  --ms-secondary: #9ca3af;
  --ms-accent: #6b7280;
  
  /* Dark Theme Backgrounds */
  --ms-background: #23262a;
  --ms-surface: #1a1f24;
  --ms-border: #374151;
  --ms-text: #ffffff;
  --ms-text-light: #9ca3af;
  
  /* Feedback Colors */
  --ms-success: #22c55e;
  --ms-warning: #f59e0b;
  --ms-error: #ef4444;
  --ms-info: #3b82f6;
  
  /* Spacing System */
  --ms-spacing-xs: 0.25rem;
  --ms-spacing-sm: 0.5rem;
  --ms-spacing-md: 1rem;
  --ms-spacing-lg: 1.5rem;
  --ms-spacing-xl: 2rem;
  --ms-spacing-2xl: 3rem;
  
  /* Typography System */
  --ms-font-heading: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --ms-font-body: var(--ms-font-heading);
  --ms-text-xs: 0.75rem;
  --ms-text-sm: 0.875rem;
  --ms-text-base: 1rem;
  --ms-text-lg: 1.125rem;
  --ms-text-xl: 1.25rem;
  --ms-text-2xl: 1.5rem;
  --ms-text-3xl: 1.875rem;
  --ms-text-4xl: 2.25rem;
  
  /* Border Radius */
  --ms-radius-sm: 0.25rem;
  --ms-radius-md: 0.375rem;
  --ms-radius-lg: 0.5rem;
  --ms-radius-xl: 1rem;
  --ms-radius-full: 9999px;
  
  /* Shadows */
  --ms-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --ms-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --ms-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ms-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --ms-transition: 0.2s ease;
  --ms-transition-fast: 0.1s ease;
  --ms-transition-slow: 0.3s ease;
}
/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--ms-font-body);
  color: var(--ms-text);
  line-height: 1.5;
  background-color: var(--ms-background);
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ms-font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--ms-spacing-md);
}
h1 { font-size: var(--ms-text-4xl); }
h2 { font-size: var(--ms-text-3xl); }
h3 { font-size: var(--ms-text-2xl); }
h4 { font-size: var(--ms-text-xl); }
h5 { font-size: var(--ms-text-lg); }
h6 { font-size: var(--ms-text-base); }
p { margin-bottom: var(--ms-spacing-md); }
a {
  color: var(--ms-primary);
  text-decoration: none;
  transition: color var(--ms-transition);
}
a:hover {
  color: var(--ms-primary-dark);
}
/* Layout */
.ms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ms-spacing-md);
}
.ms-page {
  padding: var(--ms-spacing-xl) 0;
}
/* Components */
.ms-card {
  background: var(--ms-background);
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-md);
  padding: var(--ms-spacing-lg);
  margin-bottom: var(--ms-spacing-lg);
}
.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--ms-spacing-sm) var(--ms-spacing-lg);
  border-radius: var(--ms-radius-md);
  font-weight: 500;
  transition: all var(--ms-transition);
  cursor: pointer;
  border: none;
  font-size: var(--ms-text-base);
}
.ms-btn-primary {
  background: var(--ms-primary);
  color: white;
}
.ms-btn-primary:hover {
  background: var(--ms-primary-dark);
}
.ms-btn-secondary {
  background: var(--ms-secondary);
  color: white;
}
.ms-btn-secondary:hover {
  background: var(--ms-secondary-dark);
}
.ms-btn-outline {
  border: 2px solid var(--ms-primary);
  color: var(--ms-primary);
  background: transparent;
}
.ms-btn-outline:hover {
  background: var(--ms-primary);
  color: white;
}
/* Forms */
.ms-form-group {
  margin-bottom: var(--ms-spacing-lg);
}
.ms-form-group label {
  display: block;
  margin-bottom: var(--ms-spacing-xs);
  font-weight: 500;
  color: var(--ms-text);
}
.ms-form-group input,
.ms-form-group textarea {
  width: 100%;
  padding: var(--ms-spacing-sm) var(--ms-spacing-md);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-md);
  font-size: var(--ms-text-base);
  transition: border-color var(--ms-transition);
}
.ms-form-group input:focus,
.ms-form-group textarea:focus {
  outline: none;
  border-color: var(--ms-primary);
}
/* Navigation */
.ms-navbar {
  background: var(--ms-background);
  box-shadow: var(--ms-shadow-sm);
  padding: var(--ms-spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ms-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ms-navbar-brand {
  font-size: var(--ms-text-xl);
  font-weight: 600;
  color: var(--ms-text);
}
.ms-navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--ms-spacing-lg);
}
.ms-navbar-user {
  display: flex;
  align-items: center;
  gap: var(--ms-spacing-md);
}
.ms-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--ms-radius-full);
  -o-object-fit: cover;
     object-fit: cover;
}
/* Grid */
.ms-grid {
  display: grid;
  gap: var(--ms-spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* Utilities */
.ms-text-center { text-align: center; }
.ms-mt-lg { margin-top: var(--ms-spacing-lg); }
.ms-mb-lg { margin-bottom: var(--ms-spacing-lg); }
.ms-flex { display: flex; }
.ms-items-center { align-items: center; }
.ms-justify-between { justify-content: space-between; }
.ms-gap-md { gap: var(--ms-spacing-md); }
/* Hero Section */
.ms-hero {
  padding: var(--ms-spacing-2xl) 0;
  background: linear-gradient(to right, var(--ms-primary-light), var(--ms-secondary));
  color: white;
  border-radius: var(--ms-radius-lg);
  margin-bottom: var(--ms-spacing-2xl);
}
.ms-hero h1 {
  font-size: var(--ms-text-4xl);
  margin-bottom: var(--ms-spacing-md);
}
.ms-hero-subtitle {
  font-size: var(--ms-text-xl);
  opacity: 0.9;
}
/* Auth Pages */
.ms-auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--ms-spacing-xl) var(--ms-spacing-md);
}
.ms-auth-form {
  background: var(--ms-background);
}
.ms-auth-links {
  margin-top: var(--ms-spacing-xl);
  padding-top: var(--ms-spacing-lg);
  border-top: 1px solid var(--ms-border);
}
/* Navigation */
.ms-nav-link {
  color: var(--ms-text);
  font-weight: 500;
  padding: var(--ms-spacing-xs) var(--ms-spacing-sm);
  border-radius: var(--ms-radius-md);
  transition: all var(--ms-transition);
}
.ms-nav-link:hover {
  color: var(--ms-primary);
  background: var(--ms-surface);
}
/* Logo */
.ms-logo {
  height: 32px;
  width: auto;
}
/* Alerts */
.ms-alert {
  padding: var(--ms-spacing-md);
  border-radius: var(--ms-radius-md);
  margin-bottom: var(--ms-spacing-md);
}
.ms-alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.ms-alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
}
/* Additional Utilities */
.ms-w-full { width: 100%; }
.ms-text-sm { font-size: var(--ms-text-sm); }
.ms-text-lg { font-size: var(--ms-text-lg); }
.ms-font-bold { font-weight: 600; }
.ms-opacity-75 { opacity: 0.75; }
/* Links */
.ms-link {
  color: var(--ms-primary);
  text-decoration: none;
  transition: color var(--ms-transition);
}
.ms-link:hover {
  color: var(--ms-primary-dark);
  text-decoration: underline;
}
/* Grid Improvements */
.ms-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--ms-spacing-xl);
}
/* Card Improvements */
.ms-card {
  background: var(--ms-background);
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-md);
  padding: var(--ms-spacing-xl);
  transition: transform var(--ms-transition), box-shadow var(--ms-transition);
}
.ms-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ms-shadow-lg);
}
.ms-card h3 {
  color: var(--ms-text);
  margin-bottom: var(--ms-spacing-md);
}
.ms-card p {
  color: var(--ms-text-light);
  margin-bottom: var(--ms-spacing-lg);
}
/* Button Improvements */
.ms-btn {
  padding: var(--ms-spacing-sm) var(--ms-spacing-xl);
  font-weight: 600;
  letter-spacing: 0.025em;
}
/* Form Improvements */
.ms-form-group input {
  background: #ececec;
  color: #4b4b4b;
}
.ms-form-group input:focus {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 0 2px var(--ms-primary-light);
}
/* Loading State */
.ms-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: var(--ms-spacing-xl);
}
.ms-loading-content {
  text-align: center;
}
.ms-loading-spinner {
  width: 50px;
  height: 50px;
  margin-bottom: var(--ms-spacing-md);
  animation: spin 1s linear infinite;
}
.ms-loading-spinner circle {
  stroke: var(--ms-primary);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}
input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
[multiple],[size]:where(select:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}
[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}
[type='checkbox'] {
  border-radius: 0px;
}
[type='radio'] {
  border-radius: 100%;
}
[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
@media (forced-colors: active)  {
  [type='checkbox']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
@media (forced-colors: active)  {
  [type='radio']:checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media (forced-colors: active)  {
  [type='checkbox']:indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}
[type='file'] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}
[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
:root {
    --color-neutral-darkest: #111827;
    --color-neutral-darker: #1F2937;
    --color-neutral-dark: #374151;
    --color-gold-primary: #F59E0B;
    --color-gold-secondary: #D97706;
    --color-silver-primary: #9CA3AF;
    --color-silver-secondary: #6B7280;
  }
body {
    background: linear-gradient(135deg, #23262a, #0d0f12, #23262a);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
  }
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.form-input,.form-textarea,.form-select,.form-multiselect {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
.form-input:focus, .form-textarea:focus, .form-select:focus, .form-multiselect:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}
.form-input::placeholder,.form-textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
.form-input::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.form-input::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}
.form-input::-webkit-datetime-edit {
  display: inline-flex;
}
.form-input::-webkit-datetime-edit,.form-input::-webkit-datetime-edit-year-field,.form-input::-webkit-datetime-edit-month-field,.form-input::-webkit-datetime-edit-day-field,.form-input::-webkit-datetime-edit-hour-field,.form-input::-webkit-datetime-edit-minute-field,.form-input::-webkit-datetime-edit-second-field,.form-input::-webkit-datetime-edit-millisecond-field,.form-input::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}
/* Base Container System */
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
  }
/* Page Layout System (for Notifications and other non-ms pages) */
.page-container {
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    max-width: 80rem;
  }
.page-header {
    margin-bottom: 2rem;
  }
.page-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #F59E0B;
  }
/* MarketSnap Core Container System */
.ms-container {
      min-height: 100vh;
      padding-top: 64px;
      padding-bottom: 96px;
      margin: 0 auto;
      background: radial-gradient(#d19316, #000000c9);
      box-shadow: 0 0 10px 0 #c0c0c08c;
      border-radius: 10px;
    }
/* Container for pages without header */
.ms-container-no-header {
      min-height: 100vh;
      padding-top: 0px;
      padding-bottom: 96px;
      margin: 0 auto;
      background: radial-gradient(#d19316, #000000c9);
      box-shadow: 0 0 10px 0 #c0c0c08c;
      border-radius: 10px;
  }
/* Grid Layout System */
.ms-grid {
    display: grid;
    gap: 16px;
  }
.ms-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
.grid-auto-fit {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
/* Search and Filter Controls */
@media (max-width: 768px) {
    .ms-grid-2 {
      grid-template-columns: 1fr;
    }
    .mobile-stack {
    flex-direction: column;
  }
    .mobile-stack > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
    --tw-space-x-reverse: 0;
    margin-right: calc(0px * var(--tw-space-x-reverse));
    margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse)));
  }
.mobile-stack > * + * {
    margin-top: 1rem;
  margin-top: 16px;
  }
  }
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-bottom-16 {
  bottom: -4rem;
}
.-right-2 {
  right: -0.5rem;
}
.-top-16 {
  top: -4rem;
}
.-top-2 {
  top: -0.5rem;
}
.-top-3 {
  top: -0.75rem;
}
.left-1\/2 {
  left: 50%;
}
.left-6 {
  left: 1.5rem;
}
.left-8 {
  left: 2rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.top-3 {
  top: 0.75rem;
}
.top-4 {
  top: 1rem;
}
.z-50 {
  z-index: 50;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.-mt-4 {
  margin-top: -1rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-full {
  height: 100%;
}
.max-h-32 {
  max-height: 8rem;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\/2 {
  width: 50%;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[150px\] {
  min-width: 150px;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {
  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.resize-none {
  resize: none;
}
.resize {
  resize: both;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-gold-primary {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-gray-600 {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}
.border-gray-700 {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}
.border-green-500\/50 {
  border-color: rgb(34 197 94 / 0.5);
}
.border-neutral-dark {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-neutral-darkest {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.border-red-500\/50 {
  border-color: rgb(239 68 68 / 0.5);
}
.border-silver-primary {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.bg-gold-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.bg-gold-primary\/20 {
  background-color: rgb(245 158 11 / 0.2);
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-700\/30 {
  background-color: rgb(55 65 81 / 0.3);
}
.bg-gray-700\/50 {
  background-color: rgb(55 65 81 / 0.5);
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-500\/20 {
  background-color: rgb(34 197 94 / 0.2);
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-green-900\/20 {
  background-color: rgb(20 83 45 / 0.2);
}
.bg-neutral-darker {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-neutral-darkest\/50 {
  background-color: rgb(17 24 39 / 0.5);
}
.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}
.bg-red-900\/20 {
  background-color: rgb(127 29 29 / 0.2);
}
.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500\/20 {
  background-color: rgb(234 179 8 / 0.2);
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pt-20 {
  padding-top: 5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-gold-primary {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-silver-primary {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.placeholder-gray-400::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-gold-primary {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1));
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
/* ========================================================================================
   CSS VARIABLES & ROOT CONFIGURATION
   ======================================================================================== */
/* ========================================================================================
   SHARED CONTAINERS & LAYOUT COMPONENTS
   ======================================================================================== */
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1F2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #4B5563;
}
/* Auto-hide scrollbar behavior - but keep scrolling functional */
::-webkit-scrollbar {
  opacity: 0.3; /* Slightly visible by default */
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
*:hover::-webkit-scrollbar,
*::-webkit-scrollbar:hover {
  opacity: 1; /* Fully visible on hover */
}
/* Ensure scrollable containers work properly */
.ms-container-outer {
  margin: 0 !important;
  padding: 24px;
  background: linear-gradient(135deg, #23262a, #0d0f12, #23262a) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scrolling */
    }
/* ========================================================================================
   LAYOUT SYSTEM
   ======================================================================================== */
/* ========================================================================================
   NAVIGATION & HEADER SYSTEM
   ======================================================================================== */
/* Navigation Header */
.navigation-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }
.navigation-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
.navigation-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
.dropdown-menu {
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }
.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
  }
.dropdown-item:hover {
    background-color: #374151;
  }
/* Navigation styles */
.nav-link {
    color: #9CA3AF;
    transition: color 0.2s;
  }
.nav-link:hover {
    color: #F59E0B;
  }
.nav-link-active {
    color: #F59E0B;
  }
/* Main navbar - use semantic class instead of auto-generated MUI classes */
.navigation-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
/* Navbar icons - target by semantic classes and component structure */
.search-toggle-button svg,
  .notification-bell-button svg {
    height: 2.1rem !important;
    width: 2.1rem !important;
    color: #0d0f12 !important;
  }
/* Hamburger menu icon */
.hamburger-menu-button svg {
    height: 2.25rem !important;
    width: 2.25rem !important;
    color: #0d0f12 !important;
  }
/* Media menu play button */
.media-menu-container {
    width: 1.8rem !important ;
    height: 1.8rem !important;
  }
.media-menu-button {
    width: 1.9rem !important;
    height: 1.9rem !important;
  }
/* User profile avatar */
.user-profile-avatar {
    width: 2.0rem !important;
    height: 2.0rem !important;
    border-color: #0d0f12 !important;
  }
/* Notification bell container */
.notification-bell-container .notification-bell-button svg {
    height: 2.1rem !important;
    width: 2.1rem !important;
    color: #0d0f12 !important;
  }
/* Additional stable navbar styling with higher specificity */
.main-navigation-header .navigation-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
/* Specific icon sizing overrides */
.main-navigation-header .hamburger-menu-button svg {
    font-size: 2.25rem !important;
  }
.main-navigation-header .search-toggle-button svg,
  .main-navigation-header .notification-bell-button svg {
    font-size: 2.1rem !important;
  }
.main-navigation-header .media-menu-button {
    width: 1.9rem !important;
    height: 1.9rem !important;
  }
.main-navigation-header .user-profile-avatar {
    width: 2.0rem !important;
    height: 2.0rem !important;
    border-color: #0d0f12 !important;
  }
/* Force navbar background to stay consistent */
.main-navigation-header.metallic-header {
    background: linear-gradient(120deg, #d4d4d4, #c0c0c0, #d4d4d4, #c0c0c0, #bbb) !important;
    background-size: 400% 400% !important;
    animation: metallicShift 8s ease-in-out infinite !important;
  }
/* MarketSnap Header System */
.ms-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(120deg, #d4d4d4, #c0c0c0, #d4d4d4, #c0c0c0, #bbb);
    background-size: 400% 400%;
    animation: metallicShift 8s ease-in-out infinite;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    width: 100%;
  }
.ms-header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
.ms-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    min-height: 64px;
    gap: 16px;
    max-width: 610px;
    margin: auto;
  }
.ms-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
  }
.ms-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0;
  }
.ms-logo {
    height: 40px;
    width: auto;
    max-width: 400px;
    -o-object-fit: contain;
       object-fit: contain;
  }
.ms-nav-links {
    display: flex;
    gap: 16px;
    margin-left: 16px;
  }
.ms-nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
  }
.ms-nav-link:hover {
    background-color: rgba(135, 121, 0, 0.1);
    color: #877900;
  }
.ms-media-container {
    background-color: #b2071d;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.ms-media-button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #ffffff;
  }
.ms-media-button svg {
    width: 20px;
    height: 20px;
  }
.ms-notification-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.ms-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
  }
.ms-auth-button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
  }
.ms-auth-button.login {
    color: #000000;
    background: transparent;
  }
.ms-auth-button.login:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
.ms-auth-button.register {
    background-color: #877900;
    color: #ffffff;
  }
.ms-auth-button.register:hover {
    background-color: #5d5300;
  }
.ms-dropdown {
    position: fixed;
    top: 46px;
    right: 0px !important;
    background: #acacac;
    color: #000000;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 100;
    margin: 8px 0.5%;
    width: 99%;
  }
.hamburger-menu-button + .ms-dropdown {
    right: 0;
  }
.ms-dropdown-item {
    padding: 12px 16px;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: center;
  }
.ms-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
.ms-search-overlay {
    position: fixed;
    top: 100px;
    right: 1%;
    width: 33%;
    z-index: 1000;
  }
.ms-search-input {
    width: 100%;
    height: 3rem;
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #515151;
    background-color: #f5f5f5;
    color: #333333;
  }
/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {

    .ms-container-outer {
      padding: 0.3rem;
    }

    .ms-toolbar {
      padding: 4px 4px;
      min-height: 52px;
      gap: 4px;
    }

    .ms-logo {
      height: 28px;
      max-width: 160px;
    }

    .ms-nav-links {
      display: none; /* Hide nav links on very small screens */
    }

    .ms-media-container {
      width: 28px !important;
      height: 28px !important;
    }

    .ms-media-button {
      width: 28px !important;
      height: 28px !important;
    }

    .ms-media-button svg {
      width: 16px !important;
      height: 16px !important;
    }

    .ms-notification-container {
      width: 32px !important;
      height: 32px !important;
    }

    .ms-icon-button {
      width: 32px !important;
      height: 32px !important;
    }

    .user-profile-avatar {
      width: 1.7rem !important;
      height: 1.7rem !important;
    }

    .main-navigation-header .user-profile-avatar {
      width: 1.5rem !important;
      height: 1.5rem !important;
    }

    .ms-notification-badge {
      min-width: 14px;
      height: 14px;
      font-size: 9px;
    }

    .ms-search-overlay {
      width: 95%;
      right: 2.5%;
      top: 60px;
    }

    .ms-search-input {
      height: 2.25rem;
      font-size: 1rem;
      padding: 0.35rem 0.6rem;
    }
  }
/* ========================================================================================
   HEADER ALTERNATIVE SYSTEM (NEXUS)    
   ======================================================================================== */
@media (max-width: 768px) {
   .ms-header-alt .ms-header-left {
      gap: 3vw !important;
      padding-left: 4vw;
    }

   .ms-header-alt .ms-header-right {
      gap: 5vw !important;
      padding-right: 5vw !important;
    }
  }
/* ========================================================================================
   CARD SYSTEM
   ======================================================================================== */
/* MarketSnap Cards */
.ms-card {
      background: linear-gradient(210deg, #3a4553, #1F2937) !important;
      border-radius: 8px;
      border: 1px solid #5c5a5a;
      overflow: hidden;
      margin-bottom: 24px;
  padding: 5px;
  min-width: 100%;
    }
.ms-card-content {
  padding: 20px;
    }
.ms-card-actions {
      padding: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
      border-top: 1px solid rgba(141, 149, 161, 0.3);
    }
.ms-card-actions button {
      color: #c0c0c0;
    }
/* Generic Cards */
.card-glass {
  background-color: #1a1f24 !important;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.card-solid {
  background-color: #1a1f24 !important;
  border-radius: 0.5rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
}
.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}
.card-body {
  padding: 1.5rem;
}
.card-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
}
.content-card {
  background-color: #1a1f24 !important;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 300ms ease;
}
.content-card:hover {
  border-color: rgba(209, 147, 22, 0.5);
}
.card-image {
  width: 100%;
  height: 10rem;
  -o-object-fit: cover;
     object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.card-status-indicator {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card-description {
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.8);
  margin-bottom: 0.75rem;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* ========================================================================================
   BUTTON SYSTEM
   ======================================================================================== */
button {
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.ms-button {
      display: inline-flex;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 4px;
      border: none;
      font-weight: 500;
      position: relative;
      overflow: hidden;
    }
.ms-button-primary {
      background: #F59E0B;
      color: black;
  padding: 0.55rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
    }
.ms-button-primary:hover {
      background: #D97706; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    }
.ms-button-secondary {
      background: #374151;
      color: #9ca3af;
      border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  display: inline-flex;
    }
.ms-button-secondary:hover {
      background: #4b5563;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    }
.ms-button-outline {
      background: transparent;
      color: #d19316;
      border: 1px solid #d19316;
    }
.ms-button-outline:hover {
      background: rgba(209, 147, 22, 0.1);
    }
.ms-button-text {
      background: transparent;
      color: #D97706;
      padding: 6px 8px;
    }
.ms-button-text:hover {
      background: rgba(245, 158, 11, 0.1);
    }
.btn-ghost {
  color: #F59E0B;
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-ghost:hover {
  background-color: rgba(245, 158, 11, 0.1);
    }
/* Form System */
.ms-form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
.ms-label {
      font-size: 14px;
      font-weight: 500;
      color: #9ca3af;
      margin-bottom: 4px;
    }
.ms-input,
    .ms-textarea {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #374151;
      border-radius: 8px;
      background: #e6e6e6;
      color: #333333;
      font-size: 14px;
      transition: border-color 0.2s ease;
    }
.ms-input:focus,
    .ms-textarea:focus {
      outline: none;
      border-color: #d19316;
      box-shadow: 0 0 0 3px rgba(209, 147, 22, 0.1);
    }
.ms-input:disabled,
    .ms-textarea:disabled {
      background: #1f2937;
      color: #6b7280;
      cursor: not-allowed;
      border-color: #374151;
    }
.ms-select {
      padding: 12px 16px;
      background: #e6e6e6;
      border: 1px solid #374151;
      border-radius: 8px;
      color: #333333;
      font-size: 14px;
      min-height: 2.5rem;
      width: 100%;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
.ms-select:focus {
      outline: none;
      border-color: #d19316;
      box-shadow: 0 0 0 2px rgba(209, 147, 22, 0.2);
    }
.ms-select option {
      background: #e6e6e6;
      color: #333333;
    }
.ms-textarea {
      width: 100%;
      min-height: 80px;
      padding: 12px;
      border: 1px solid rgba(141, 149, 161, 0.3);
      border-radius: 4px;
      background: #ececec;
      resize: vertical;
      font-family: inherit;
    }
.ms-textarea:focus {
      outline: none;
      border-color: #F59E0B;
    }
/* Auth Form Styles */
.auth-section {
  margin-bottom: 1.5rem;
}
.divider-container {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  gap: 1rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(156, 163, 175, 0.3);
}
.divider-text {
  color: #9CA3AF;
  font-size: 0.875rem;
  white-space: nowrap;
}
.form-input {
  flex-grow: 1;
  color: #1f2937;
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s;
  background-color: #e6e6e6;
}
.form-input:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.form-select {
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #1f2937;
  border: 1px solid rgba(55, 65, 81, 0.5);
  transition: all 0.2s;
  background-color: #e6e6e6;
}
.form-select:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.form-textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  transition: border-color 0.15s;
  resize: none;
  background-color: #e6e6e6;
}
.form-textarea:focus {
  outline: none;
  border-color: #F59E0B;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.field-label {
  display: block;
  font-size: 0.875rem;
  color: #9CA3AF;
  margin-bottom: 0.25rem;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
    }
/* ========================================================================================
   AVATAR & ICON SYSTEM
   ======================================================================================== */
/* Avatar System */
.ms-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      align-self: flex-start;
      margin-right: 10px;
    }
.ms-avatar img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
    }
.ms-avatar.small {
      width: 32px;
      height: 32px;
    }
.ms-avatar-group {
      display: flex;
      gap: -4px;
    }
.ms-avatar-group img {
      margin-left: -4px;
      border: 2px solid #1a1f24;
      position: relative;
    }
.ms-avatar-group img:first-child {
      margin-left: 0;
    }
.ms-avatar-group img:hover {
      z-index: 10;
      transform: scale(1.1);
      transition: all 0.2s ease;
    }
.member-avatars {
  display: flex;
  gap: -4px;
}
.member-avatars img {
  margin-left: -4px;
  border: 2px solid #1a1f24;
  position: relative;
}
.member-avatars img:first-child {
  margin-left: 0;
}
.member-avatars img:hover {
      z-index: 10;
      transform: scale(1.1);
      transition: all 0.2s ease;
    }
/* Icon System */
.ms-icon {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }
.ms-icon.small {
      width: 20px;
      height: 20px;
    }
.ms-icon-button {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: transparent;
      cursor: pointer;
      border-radius: 50%;
      transition: all 0.2s;
      color: inherit;
    }
.ms-icon-button:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
/* ========================================================================================
   TABS & NAVIGATION ELEMENTS
   ======================================================================================== */
/* Tabs System */
.ms-tabs {
      display: flex;
      border-bottom: 1px solid #374151;
      margin-bottom: 24px;
    }
.ms-tab {
      padding: 12px 24px;
      background: none;
      border: none;
      color: #9ca3af;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease;
      font-size: 14px;
      font-weight: 500;
    }
.ms-tab:hover {
      color: #d19316;
      background: rgba(209, 147, 22, 0.1);
    }
.ms-tab.active {
      color: #d19316;
      border-bottom-color: #d19316;
      background: rgba(209, 147, 22, 0.1);
    }
/* ========================================================================================
   CHIPS, BADGES & STATUS INDICATORS
   ======================================================================================== */
/* Chip/Badge System */
.chip {
      display: inline-flex;
      align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
      font-weight: 500;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.chip-primary {
  background-color: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.chip-secondary {
  background-color: rgba(55, 65, 81, 0.5);
  color: #9CA3AF;
  border: 1px solid rgba(55, 65, 81, 0.3);
}
.chip-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
    }
/* Status Indicators */
.status-online {
      width: 12px;
      height: 12px;
      background: #22c55e;
      border-radius: 50%;
      border: 2px solid #ffffff;
    }
.status-offline {
      width: 12px;
      height: 12px;
      background: #6b7280;
      border-radius: 50%;
      border: 2px solid #ffffff;
    }
.status-away {
      width: 12px;
      height: 12px;
      background: #f59e0b;
      border-radius: 50%;
      border: 2px solid #ffffff;
    }
/* ========================================================================================
   TYPOGRAPHY SYSTEM
   ======================================================================================== */
p {
  color: rgb(var(--color-silver-primary)) !important;
}
.text-heading {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: rgb(var(--color-gold-primary));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.text-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: rgb(var(--color-gold-primary));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.text-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgb(var(--color-silver-primary) / 0.9);
}
.text-body {
  color: rgb(var(--color-silver-primary));
}
.text-caption {
  font-size: 0.875rem;
  color: rgb(var(--color-silver-primary) / 0.8);
}
.text-muted {
  color: rgb(var(--color-silver-primary) / 0.6);
}
/* ========================================================================================
   COMMENTS SYSTEM
   ======================================================================================== */
/* Comment System */
.ms-comment {
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(210deg, #3a4553, #1F2937);
  margin-bottom: 8px;
  border: 1px solid rgba(55, 65, 81, 0.3);
  transition: all 0.2s ease;
}
.ms-comment:hover {
  background: linear-gradient(210deg, #414b59, #1F2937);
    }
/* Comment System */
.ms-comment {
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(210deg, #3a4553, #1F2937);
  margin-bottom: 8px;
  border: 1px solid rgba(55, 65, 81, 0.3);
  transition: all 0.2s ease;
}
.ms-comment:hover {
  background: linear-gradient(210deg, #414b59, #1F2937);
    }
/* Stock Discussion Comment Styling */
.ms-comment.latest-comment {
  border-left: 3px solid #007cba;
  background: linear-gradient(210deg, rgba(0, 124, 186, 0.15), rgba(0, 124, 186, 0.05));
}
/* ========================================================================================
   ACTIVITY SYSTEM
   ======================================================================================== */
/* Activity specific styles - same background as comments */
.ms-activity {
  padding: 16px;
  border-radius: 4px;
  background: radial-gradient(#323d4b52, #3a4553c7) !important;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.ms-activity:hover {
  background: radial-gradient(#3a4553c7, #323d4b80) !important;
}
.ms-activity-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ms-activity-body {
  flex: 1;
  min-width: 0;
}
.ms-activity-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 0.1rem;
}
.ms-activity-text {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.ms-activity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ms-activity-link {
  color: #d19316;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.ms-activity-link:hover {
  text-decoration: underline;
}
/* ========================================================================================
   SETTINGS PAGE 
   ======================================================================================== */
@media (max-width: 768px) {
    /* Settings page responsive styling */
    .ms-container {
      padding-top: 16px;
      padding-bottom: 16px;
    }

    .ms-container[style*="maxWidth"] {
      max-width: 100% !important;
      padding-left: 8px !important;
      padding-right: 8px !important;
    }
}
/* ========================================================================================
   UTILITY CLASSES
   ======================================================================================== */
.ms-flex {
  display: flex;
}
.ms-flex-col {
  display: flex;
  flex-direction: column;
}
.ms-items-center {
  align-items: center;
}
.ms-justify-between {
  justify-content: space-between;
}
.ms-gap-2 {
  gap: 8px;
}
.ms-gap-4 {
  gap: 16px;
}
.ms-w-full {
  width: 100%;
}
.ms-text-primary {
  color: #F59E0B;
}
.ms-text-secondary {
  color: rgba(255, 255, 255, 0.7);
}
.ms-text-sm {
  font-size: 0.875rem;
}
.ms-text-xs {
  font-size: 0.75rem;
}
.ms-divider {
  height: 1px;
  background: rgba(141, 149, 161, 0.3);
  margin: 16px 0;
}
/* Spacing utilities */
.space-y-8 > * + * {
  margin-top: 2rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
  margin-top: 16px;
}
/* Additional spacing utilities */
.mt-4 {
  margin-top: 16px;
}
.mt-2 {
  margin-top: 8px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-2 {
  margin-bottom: 8px;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
/* Focus and interaction states */
.focus-ring {
  outline: none;
}
.focus-ring:focus {
  outline: 2px solid rgba(245, 158, 11, 0.2);
  outline-offset: 2px;
  border-color: #F59E0B;
}
.hover-lift {
  transform: translateZ(0);
  transition: transform 0.2s;
}
.hover-lift:hover {
  transform: translateY(-0.25rem);
}
.hover-glow {
  transition: box-shadow 0.2s;
}
.hover-glow:hover {
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.1), 0 4px 6px -4px rgba(245, 158, 11, 0.1);
}
/* ========================================================================================
   TABLE SYSTEM
   ======================================================================================== */
.table-container {
  overflow-x: auto;
}
.table {
  width: 100%;
  color: #9CA3AF;
}
.table thead tr {
  border-bottom: 1px solid #374151;
}
.table th {
  padding: 0.5rem 1rem;
  text-align: left;
  position: sticky;
  left: 0;
  background-color: #1F2937;
  z-index: 10;
  font-weight: 500;
}
.table tbody tr {
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}
.table td {
  padding: 0.5rem 1rem;
  text-align: right;
}
.table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background-color: #1F2937;
  z-index: 10;
}
/* Collapsible sections */
.collapsible-section {
  background-color: rgba(31, 41, 55, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.collapsible-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border-radius: 0.5rem;
}
.collapsible-header:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.collapsible-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F59E0B;
  display: flex;
  align-items: center;
}
.collapsible-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.8);
}
.collapsible-content {
  padding: 0 1.5rem 1.5rem;
}
.collapsible-inner {
  padding-top: 0.5rem;
}
/* Loading states */
.skeleton {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  background-color: #374151;
  border-radius: 0.25rem;
}
.skeleton-text {
  height: 1rem;
  background-color: #374151;
  border-radius: 0.25rem;
}
.skeleton-title {
  height: 1.5rem;
  background-color: #374151;
  border-radius: 0.25rem;
}
/* Modal and Dialog System */
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 40;
  }
.modal-content {
  background-color: #1F2937;
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  }
.modal-body {
  padding: 1.5rem;
  }
.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
/* ========================================================================================
   ALERT & NOTIFICATION SYSTEM
   ======================================================================================== */
.ms-button-notif {
    background: #9ca3af;
    color: #000000;
  }
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid;
  }
.alert-info {
  background-color: rgba(30, 58, 138, 0.2);
  color: #93c5fd;
  border-color: rgba(30, 58, 138, 0.3);
  }
.alert-success {
  background-color: rgba(20, 83, 45, 0.2);
  color: #86efac;
  border-color: rgba(20, 83, 45, 0.3);
  }
.alert-warning {
  background-color: rgba(146, 64, 14, 0.2);
  color: #fde047;
  border-color: rgba(146, 64, 14, 0.3);
  }
.alert-error {
  background-color: rgba(127, 29, 29, 0.2);
  color: #fca5a5;
  border-color: rgba(127, 29, 29, 0.3);
  }
/* Chart and data visualization */
.chart-container {
  background-color: rgba(31, 41, 55, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(55, 65, 81, 0.3);
}
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-item {
  display: flex;
  justify-content: space-between;
}
.stat-label {
  color: #9CA3AF;
}
.stat-value {
  color: #F59E0B;
    font-weight: 700;
}
/* Community Stats (hidden for now) */
.community-stats {
  display: none;   /* DON'T DISPLAY THESE STATS JUST YET */
}
/* ========================================================================================
   THEME SYSTEM (LIGHT/DARK MODES & CUSTOM BACKGROUNDS)
   ======================================================================================== */
/* Theme Picker Styles */
.theme-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
.theme-picker-modal {
    background: linear-gradient(210deg, #3a4553, #1F2937);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }
.theme-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #374151;
  }
.theme-picker-content {
    padding: 24px;
  }
.theme-section {
    margin-bottom: 32px;
  }
.theme-section h4 {
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 600;
  }
.theme-mode-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
.background-presets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
.background-preset {
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: end;
    padding: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
  }
.background-preset:hover {
    border-color: #d19316;
  }
.preset-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  }
.background-preview {
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #374151;
  }
.preview-content {
    padding: 16px;
    font-weight: 600;
  }
/* Avatar Selector Styles */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
  }
.avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
  }
.avatar-option:hover {
    border-color: #d19316;
    background-color: rgba(209, 147, 22, 0.1);
  }
.avatar-option.selected {
    border-color: #d19316;
    background-color: rgba(209, 147, 22, 0.2);
  }
.avatar-option img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    margin-bottom: 8px;
  }
.avatar-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: inherit;
  }
/* Light Mode Support */
.light-mode {
    --ms-bg-primary: linear-gradient(135deg, #eaeaea, #96979a, #eaeaea) !important;
    --ms-bg-secondary: #f8f9fa;
    --ms-text-primary: #1a1a1a;
    --ms-text-secondary: #6b7280;
    --ms-text-muted: #9ca3af;
    --ms-border-color: #e5e7eb;
    --ms-card-bg: linear-gradient(210deg, #ffffff, #f8f9fa);
    --ms-hover-bg: #f3f4f6;
  }
.light-mode body {
    color: var(--ms-text-primary);
  }
.light-mode .ms-container-outer,
  .light-mode .page-container,
  .light-mode .profile-page,
  .light-mode main,
  .light-mode .container {
    color: var(--ms-text-primary);
    background: var(--ms-bg-primary) !important;
  }
.light-mode .ms-card,
  .light-mode .content-card,
  .light-mode .feature-card {
    background: var(--ms-card-bg) !important;
    border: 1px solid var(--ms-border-color) !important;
    color: var(--ms-text-primary);
  }
.light-mode .ms-card-content {
    color: var(--ms-text-primary);
  }
.light-mode .ms-input,
  .light-mode .ms-textarea,
  .light-mode .ms-select,
  .light-mode .form-input,
  .light-mode .form-textarea,
  .light-mode .form-select {
    background: #ffffff !important;
    color: var(--ms-text-primary) !important;
    border-color: var(--ms-border-color) !important;
  }
.light-mode .ms-button-secondary {
    background: var(--ms-bg-secondary) !important;
    color: var(--ms-text-primary) !important;
    border-color: var(--ms-border-color) !important;
  }
.light-mode .ms-dropdown {
    background: var(--ms-card-bg) !important;
    border: 1px solid var(--ms-border-color) !important;
    color: var(--ms-text-primary) !important;
  }
.light-mode .ms-dropdown-item {
    color: var(--ms-text-primary) !important;
  }
.light-mode .ms-dropdown-item:hover {
    background: var(--ms-hover-bg) !important;
  }
.light-mode .theme-picker-modal {
    background: var(--ms-card-bg) !important;
    border: 1px solid var(--ms-border-color) !important;
    color: var(--ms-text-primary) !important;
  }
.light-mode .ms-text-secondary {
    color: var(--ms-text-secondary) !important;
  }
.light-mode h1,
  .light-mode h2,
  .light-mode h3,
  .light-mode h4,
  .light-mode h5,
  .light-mode h6,
  .light-mode .ms-text-primary,
  .light-mode .text-gold-primary {
    color: #d19316 !important;
  }
.light-mode p,
  .light-mode span:not(.chip):not(.status-online):not(.status-offline):not(.status-away),
  .light-mode .text-body {
    color: var(--ms-text-primary) !important;
  }
.light-mode .ms-tab {
    color: var(--ms-text-secondary) !important;
    background: transparent !important;
  }
.light-mode .ms-tab:hover {
    color: #d19316 !important;
    background: rgba(209, 147, 22, 0.1) !important;
  }
.light-mode .ms-tab.active {
    color: #d19316 !important;
    background: rgba(209, 147, 22, 0.1) !important;
  }
.light-mode .ms-label {
    color: var(--ms-text-secondary) !important;
  }
.light-mode .ms-chip {
    background: rgba(209, 147, 22, 0.2) !important;
    color: #d19316 !important;
    border: 1px solid rgba(209, 147, 22, 0.3) !important;
  }
.light-mode .feature-description {
    color: var(--ms-text-secondary) !important;
  }
.light-mode .ms-container-outer {
    background: var(--ms-bg-primary) !important;
  }
/* WordPress integration styles with consistent color usage */
.marketsnap-community {
    background: radial-gradient(#d19316, #000000c9) !important;
    min-height: 100vh;
  }
.marketsnap-community h1 {
    color: rgb(var(--color-gold-primary));
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }
.marketsnap-community h2 {
    color: rgb(var(--color-gold-primary));
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 600;
  }
.marketsnap-community h3 {
    color: rgb(var(--color-gold-primary));
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
  }
.marketsnap-community p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
  }
.light-mode .ms-comment {
    background: radial-gradient(#e5e5ee00, #ebeef0c7) !important;
  }
.light-mode .bg-neutral-dark {
    background-color: #e5e7eb !important;
    color: var(--ms-text-primary) !important;
  }
.light-mode .text-silver-primary {
    color: var(--ms-text-primary) !important;
  }
.light-mode .chip-secondary {
    background-color: rgba(209, 147, 22, 0.15) !important;
    color: #d19316 !important;
    border: 1px solid rgba(209, 147, 22, 0.3) !important;
  }
.light-mode .bg-neutral-dark:hover {
    background-color: rgba(209, 147, 22, 0.1) !important;
    color: #d19316 !important;
  }
.light-mode .hover\\:text-gold-primary:hover {
    color: #d19316 !important;
  }
.light-mode .bg-neutral-dark:hover {
    background-color: rgba(209, 147, 22, 0.1) !important;
    color: #d19316 !important;
}
/* ========================================================================================
   PAGE-SPECIFIC STYLES
   ======================================================================================== */
/* -------- HOME PAGE -------- */
@media(max-width: 768px) {
    .marketsnap-community h1 {
      font-size: 1.5rem;
    }
  
    .hero-subtitle {
      font-size: 0.8rem !important;
    }

  }
.home-container {
    max-width: 950px;
    padding: 5rem 3rem 3rem 3rem !important;
    background: radial-gradient(#d19316 30%, #000000c9 100%), linear-gradient(#000000c9, #d19316, #000000c9), linear-gradient(#00000000 6%, #d19316 8%, #00000000 12%) !important;
  }
@media(max-width: 768px) {
    .home-container {
        padding: 5rem 0.5rem 3rem 0.5rem !important;
    }
  }
.hero-section {
    text-align: center;
    margin: 48px auto;
  }
.hero-title {
    color: #d19316;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 3.5rem;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
  }
.inline-logo {
    height: 4rem;
    width: auto;
    margin-left: 0.5rem;
    vertical-align: middle;
  }
@media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
      flex-direction: column;
      gap: 0.5rem;
    }

    .inline-logo {
      height: 2.8rem;
      margin-left: 0;
    }
  }
.hero-subtitle {
    color: #9ca3af !important;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.3rem !important;
    font-weight: 400;
  }
.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
.hero-button-primary {
    background: linear-gradient(210deg, #c79124, #d19316) !important;
    color: #000000;
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid #3d3d3d;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.2s;
    display: inline-block;
  }
.hero-button-primary:hover {
    background-color: #374151;
  }
.hero-button-secondary {
    border: 1px solid #383a3f;
    color: #d19316;
    background: linear-gradient(210deg, #566271, #353e49) !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.2s;
    display: inline-block;
  }
.hero-button-secondary:hover {
    border-color: #c0c0c0;
    background-color: #566271;
  }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
  }
@media (max-width: 768px) {
    .features-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }
.feature-card {
    padding: 32px;
    height: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #5c5a5a;
    background: linear-gradient(210deg, #3a4553, #1F2937) !important;
  }
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #d19316;
  }
.feature-icon {
    color: #d19316;
    margin-bottom: 16px;
  }
.feature-title {
    color: #d19316;
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
  }
.feature-description {
    color: #9ca3af;
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.5;
    flex-grow: 1;
  }
.feature-button {
    border: 1px solid #d19316;
    color: #d19316;
    background: transparent;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
  }
.feature-button:hover {
    border-color: #b8840f;
    background-color: rgba(245, 158, 11, 0.1);
  }
/* -------- SIGN IN/UP PAGE -------- */
.sign-container {
    padding-top: 10px;
  }
/* -------- WALL PAGE -------- */
.wall-container {
    max-width: 610px;
    padding: 0.5rem !important;
  }
.wall-container .ms-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 20px;
  }
.wall-container .ms-card {
    margin-bottom: 10px;
  }
@media (max-width: 768px) {
    .ms-card-content {
      padding: 1px;
    } 
  }
.ms-user-info {
    display: inline-flex;
  }
.ms-user-info .ms-avatar  {
    margin-right: 10px;
  }
.ms-user-info div:last-of-type {
    padding: 3px;
    line-height: 0.7;
  }
.ms-comment .ms-user-info div:last-of-type {
    padding: 0 1px;
    font-size: 0.7rem;
    line-height: 0.5;
  }
.ms-comment .ms-user-info h6 {
    margin-bottom: 2px !important;
  }
/* -------- PROFILE PAGE -------- */
.profile-container {
    max-width: 610px;
    padding: 0.5rem !important;
  }
.profile-identity {
    position: relative;
    top: 0;
  }
.profile-main {
    min-height: 600px;
    padding: 5px;
    position: relative;
  }
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
@media (max-width: 1024px) {
    .profile-grid {
      grid-template-columns: 1fr;
    }
  }
/* Profile page responsive styling */
@media (max-width: 768px) {
    .profile-container {
      max-width: 100%;
      padding-top: 0.5rem;
    }

    .profile-main {
      min-height: auto;
      padding: 3px;
    }

    .profile-identity .ms-card-content {
      padding: 12px;
    }

    .profile-main .ms-card-content {
      padding: 8px;
    }

    /* Profile photo and cover photo responsive sizing */
    .profile-identity .text-center img {
      max-width: 100%;
      max-height: 100%;
    }

    .profile-identity .relative img {
      max-width: 100%;
      height: auto;
    }

    /* Profile photo container responsive sizing - more subtle */
    .profile-identity .absolute.rounded-full {
      width: 6rem !important;  /* 96px instead of 128px */
      height: 6rem !important;
      left: 1.5rem !important;
      bottom: -1.5rem !important;
    }

    /* Cover photo container responsive sizing - more subtle */
    .profile-identity .relative {
      height: 140px !important;  /* 140px instead of default */
    }

    .profile-identity .relative img {
      height: 140px !important;
      -o-object-fit: cover;
         object-fit: cover;
    }

    /* General ms-card text responsiveness */
    .ms-card h1, .ms-card h2, .ms-card h3, .ms-card h4, .ms-card h5, .ms-card h6 {
      font-size: 1rem;
      line-height: 1.3;
      margin-bottom: 8px;
    }

    .ms-card h2 {
      font-size: 1.125rem;
    }

    .ms-card h3 {
      font-size: 1rem;
    }

    .ms-card h4 {
      font-size: 0.9rem;
    }

    .ms-card p {
      font-size: 0.8rem;
      line-height: 1.4;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .ms-card .text-xs {
      font-size: 0.65rem;
    }

    /* Profile About form responsive styling */
    .profile-main .ms-form-group {
      margin-bottom: 12px;
    }

    .profile-main .ms-input,
    .profile-main .ms-textarea {
      font-size: 14px;
      padding: 8px 12px;
      min-height: auto;
    }

    .profile-main .ms-textarea {
      min-height: 60px;
      font-size: 13px;
      line-height: 1.4;
    }

    .profile-main .ms-label {
      font-size: 12px;
      margin-bottom: 4px;
    }

    .profile-main .ms-grid-2 {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .profile-main .col-span-2 {
      grid-column: span 1;
    }

    /* Profile identity responsive text */
    .profile-identity h2 {
      font-size: 1.125rem;
      line-height: 1.3;
    }

    .profile-identity .ms-text-secondary {
      font-size: 0.8rem;
      line-height: 1.4;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .profile-identity .text-sm {
      font-size: 0.75rem;
    }

    /* Make tabs smaller and scrollable */
    .ms-tabs {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
      margin-bottom: 16px;
    }

    .ms-tab {
      padding: 8px 16px;
      font-size: 13px;
      flex-shrink: 0;
    }

    /* Profile grid responsiveness */
    .profile-main .ms-grid-2 {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    /* Group cards on mobile */
    .profile-main .group-card img {
      height: 120px;
    }

    .profile-main .group-card .ms-card-content {
      padding: 12px;
    }

    .profile-main .group-card h4 {
      font-size: 1rem;
      margin-bottom: 8px;
    }

    .profile-main .group-card p {
      font-size: 0.8rem;
      margin-bottom: 8px;
    }

    /* Smaller chips in profile */
    .profile-main .ms-chip {
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
    }

    /* Avatar groups in profile */
    .profile-main .ms-avatar-group .ms-avatar {
      width: 24px;
      height: 24px;
    }

    /* Button adjustments */
    .profile-main .ms-button {
      padding: 6px 12px;
      font-size: 0.875rem;
    }

    .profile-main .ms-button-primary,
    .profile-main .ms-button-secondary {
      padding: 8px 16px;
      font-size: 0.875rem;
    }

    /* Tab panel padding */
    .profile-main .p-6 {
      padding: 12px;
    }

    /* Space adjustments */
    .profile-main .space-y-6 > * + * {
      margin-top: 16px;
    }

    .profile-main .mb-4 {
      margin-bottom: 12px;
    }

    .profile-main .mb-3 {
      margin-bottom: 8px;
    }

    /* Edit button positioning on mobile */
    .profile-main .ms-card-content {
      padding-top: 48px; /* Make room for edit button */
    }

    /* Watchlist specific responsive styling */
    .profile-main .ms-grid-2 .ms-card h3 {
      font-size: 1rem;
    }

    .profile-main .ms-grid-2 .ms-card .ms-text-secondary {
      font-size: 0.75rem;
    }

    /* Stock item responsive styling */
    .profile-main .ms-flex.ms-justify-between.ms-items-center a {
      font-size: 0.875rem !important;
    }

    .profile-main .ms-flex.ms-justify-between.ms-items-center p {
      font-size: 0.75rem !important;
    }

    .profile-main .ms-button-text {
      font-size: 0.75rem !important;
      padding: 4px 8px;
    }
  }
@media (max-width: 480px) {
    .profile-container {
      padding-top: 0.25rem;
    }

    .profile-main {
      padding: 2px;
    }

    .profile-identity .ms-card-content {
      padding: 8px;
    }

    .profile-main .ms-card-content {
      padding: 6px;
      padding-top: 44px; /* Make room for edit button on very small screens */
    }

    /* Extra small ms-card text sizing */
    .ms-card h1, .ms-card h2, .ms-card h3, .ms-card h4, .ms-card h5, .ms-card h6 {
      font-size: 0.875rem;
      line-height: 1.2;
      margin-bottom: 6px;
    }

    .ms-card h2 {
      font-size: 1rem;
    }

    .ms-card h3 {
      font-size: 0.9rem;
    }

    .ms-card h4 {
      font-size: 0.8rem;
    }

    .ms-card p {
      font-size: 0.7rem;
      line-height: 1.3;
      word-break: break-word;
      -webkit-hyphens: auto;
              hyphens: auto;
    }

    .ms-card .ms-text-secondary {
      font-size: 0.65rem;
      line-height: 1.2;
    }

    .ms-card .text-xs {
      font-size: 0.55rem;
    }

    /* Very small profile form elements */
    .profile-main .ms-input,
    .profile-main .ms-textarea {
      font-size: 12px;
      padding: 6px 10px;
  border-radius: 4px;
    }

    .profile-main .ms-textarea {
      min-height: 50px;
      font-size: 11px;
      line-height: 1.3;
    }

    .profile-main .ms-label {
      font-size: 11px;
      margin-bottom: 3px;
      font-weight: 500;
    }

    .profile-main .ms-form-group {
      margin-bottom: 10px;
    }

    /* Very small identity text */
    .profile-identity h2 {
      font-size: 1rem;
      line-height: 1.2;
    }

    .profile-identity .ms-text-secondary {
      font-size: 0.75rem;
      line-height: 1.3;
      word-break: break-word;
      -webkit-hyphens: auto;
              hyphens: auto;
    }

    .profile-identity .text-sm {
      font-size: 0.7rem;
      line-height: 1.2;
    }

    /* Even smaller tabs */
    .ms-tab {
      padding: 6px 12px;
      font-size: 12px;
    }

    /* Very small group cards */
    .profile-main .group-card img {
      height: 100px;
    }

    .profile-main .group-card .ms-card-content {
      padding: 8px;
    }

    .profile-main .group-card h4 {
      font-size: 0.9rem;
    }

    .profile-main .group-card p {
      font-size: 0.75rem;
    }

    /* Tiny avatars in groups */
    .profile-main .ms-avatar-group .ms-avatar {
      width: 20px;
      height: 20px;
    }

    /* Very small form elements */
    .profile-main .ms-button {
      padding: 4px 8px;
      font-size: 0.8rem;
    }

    .profile-main .ms-button-primary,
    .profile-main .ms-button-secondary {
      padding: 6px 12px;
      font-size: 0.8rem;
    }

    /* Minimal tab panel padding */
    .profile-main .p-6 {
      padding: 8px;
    }

    /* Reduced spacing */
    .profile-main .space-y-6 > * + * {
      margin-top: 12px;
    }

    .profile-main .gap-2 {
      gap: 4px;
    }

    .profile-main .flex-wrap {
      gap: 4px;
    }

    /* Profile identity text sizing */
    .profile-identity h2 {
      font-size: 1.25rem;
    }

    .profile-identity .ms-text-secondary {
      font-size: 0.875rem;
    }

    /* Edit button adjustments for very small screens */
    .profile-main .ms-icon-button {
  width: 32px;
  height: 32px;
    }

    /* Better text handling */
    .profile-main input[type="text"],
    .profile-main input[type="url"],
    .profile-main textarea {
      word-break: normal;
      overflow-wrap: break-word;
    }

    /* Extra small watchlist styling */
    .profile-main .ms-grid-2 .ms-card h3 {
      font-size: 0.9rem;
    }

    .profile-main .ms-grid-2 .ms-card .ms-text-secondary {
      font-size: 0.65rem;
    }

  .light-mode .ms-dropdown-item:hover {
    background: var(--ms-hover-bg) !important;
  }

  /* Extra small stock items */
    .profile-main .ms-flex.ms-justify-between.ms-items-center {
      padding: 8px !important;
    }

    .profile-main .ms-flex.ms-justify-between.ms-items-center a {
      font-size: 0.75rem !important;
    }

    .profile-main .ms-flex.ms-justify-between.ms-items-center p {
      font-size: 0.65rem !important;
    }

    .profile-main .ms-button-text {
      font-size: 0.65rem !important;
      padding: 3px 6px;
    }


    /* Very small profile photo container - better proportional sizing */
    .profile-identity .absolute.rounded-full {
      width: 5rem !important;  /* 80px - better proportion */
      height: 5rem !important;
    }

    /* Very small cover photo container - coordinated sizing */
    .profile-identity .relative {
      height: 125px !important;  /* 125px - better proportion with profile photo */
    }
  }
.remove {
    color: red !important;
  }
/* -------- GROUPS PAGE -------- */
.groups-container {
    max-width: 800px;
    padding: 0.5rem !important;
  }
.groups-container .ms-card select.ms-select {
    max-width: 40%;
  }
.groups-container .ms-grid-2 {
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem !important;
    margin-top: 1rem;
  }
.groups-container .ms-flex-col.ms-gap-4 {
    gap: 1rem;
  }
.groups-container .ms-flex-col.ms-gap-4 .ms-card {
    margin-bottom: 0;
  }
.groups-container .ms-card .ms-gap-4 input {
      font-size: 1rem;
    }
.groups-container .ms-card .ms-gap-4 select {
      font-size: 1rem;
    }
@media (max-width: 1024px) {
    .groups-container .ms-card .ms-gap-4 input {
        font-size: 0.85rem;
    }

    .groups-container .ms-card .ms-gap-4 select {
        font-size: 0.85rem;
    }
    .groups-container .ms-grid-2 {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  }
.groups-container .ms-card {
    transition: all 0.3s ease;
  }
.groups-container .ms-card:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 147, 22, 0.5);
  }
.group-detail-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 32px;
  }
@media (max-width: 1024px) {
    .group-detail-grid {
      grid-template-columns: 1fr;
    }
  }
.group-sidebar {
    order: 2;
  }
@media (max-width: 1024px) {
    .group-sidebar {
      order: 1;
    }
  }
.group-card {
    transition: all 0.3s ease;
  }
.group-card:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 147, 22, 0.5);
  }
/* -------- SETTINGS PAGE -------- */
.set-container .ms-form-group {
    margin-top: 1rem !important;
  }
/* ========================================================================================
   GLOBAL UTILITIES & ANIMATIONS (outside @layer)
   ======================================================================================== */
/* Animation keyframes */
@keyframes metallicShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}
/* Button animation effects */
.ms-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}
.ms-button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}
/* Activity specific styles - same background as comments */
.ms-activity {
  padding: 16px;
  border-radius: 4px;
  background: radial-gradient(#323d4b52, #3a4553c7) !important;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.ms-activity:hover {
  background: radial-gradient(#3a4553c7, #323d4b80) !important;
}
.ms-activity-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ms-activity-body {
  flex: 1;
  min-width: 0;
}
.ms-activity-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 0.1rem;
}
.ms-activity-text {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.ms-activity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ms-activity-link {
  color: #d19316;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.ms-activity-link:hover {
  text-decoration: underline;
}
/* -------- GROUPS PAGE -------- */
/* ========================================================================================
   STRIPE ELEMENTS STYLING
   ======================================================================================== */
.stripe-card-element-container {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: border-color 0.2s;
}
.stripe-card-element-container:focus-within {
  border-color: #F59E0B;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.StripeElement {
  background-color: transparent;
}
.StripeElement--focus {
  border-color: #F59E0B;
}
.StripeElement--invalid {
  border-color: #ef4444;
}
/* Billing dashboard specific styles */
.billing-dashboard .text-gradient {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.billing-dashboard .border-gold-primary {
  border-color: #F59E0B;
}
.billing-dashboard .ring-gold-primary {
  --tw-ring-color: #F59E0B;
}
.billing-dashboard .text-gold-primary {
  color: #F59E0B;
}
/* ========================================================================================
   MEDIA QUERIES
   ======================================================================================== */
/* Large screens (1024px and up) */
@media (min-width: 1024px) {
  .grid-sidebar {
    grid-template-columns: repeat(4, 1fr);
  }

  .sidebar-content {
    grid-column: span 3;
  }

  .sidebar-panel {
    grid-column: span 1;
  }
}
/* Large screens (1024px and down) */
@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .group-detail-grid {
    grid-template-columns: 1fr;
  }

  .group-sidebar {
    order: 1;
  }

  .groups-container .ms-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* -------- SETTINGS PAGE & GENERAL RESPONSIVE -------- */
@media (max-width: 768px) {
    /* Settings page responsive styling */
    .ms-container {
      padding-top: 16px;
      padding-bottom: 16px;
    }

    .ms-container[style*="maxWidth"] {
      max-width: 100% !important;
      padding-left: 8px !important;
      padding-right: 8px !important;
    }

    /* Settings content responsive */
    .ms-card h2 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .ms-card h3 {
      font-size: 1.25rem;
      margin-bottom: 0.75rem;
    }

    .ms-card .ms-form-group {
      margin-bottom: 1rem;
    }

    .ms-card .ms-label {
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
    }

    .ms-card .ms-text-secondary {
      font-size: 0.8rem;
      line-height: 1.4;
    }

    .ms-card .space-y-6 > * + * {
      margin-top: 1rem;
    }

    /* Tab panel responsive */
    .ms-card .p-6 {
      padding: 12px;
    }

    /* Button responsive in settings */
    .ms-card .ms-button {
      font-size: 0.875rem;
      padding: 8px 16px;
    }

    .ms-card .ms-button-outline {
      font-size: 0.875rem;
      padding: 8px 16px;
    }
  }
/* Medium screens (768px and up) */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-controls {
    flex-direction: row;
    align-items: left;
  }
}
/* Medium screens (768px and down) */
@media (max-width: 768px) {
  .marketsnap-community h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  .hero-title {
    font-size: 2.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .inline-logo {
    height: 2.8rem;
    margin-left: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ms-grid-2 {
    grid-template-columns: 1fr;
  }

  .mobile-stack {
    flex-direction: column;
  }

  .mobile-stack > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
    --tw-space-x-reverse: 0;
    margin-right: calc(0px * var(--tw-space-x-reverse));
    margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse)));
  }
.mobile-stack > * + * {
    margin-top: 1rem;
  margin-top: 16px;
  }

  .ms-card-content {
    padding: 8px;
  }

  /* Mobile responsive styles for header */
    .ms-toolbar {
      padding: 6px 12px;
      min-height: 56px;
      gap: 8px;
    }

    .ms-header-left {
      gap: 8px;
    }

    .ms-header-right {
      gap: 8px;
      padding-right: 5px;
    }

    .ms-logo {
      height: 32px;
      max-width: 200px;
    }

    .ms-nav-links {
      gap: 8px;
      margin-left: 8px;
    }

    .ms-nav-link {
      padding: 6px 12px;
      font-size: 0.875rem;
    }

    .ms-media-container {
      width: 36px;
      height: 36px;
    }

    .ms-media-button {
      width: 32px;
      height: 32px;
    }

    .ms-media-button svg {
      width: 18px;
      height: 18px;
    }

    .ms-notification-container {
      width: 36px;
      height: 36px;
    }

    .ms-icon-button {
      width: 36px !important;
      height: 36px !important;
    }

    .user-profile-avatar {
      width: 1.75rem !important;
      height: 1.75rem !important;
    }

    .main-navigation-header .user-profile-avatar {
      width: 1.75rem !important;
      height: 1.75rem !important;
    }

    .ms-auth-button {
      padding: 6px 12px;
      font-size: 0.875rem;
    }

    .ms-search-overlay {
      width: 90%;
      right: 5%;
      top: 70px;
    }

    .ms-search-input {
      height: 2.5rem;
      font-size: 1.2rem;
      padding: 0.4rem 0.8rem;
    }

    .ms-dropdown {
      min-width: 180px;
    }

    .ms-dropdown-item {
      padding: 10px 12px;
      font-size: 0.875rem;
    }

  /* Profile responsive styles */
  .profile-container {
    max-width: 100%;
    padding-top: 0.5rem;
  }

  .profile-main {
    min-height: auto;
    padding: 3px;
  }

  .profile-identity .ms-card-content {
    padding: 12px;
  }

  .profile-main .ms-card-content {
    padding: 8px;
  }

  /* Profile photo and cover photo responsive sizing */
  .profile-identity .text-center img {
    max-width: 100%;
    max-height: 100%;
  }

  .profile-identity .relative img {
    max-width: 100%;
    height: auto;
  }

  .profile-identity .absolute.rounded-full {
    width: 6rem !important;
    height: 6rem !important;
    left: 1.5rem !important;
    bottom: -1.5rem !important;
  }

  .profile-identity .relative {
    height: 140px !important;
  }

  .profile-identity .relative img {
    height: 140px !important;
    -o-object-fit: cover;
       object-fit: cover;
  }

  /* Settings responsive styles */
  .ms-container {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .ms-container[style*="maxWidth"] {
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .ms-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .ms-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .ms-card .ms-form-group {
    margin-bottom: 1rem;
  }

  .ms-card .ms-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .ms-card .ms-select {
    font-size: 0.875rem;
    padding: 8px 12px;
  }

  .ms-card .text-sm {
    font-size: 0.75rem;
  }

  .ms-card .space-y-6 > * + * {
    margin-top: 1rem;
  }

  .ms-card .p-6 {
    padding: 12px;
  }

  .ms-card .ms-button {
    font-size: 0.875rem;
    padding: 8px 16px;
  }

  .ms-card .ms-button-outline {
    font-size: 0.875rem;
    padding: 8px 16px;
  }
}
@media (max-width: 480px) {
    /* Very small settings styling */
    .ms-container[style*="maxWidth"] {
      padding-left: 4px !important;
      padding-right: 4px !important;
      padding-top: 8px !important;
      padding-bottom: 8px !important;
    }

    .ms-card h2 {
      font-size: 1.25rem;
    }

    .ms-card h3 {
      font-size: 1.125rem;
    }

    .ms-card .ms-label {
      font-size: 0.8rem;
    }

    .ms-card .ms-select {
      font-size: 0.8rem;
      padding: 6px 10px;
    }

    .ms-card .p-6 {
      padding: 8px;
    }

    .ms-card .ms-button,
    .ms-card .ms-button-outline {
      font-size: 0.8rem;
      padding: 6px 12px;
    }

    .ms-card .space-y-6 > * + * {
      margin-top: 0.75rem;
    }
  }
/* Small screens (480px and down) */
@media (max-width: 480px) {

  .ms-container-outer {
    padding: 0.3rem;
  }

  .ms-toolbar {
    padding: 4px 4px;
    min-height: 52px;
    gap: 4px;
  }

  .ms-logo {
    height: 28px;
    max-width: 160px;
  }

  .ms-nav-links {
    display: none;
  }

  .ms-media-container {
    width: 28px !important;
    height: 28px !important;
  }

  .ms-media-button {
    width: 28px !important;
    height: 28px !important;
  }

  .ms-media-button svg {
    width: 16px !important;
    height: 16px !important;
  }

  .ms-notification-container {
    width: 32px !important;
    height: 32px !important;
  }

  .ms-icon-button {
    width: 32px !important;
    height: 32px !important;
  }

  .user-profile-avatar {
    width: 1.7rem !important;
    height: 1.7rem !important;
  }

  .main-navigation-header .user-profile-avatar {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }

  .ms-notification-badge {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .ms-search-overlay {
    width: 95%;
    right: 2.5%;
    top: 60px;
  }

  .ms-search-input {
    height: 2.25rem;
    font-size: 1rem;
    padding: 0.35rem 0.6rem;
  }

  /* Settings styles for very small screens */
  .ms-container[style*="maxWidth"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .ms-card h2 {
    font-size: 1.25rem;
  }

  .ms-card h3 {
    font-size: 1.125rem;
  }

  .ms-card .ms-label {
    font-size: 0.8rem;
  }

  .ms-card p-6 {
    padding: 8px;
  }

  .ms-card .ms-button,
  .ms-card .ms-button-outline {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .ms-card .space-y-6 > * + * {
    margin-top: 0.75rem;
  }

  /* Profile styles for very small screens */
  .profile-container {
    padding-top: 0.25rem;
  }

  .profile-main {
    padding: 2px;
  }

  .profile-identity .ms-card-content {
    padding: 8px;
  }

  .profile-main .ms-card-content {
    padding: 6px;
    padding-top: 44px;
  }

  .profile-identity .absolute.rounded-full {
    width: 5rem !important;
    height: 5rem !important;
  }

  .profile-identity .relative {
    height: 125px !important;
  }
}
.ms-card .p-6 {
  padding: 8px;
}
/* ========================================================================================
   LOADING & SPINNER COMPONENTS
   ======================================================================================== */
.ms-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #374151;
  border-radius: 50%;
  border-top-color: #F59E0B;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.ms-py-lg {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.ms-mt-md {
  margin-top: 1rem;
}
.ms-text-center {
  text-align: center;
}
.ms-alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.ms-alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-gray-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
.hover\:border-white:hover {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gold-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700\/30:hover {
  background-color: rgb(55 65 81 / 0.3);
}
.hover\:bg-gray-700\/50:hover {
  background-color: rgb(55 65 81 / 0.5);
}
.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.hover\:bg-neutral-dark:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-gold-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.hover\:text-red-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:opacity-70:hover {
  opacity: 0.7;
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
@media (min-width: 768px) {
  .md\:h-64 {
    height: 16rem;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (prefers-color-scheme: dark) {
  .dark\:bg-yellow-900\/20 {
    background-color: rgb(113 63 18 / 0.2);
  }
}