

/* ═══════════════════════════════════════════════════════════
   Modern Notify Notification System — GenuineIn Design System
   Supports: Tailwind .dark class for dark mode
   ═══════════════════════════════════════════════════════════ */

.notifications-container {
    max-width: 400px;
    width: 100%;
    position: fixed;
    max-height: 100vh;
    z-index: 999999;
    pointer-events: none;
    padding: 16px;
}

    .notifications-container.notify-is-x-center {
        left: 50%;
        transform: translateX(-50%);
    }

    .notifications-container.notify-is-y-center {
        top: 50%;
        transform: translateY(-50%);
    }

    .notifications-container.notify-is-center {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .notifications-container.notify-is-left {
        left: 0;
    }

    .notifications-container.notify-is-right {
        right: 0;
    }

    .notifications-container.notify-is-top {
        top: 0;
    }

    .notifications-container.notify-is-bottom {
        bottom: 0;
    }

    .notifications-container.notify-is-x-center.notify-is-top {
        top: var(--distance);
    }

    .notifications-container.notify-is-x-center.notify-is-bottom {
        bottom: var(--distance);
    }

    .notifications-container > * {
        pointer-events: auto;
    }

.notify {
    --notify-error: #ef4444;
    --notify-success: #10b981;
    --notify-warning: #f59e0b;
    --notify-info: #6366f1;
    --notify-gray: #1e293b;
    --notify-gray-2: #475569;
    --notify-gray-3: #94a3b8;
    --notify-white: #fff;
    --notify-white-2: rgba(255, 255, 255, 0.8);
    --notify-padding: 14px 16px;
    --notify-icon-size: 24px;
    --notify-close-icon-size: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: var(--notify-padding);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
    user-select: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left accent bar */
.notify::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: currentColor;
}

.notify-is-left .notify {
    left: var(--distance);
}

.notify-is-right .notify {
    right: var(--distance);
}

.notify-is-top .notify, .notify-is-center .notify, .notify-is-y-center .notify, .notify-is-x-center.notify-is-top .notify {
    margin-top: var(--gap);
}

.notify-is-bottom .notify, .notify-is-x-center:not(.notify-is-top) .notify {
    margin-bottom: var(--gap);
}

.notify__icon {
    height: var(--notify-icon-size);
    width: var(--notify-icon-size);
    min-width: var(--notify-icon-size);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 1px;
    border-radius: 8px;
    padding: 4px;
}

.notify__icon svg {
    width: 100%;
    height: 100%;
}

.notify__close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    height: var(--notify-close-icon-size);
    width: var(--notify-close-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.15s ease;
    opacity: 0.5;
}

    .notify__close:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.06);
    }

    .notify__close * {
        pointer-events: none;
    }

.notify__close svg {
    width: 14px;
    height: 14px;
}

.notify-content {
    flex: 1;
    min-width: 0;
}

.notify__title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
    padding-right: calc(12px + var(--notify-close-icon-size));
}

.notify__text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-top: 2px;
    opacity: 0.8;
}

/* ── Type 1 — Tinted Background (default, used by ShowMessage) ── */
.notify--type-1 {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04);
}

    .notify--type-1 .notify__close {
        color: var(--notify-gray-3);
    }

    .notify--type-1 .notify__title {
        color: var(--notify-gray);
    }

    .notify--type-1 .notify__text {
        color: var(--notify-gray-2);
    }

/* ── Type 2 — Filled subtle ── */
.notify--type-2 {
    color: var(--notify-gray);
}

/* ── Type 3 — Filled bold ── */
.notify--type-3 {
    color: var(--notify-white);
}

    .notify--type-3 .notify__text {
        color: var(--notify-white-2);
    }

/* ── Error ── */
.notify--error.notify--type-1 {
    background-color: #fef2f2;
    border-color: rgba(239, 68, 68, 0.15);
    color: var(--notify-error);
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}
.notify--error.notify--type-1 .notify__title { color: #991b1b; }
.notify--error.notify--type-1 .notify__text  { color: #b91c1c; }
.notify--error.notify--type-1 .notify__icon  { color: #ef4444; }

.notify--error.notify--type-2, .notify--error.notify--type-3 {
    background-color: var(--notify-error);
}

/* ── Warning ── */
.notify--warning.notify--type-1 {
    background-color: #fffbeb;
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--notify-warning);
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}
.notify--warning.notify--type-1 .notify__title { color: #92400e; }
.notify--warning.notify--type-1 .notify__text  { color: #a16207; }
.notify--warning.notify--type-1 .notify__icon  { color: #f59e0b; }

.notify--warning.notify--type-2, .notify--warning.notify--type-3 {
    background-color: var(--notify-warning);
}

/* ── Success ── */
.notify--success.notify--type-1 {
    background-color: #f0fdf4;
    border-color: rgba(16, 185, 129, 0.15);
    color: var(--notify-success);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}
.notify--success.notify--type-1 .notify__title { color: #065f46; }
.notify--success.notify--type-1 .notify__text  { color: #047857; }
.notify--success.notify--type-1 .notify__icon  { color: #10b981; }

.notify--success.notify--type-2, .notify--success.notify--type-3 {
    background-color: var(--notify-success);
}

/* ═══ DARK MODE — Tailwind .dark class ═══ */
.dark .notify--type-1 {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2);
}
.dark .notify--type-1 .notify__close { color: #94a3b8; }
.dark .notify--type-1 .notify__close:hover { background: rgba(255, 255, 255, 0.08); }
.dark .notify--type-1 .notify__title { color: #f1f5f9; }
.dark .notify--type-1 .notify__text  { color: #94a3b8; }

.dark .notify--error.notify--type-1 {
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}
.dark .notify--error.notify--type-1 .notify__title { color: #fca5a5; }
.dark .notify--error.notify--type-1 .notify__text  { color: #f87171; }
.dark .notify--error.notify--type-1 .notify__icon  { color: #f87171; }

.dark .notify--warning.notify--type-1 {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.2);
}
.dark .notify--warning.notify--type-1 .notify__title { color: #fcd34d; }
.dark .notify--warning.notify--type-1 .notify__text  { color: #fbbf24; }
.dark .notify--warning.notify--type-1 .notify__icon  { color: #fbbf24; }

.dark .notify--success.notify--type-1 {
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.2);
}
.dark .notify--success.notify--type-1 .notify__title { color: #6ee7b7; }
.dark .notify--success.notify--type-1 .notify__text  { color: #34d399; }
.dark .notify--success.notify--type-1 .notify__icon  { color: #34d399; }

/* ── Animations ── */
.notify--fade {
    will-change: opacity;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notify--fadeIn {
    opacity: 1;
}

.notify--slide {
    will-change: opacity, transform;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.21, 1.02, 0.73, 1),
                transform 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
}

.notify-is-center .notify--slide, .notify-is-y-center .notify--slide, .notify-is-x-center:not(.notify-is-bottom) .notify--slide {
    transform: translateY(-20px);
}

.notify-is-x-center.notify-is-bottom .notify--slide {
    transform: translateY(20px);
}

.notify-is-right .notify--slide {
    transform: translateX(calc(var(--distance) + 110%));
}

.notify-is-left .notify--slide {
    transform: translateX(calc((var(--distance) * -1) - 110%));
}

.notify-is-x-center:not(.notify-is-bottom) .notify--slideIn, .notify-is-center .notify--slideIn, .notify-is-y-center .notify--slideIn, .notify-is-x-center.notify-is-bottom .notify--slideIn {
    opacity: 1;
    transform: translateY(0);
}

.notify-is-right .notify--slideIn, .notify-is-left .notify--slideIn {
    opacity: 1;
    transform: translateX(0);
}

/* ── Responsive ── */
@media all and (max-width: 480px) {
    .notifications-container {
        max-width: 100%;
        padding: 12px;
    }
    .notify {
        border-radius: 12px;
    }
}

/*Push notificatio */
* {
  box-sizing: border-box;
}

:root {
  --border-width: 1px;
  --border-color: #cecece;
  --text-color: #000000;

  --knobs-width: 350px;
}

/*.btn {
  will-change: unset !important;
  transform: unset !important;
  transform-style: unset !important;
  font-size: 1rem !important;
}*/

/*html {
 
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f9f9f9;
}*/

/*.logo {
  object-fit: contain;
  max-width: 250px;
  margin-bottom: 1rem;
}*/

.knobs {
  position: fixed;
  height: 100vh;
  overflow: auto;
  width: var(--knobs-width);
  padding: 20px;
  background: #f9f9f9;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: 0.3s ease;
  will-change: transform;
}

.knobs::before {
  content: '';
}

.os-scrollbar-handle {
  background: rgba(0, 0, 0, 0.2) !important;
}

.knobs-title {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/*.page-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}*/

/*.container {
  margin-top: 10rem;
  text-align: center;
}*/

.header {
  /*margin-top: 20px;*/
  /*text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;*/
}

.editor {
  --code-gold: #f584ae;
  --code-aqua: #eaca71;
  --code-orange: #49d8c4;
  --code-error-bg: rgba(255, 59, 59, 0.3);
  --code-class-name: #feb8ff;
  --code-keyword: yellow;
  margin-top: 3rem;
}

pre {
  max-width: 400px;
  background: #334150 !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 1rem !important;
  padding: 1rem !important;
}

code,
pre {
  text-shadow: none !important;
  color: #e0e0e0 !important;
  font-family: 'Fira Code', monospace !important;
  font-size: 14px !important;
}

pre ::selection,
code ::selection {
  background: rgba(255, 255, 255, 0.2) !important;
}

.token {
  background: none !important;
}

.token.function,
.token.punctuation {
  color: #bed2ff;
}

.token.boolean,
.token.number,
.token.tag {
  color: #fff;
  font-weight: 400;
}

.token.operator,
.token.attr-name {
  color: var(--code-gold);
}

.token.class-name {
  color: var(--code-class-name);
}

.token.keyword {
  color: var(--code-keyword);
}

.token.string,
.token.attr-value {
  color: var(--code-aqua);
}

@media screen and (max-width: 1360px) {
  /*.page-container {
    padding-left: var(--knobs-width);
  }*/
  /*.container {
    margin-top: 8rem;
  }*/
}

@media screen and (max-width: 800px) {
  .knobs {
    transform: translateX(-100%);
  }
  .page-container {
    padding-left: 0;
  }
  /*.container {
    margin-top: 5rem;
  }*/
}
