          body {
              display: flex;
              flex-direction: column;
              margin: 0;
              padding: 0;
              height: 100vh;
              box-sizing: border-box;
              background-color: #0F172A;
              color: #E2E8F0;
              font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
              overflow: hidden;
          }

          /* Update header styles to be smaller */
          .header {
              position: fixed;
              top: 0;
              left: 0;
              right: 0;
              height: 110px;  /* Increased from 85px */
              background: #1E293B;
              border-bottom: 1px solid #334155;
              padding: 0;    /* Removed padding */
              z-index: 1000;
              box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
          }

          .header.visible {
              display: flex;  /* Show header when visible class is added */
          }

          /* Add these styles for the header layout */
          .header-content {
              display: flex;
              align-items: center;
              width: 90%;
              max-width: 1400px;
              padding: 0 20px;
          }

          img.header-img {
            height: 100px;
            margin-top: 5px;
          }

          .bi-logo-link {
              display: flex;
              align-items: center;
              transition: opacity 0.2s;
          }

          .bi-logo-link:hover {
              opacity: 0.8;
          }

          .bi-logo-corner {
              position: absolute;
              top: 20px;
              right: 20px;
              z-index: 1000;
              transition: opacity 0.2s;
              display: inline-block;
          }

          .bi-logo-corner:hover {
              opacity: 0.8;
          }

          .bi-logo {
              height: 50px;
              width: auto;
              display: block;
          }

          .top-row {
              display: flex;
              align-items: center;
              gap: 20px;
          }

          .logo-container {
              display: flex;
              align-items: center;
              gap: 15px;
          }

          .logo {
              width: 75px;
              height: 75px;
          }

          .app-title p {
              font-size: 36pt;
              color: #F8FAFC;
              margin: 0;
              line-height: 1;
              white-space: nowrap; /* Prevent text wrapping */
              background: #0F172A; /* Darker background for contrast */
          }

          .left-panel {
              width: 400px;
              display: flex;
              flex-direction: column;
              background-color: #1E293B;
              border-right: 1px solid #334155;
              overflow: hidden;
              height: 100vh;
          }

          .left-panel > div:last-child {
              flex: 1;
              display: flex;
              flex-direction: column;
              min-height: 0;
          }



      .left-panel-header h2 {
              margin: 0;
              /* padding-top: 4px;  /* Added padding at the top of the text */
              padding: 10px 10px 10px 10px;  /* Added specific bottom padding */
              font-size: 18px;
              color: #F8FAFC;
              font-weight: 600;
      }

          .color-editor-header h2 {
              margin: 0;
              /* padding-top: 4px;  /* Added padding at the top of the text */
              padding: 10px 10px 10px 10px;  /* Added specific bottom padding */
              font-size: 18px;
              color: #F8FAFC;
              font-weight: 600;
          }

          .delete-button,
          .undo-button,
          .icon-button {
              padding: 8px;
              background-color: transparent;
              border: none;
              border-radius: 4px;
              cursor: not-allowed;
              display: flex;
              align-items: center;
              justify-content: center;
              width: 50px;
              height: 50px;
              transition: all 0.2s;
              color: #6c757d;  /* Added this line to set initial gray color */
          }

          /* Remove any default color that might be overriding */
          .icon-button:disabled {
              color: #6c757d !important;  /* Force gray color when disabled */
          }

          .delete-button svg,
          .undo-button svg,
          .icon-button svg {
              width: 30px;  /* Increased from 18px */
              height: 30px;  /* Increased from 18px */
          }

          .delete-button {
              color: #6c757d;  /* Default gray color */
          }

          .delete-button:not(:disabled) {
              color: #EF4444;  /* Red when enabled */
              cursor: pointer;
          }

          .delete-button:not(:disabled):hover {
              background-color: rgba(239, 68, 68, 0.1);
          }

          .undo-button {
              color: #6c757d;  /* Default gray color */
          }

          .undo-button:not(:disabled) {
              color: #0EA5E9;  /* Blue when enabled */
              cursor: pointer;
          }

          .undo-button:not(:disabled):hover {
              background-color: rgba(14, 165, 233, 0.1);
          }


          .undo-button-editor {
            padding: 8px;
            background-color: transparent;
            border: none;
            border-radius: 4px;
            cursor: not-allowed;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            transition: all 0.2s;
            color: #6c757d; /* Default gray color */
        }

        .undo-button-editor:not(:disabled) {
            color: #f46511; /* Orange when enabled */
            cursor: pointer;
        }

        .undo-button-editor:not(:disabled):hover {
            background-color: rgba(24, 101, 17, 0.1);
        }

        .undo-button-editor svg {
            width: 30px;
            height: 30px;
}

          #palettesContainer {
            flex: 1;
            min-height: 0;
            padding: 24px;
            padding-bottom: 100px; /* Extra padding at bottom for scrollability */
            overflow-y: auto;
            background: #0F172A; /* Darker background for contrast */
          }

          .right-panel {
              flex: 1;
              display: flex;
              flex-direction: column;
              background: #1E293B;
              overflow: hidden;
          }

          .file-input-container {
              position: fixed;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              background: #0F172A;
              border: none;
              width: 100vw;
              height: 100vh;
              display: flex;
              align-items: center;
              justify-content: center;
              padding: 20px;
              margin: 0;
              max-width: none;
              max-height: none;
              z-index: 100;
          }

          /* Update the welcome-content style */
          .welcome-content {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 30px;
              max-width: 1200px;
              padding: 40px;
          }

          /* Add style for the title section */
          .welcome-header {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 10px;
              text-align: center;
              margin-bottom: 20px;
          }

          /* Add style for the columns container */
          .welcome-columns {
              display: flex;
              flex-direction: row;
              gap: 30px;
              width: 100%;
          }

          /* Update welcome-column-left to remove title-related items */
          .welcome-column-left {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;  /* Changed from center */
              gap: 20px;  /* Reduced from 40px */
              flex: 1;
              padding: 20px;
              position: relative;  /* Added for absolute positioning of children */
          }

          /* Update the welcome-logo styles */
          .welcome-logo {
              width: 400px;
              height: 400px;
              margin-bottom: -20px;  /* Reduced negative margin */
          }

          .welcome-title {
              color: #F8FAFC;
              font-size: 48px;  /* Made larger */
              margin: 0 0 20px 0;  /* Added bottom margin */
              text-align: center;
          }

          .welcome-description {
              color: #94A3B8;
              font-size: 24px;
              line-height: 1.6;
              margin: 0;
              text-align: left;  /* Align text to the left */
          }

          /* Update the welcome-by styles */
          .welcome-by {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 10px;
              margin-top: -25px;  /* Changed from -40px to -25px to move down 15px */
              position: relative;
          }

          .welcome-by span {
              color: #94A3B8;
              font-size: 24px;
          }

          /* Update the welcome-bi-logo styles */
          .welcome-bi-logo {
              height: 50px;
              width: auto;
              margin-top: 0;
          }

          /* Remove focus outline from Boulder Insight link */
          .welcome-by a {
              outline: none;
          }

          .welcome-by a:focus {
              outline: none;
          }

          /* Update the welcome-button styles */
          .welcome-button {
              padding: 20px 40px;
              background: #0EA5E9;
              color: white;
              border: none;
              border-radius: 8px;
              cursor: pointer;
              font-size: 20px;
              font-weight: 500;
              transition: background-color 0.2s;
              margin-top: 15px;  /* Changed from 30px to 15px to match spacing */
          }

          .welcome-button:hover {
              background: #0284C7;
          }

          #fileInput {
              display: none;
          }

          .help-icon-container {
              margin-top: 15px;
              text-align: center;
          }

          .help-icon {
              position: relative;
              display: inline-flex;
              align-items: center;
              justify-content: center;
              color: #94A3B8;
              cursor: help;
              padding: 5px;
              border-radius: 50%;
              transition: color 0.2s ease;
          }

          .help-icon:hover,
          .help-icon:focus {
              color: #0EA5E9;
              outline: none;
          }

          .help-tooltip {
              visibility: hidden;
              opacity: 0;
              position: absolute;
              top: 100%;
              left: 50%;
              transform: translateX(-50%);
              width: 300px;
              padding: 12px 15px;
              background: #1E293B;
              color: #F8FAFC;
              font-size: 13px;
              line-height: 1.5;
              border-radius: 8px;
              border: 1px solid #334155;
              box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
              z-index: 1000;
              margin-top: 8px;
              transition: opacity 0.2s ease, visibility 0.2s ease;
              text-align: left;
              pointer-events: none;
          }

          .help-tooltip::after {
              content: '';
              position: absolute;
              bottom: 100%;
              left: 50%;
              transform: translateX(-50%);
              border-width: 6px;
              border-style: solid;
              border-color: transparent transparent #1E293B transparent;
          }

          .help-icon:hover .help-tooltip,
          .help-icon:focus .help-tooltip {
              visibility: visible;
              opacity: 1;
          }

          .file-input-label {
              font-size: 18px;
              color: #F8FAFC;
              margin-bottom: 10px;
          }

          .file-input-button {
              padding: 15px 30px;
              background: #0EA5E9;
              color: white;
              border: none;
              border-radius: 5px;
              cursor: pointer;
              font-size: 16px;
          }

          .file-input-button:hover {
              background: #0284C7;
          }

          .palette-container {
              margin-bottom: 20px;
              padding: 15px;
              border: 1px solid #475569;
              border-radius: 5px;
              background-color: #334155;
              cursor: move;
              user-select: none;
              transition: all 0.2s;
          }

          .palette-container:hover {
              transform: translateY(-1px);
              box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
          }

          .palette-drag-handle {
              cursor: move;
              padding: 5px;
              margin-right: 5px;
              color: #6c757d;
          }

          .palette-drag-handle:hover {
              color: #495057;
          }

          .palette-header {
              display: flex;
              align-items: center;
              gap: 10px;
              margin-bottom: 10px;
              width: 100%;
          }

          .palette-name-container {
              display: flex;
              align-items: center;
              gap: 8px;
              flex: 1;
          }

          .palette-name {
              font-weight: bold;
              color: #F8FAFC;
              flex: 1;
          }

          .palette-name-input {
              flex: 1;
              background: #1E293B;
              border: 1px solid #0EA5E9;
              border-radius: 4px;
              padding: 4px 8px;
              color: #F8FAFC;
              font-size: inherit;
              font-family: inherit;
              outline: none;
          }

          .edit-name svg {
              width: 14px;
              height: 14px;
          }

          .palette-checkbox {
              width: 18px;
              height: 18px;
              cursor: pointer;
          }

          .color-blocks {
              display: grid;
              grid-template-columns: repeat(7, 35px);
              gap: 5px;
              padding: 8px;
              border: 2px solid transparent;
              border-radius: 5px;
              position: relative;
              cursor: pointer;
              background-color: #1E293B;
              width: fit-content;
          }

          .color-block {
              width: 35px;
              height: 35px;
              border: 1px solid #ddd;
              border-radius: 3px;
          }

          .color-editor {
              flex: 1;
              display: flex;
              flex-direction: column;
              overflow: hidden;
          }

          .color-editor-content {
              flex: 1;
              overflow-y: auto;
              display: flex;
              flex-direction: column;
              background: #0F172A;
          }

          .left-panel-header, .color-editor-header {
              height: 50px; /* or your desired height */
              padding: 12px 20px;
              line-height: 1.5; /* Ensures text is vertically centered */
              display: flex;
              align-items: center; /* Centers content vertically */
              background: #334155; /* Set the same background color */
              color: #F8FAFC;
              font-weight: 600;
          }
          .color-blocks-editor {
              padding: 24px;
              background: #0F172A; /* Darker background for contrast */
          }

          /* Update the color-block-editor class */
          .color-block-editor {
              position: relative;
              width: 175px;  /* Ensure consistent width */
              height: 175px; /* Ensure consistent height */
              border-radius: 4px;
              cursor: pointer;
              transition: transform 0.2s;
              box-shadow: 0 2px 4px rgba(0,0,0,0.1);
              border: 1px solid #ddd;
              margin-right: 0;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              text-align: center;
          }

          .color-block-editor.dragging {
              opacity: 0.5;
              cursor: grabbing;
              transform: scale(1.05);
          }

          .color-block-editor:hover {
              transform: scale(1.05);
          }

          .color-strip {
              display: grid;
              grid-template-columns: repeat(7, 175px);
              grid-auto-rows: 175px;
              gap: 20px; /* Keep the gap at 20px */
              padding: 20px;
              justify-content: start;
              align-items: center;
          }

          .color-gap {
              width: 20px;
              height: 100px;
              cursor: pointer;
              transition: all 0.2s;
              position: relative;
          }

          .color-gap:hover::after {
              content: "+";
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              color: #F8FAFC;
              font-size: 20px;
          }


          /* Update app-content margin to match new header height */
          .app-content {
              display: flex;
              width: 100%;
              height: calc(100vh - 110px);  /* Changed from calc(100vh - 85px) */
              margin-top: 110px;            /* Changed from 85px */
              position: fixed;
              left: 0;
              right: 0;
              bottom: 0;
              overflow: hidden;
          }

          /* Update the save button styles to match other icons */
          .save-button {
              padding: 8px;
              background-color: transparent;
              color: #6c757d;  /* Default gray color */
              border: none;
              border-radius: 4px;
              cursor: not-allowed;
              display: flex;
              align-items: center;
              justify-content: center;
              width: 36px;
              height: 36px;
              transition: all 0.2s;
          }

          .save-button:not(:disabled) {
              color: #0EA5E9;  /* Blue when enabled */
              cursor: pointer;
          }

          .save-button:not(:disabled):hover {
              background-color: rgba(14, 165, 233, 0.1);
          }

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

          .palette-container.dragging {
              opacity: 0.5;
              background: #1E293B;
          }

          #colorEditorTitle {
            color: #f46511;
            background: transparent;
            font-weight: normal;
            margin: 0;
            padding: 12px 24px;
          }

          /* Update the editor-buttons styles */
          .editor-buttons {
              display: flex;
              gap: 12px;  /* Single consistent gap between all buttons */
              align-items: center;
              margin-left: 40px;  /* Keep the left margin */
          }

          /* Remove the button-group class and its styles since we don't need grouping anymore */
          .editor-button {
              padding: 8px 16px;
              background: #6c757d;  /* Default gray color */
              color: white;
              border: none;
              border-radius: 6px;
              cursor: not-allowed;  /* Show not-allowed cursor when disabled */
              font-size: 16px;
              font-weight: 500;
              transition: all 0.2s;
              min-width: 160px;
              height: 40px;
              display: flex;
              align-items: center;
              justify-content: center;
              opacity: 0.7;  /* Slightly dimmed when disabled */
          }

          .editor-button-right {
              background: #f46511 !important;
          }

          .editor-button-right:disabled {
              background: #6c757d !important;
              cursor: not-allowed;
              opacity: 0.7;
          }

          .editor-button:not(:disabled) {
              background: #0EA5E9;  /* Blue when enabled */
              cursor: pointer;
              opacity: 1;
          }

          .editor-button:not(:disabled):hover {
              background: #0284C7;
              transform: translateY(-1px);
          }

          .palette-container {
              cursor: grab;
          }

          .palette-container.dragging {
              opacity: 0.5;
              cursor: grabbing;
          }

          .color-block-editor.empty {
              width: 175px;
              height: 175px;
              border: 2px dashed #475569;
              background-color: transparent;
              cursor: pointer;
              display: flex;
              justify-content: center;
              align-items: center;
              text-align: center;
              padding: 0;  /* Remove padding */
              margin: 0;   /* Remove margin */
          }

          .color-block-editor.empty .color-info {
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              width: 100%;
              height: 100%;
          }

          .color-block-editor.empty:hover {
              border-color: #0EA5E9;
              transform: scale(1.05);
          }

          .color-picker-dialog {
              position: fixed;
              background: #1E293B;
              border: 1px solid #334155;
              border-radius: 8px;
              padding: 15px;
              box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
              display: flex;
              flex-direction: column;
              gap: 10px;
              z-index: 1000;
              min-width: 250px;
          }

          .color-inputs {
              display: flex;
              flex-direction: column;
              gap: 15px;
          }

          .color-preview {
              display: flex;
              justify-content: center;
          }

          .color-picker {
              width: 100px;
              height: 40px;
              padding: 0;
              border: none;
              border-radius: 4px;
              cursor: pointer;
          }

          .hex-input-container {
              display: flex;
              gap: 5px;
          }

          .color-input {
              padding: 8px;
              background: #0F172A;
              border: 1px solid #334155;
              border-radius: 4px;
              color: #F8FAFC;
              font-family: monospace;
          }

          .hex-input {
              flex: 1;
          }

          .enter-button {
              padding: 0 10px;
              background: #0EA5E9;
              color: white;
              border: none;
              border-radius: 4px;
              cursor: pointer;
          }

          .color-values {
              display: flex;
              gap: 10px;
          }

          .rgb-input {
              width: 60px;
          }

          .color-picker-buttons {
              display: flex;
              gap: 10px;
              margin-top: 15px;
          }

          .color-picker-button {
              flex: 1;
              padding: 8px;
              border: none;
              border-radius: 4px;
              cursor: pointer;
              color: white;
          }

          .apply-button {
              background: #0EA5E9;
          }

          .cancel-button {
              background: #475569;
          }

          .color-options-dialog {
              position: fixed;
              background: #1E293B;
              border: 1px solid #334155;
              border-radius: 8px;
              padding: 15px;
              box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
              z-index: 1000;
              display: flex;
              flex-direction: column;
              gap: 10px;
          }

          .color-option-button {
              padding: 8px 16px;
              border: none;
              border-radius: 4px;
              cursor: pointer;
              font-size: 14px;
              color: white;
              text-align: left;
              transition: all 0.2s;
          }

          .edit-color-button {
              background: #0EA5E9;
          }

          .delete-color-button {
              background: #EF4444;
          }

          .move-color-button {
              background: #8B5CF6;
          }

          .color-options-menu {
              background: #1E293B;
              border: 1px solid #334155;
              border-radius: 8px;
              padding: 8px;
              display: flex;
              flex-direction: column;
              gap: 4px;
              box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          }

          .color-option {
              padding: 8px 16px;
              background: none;
              border: none;
              color: #F8FAFC;
              cursor: pointer;
              text-align: left;
              border-radius: 4px;
              transition: background-color 0.2s;
              white-space: nowrap;
          }

          .color-option:hover {
              background: #334155;
          }

          .color-option.delete {
              color: #EF4444;
          }

          .color-option.delete:hover {
              background: rgba(239, 68, 68, 0.1);
          }

          .interpolate-button {
              position: absolute;
              right: -19.5px; /* Fine-tuned from -18.5px to -19.5px for perfect centering */
              top: 50%;
              transform: translateY(-50%);
              width: 24px;
              height: 24px;
              border-radius: 50%;
              background: #334155;
              color: #F8FAFC;
              display: flex;
              align-items: center;
              justify-content: center;
              cursor: pointer;
              font-size: 16px;
              transition: all 0.2s;
              border: 1px solid #ddd;
              z-index: 2;
          }

          .interpolate-button:hover {
              background: #475569;
              transform: translateY(-50%) scale(1.1);
              border-color: #ddd;  /* Keep border color consistent on hover */
          }

          .color-info {
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              display: flex;
              flex-direction: column;
              gap: 8px;
              pointer-events: none;
              text-shadow: 0 0 2px rgba(0,0,0,0.5);
              white-space: normal;  /* Changed from nowrap to allow line breaks */
              text-align: center;
              width: 90%;
              padding: 0 10px;
              z-index: 1;
          }

          .color-info span:first-child { /* Color name */
              font-size: 24px;
              font-weight: 400;
              margin-top: -20px;  /* Move text up */
              line-height: 1.2;  /* Add line height for better readability with breaks */
          }

          .color-info span:nth-child(2) { /* Hex value */
              font-size: 20px;
              opacity: 0.9;
              font-weight: 400;
          }

          .color-info span:last-child { /* RGB value */
              font-size: 16px;
              font-weight: 400;
              font-style: normal;
          }

          .debug-panel {
              position: fixed;
              bottom: 20px;
              right: 20px;
              background: rgba(30, 41, 59, 0.9);
              padding: 15px;
              border-radius: 8px;
              border: 1px solid #334155;
              font-family: monospace;
              color: #F8FAFC;
              max-width: 300px;
              z-index: 1000;
          }

          .color-block-editor {
              position: relative;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              text-align: center;
              font-family: monospace;
              font-size: 12px;
          }

          .color-info {
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              display: flex;
              flex-direction: column;
              gap: 4px;
              pointer-events: none;
          }

          .color-editor-panel {
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
              gap: 10px;
              padding: 15px;
          }

          .color-box {
              margin: 0;
          }

          .drag-handle {
              color: #64748B;
              cursor: grab;
              padding: 4px;
              display: flex;
              align-items: center;
              margin-right: 5px;
          }

          .drag-handle:hover {
              color: #94A3B8;
          }

          .drag-handle svg {
              width: 20px;
              height: 20px;
          }

          .palette-container.dragging .drag-handle {
              cursor: grabbing;
          }

          .palette-container .color-info {
              display: none;
          }

          /* Make sure the color blocks in the palette container match */
          .palette-container .color-block-editor {
              width: 35px;
              height: 35px;
              margin: 0;
          }

          /* Hide color info in palette previews */
          .palette-container .color-info {
              display: none;
          }

          .header-buttons {
              display: flex;
              gap: 12px;
              align-items: center;
              justify-content: flex-end;  /* Align buttons to the right */
          }

          .undo-button:not(:disabled) {
              color: #0EA5E9;
              cursor: pointer;
          }

          .undo-button:not(:disabled):hover {
              background-color: rgba(14, 165, 233, 0.1);
          }

          .color-block-editor {
              /* Existing styles... */
              position: relative;
          }

          /* Update the color-block-actions class */
          .color-block-actions {
              position: absolute;
              bottom: 12px;
              width: calc(100% - 24px);
              display: flex;
              justify-content: space-between;
              padding: 0 12px;
              opacity: 0.5;
              transition: opacity 0.2s;
              align-items: center;
          }

          .color-block-editor:hover .color-block-actions {
              opacity: 1;
          }

          /* Update the color-action-button class */
          .color-action-button {
              width: 36px;  /* Reduced from 40px */
              height: 36px; /* Reduced from 40px */
              background: rgba(0, 0, 0, 0.5);
              border: none;
              border-radius: 6px;
              cursor: pointer;
              display: flex;
              align-items: center;
              justify-content: center;
              color: white;
              transition: background-color 0.2s;
              padding: 6px;  /* Reduced from 8px */
          }

          .color-action-button:hover {
              background: rgba(0, 0, 0, 0.7);
          }

          /* Update the SVG size in the buttons */
          .color-action-button svg {
              width: 24px;
              height: 24px;
              display: block;
              margin: auto;  /* Added to help with centering */
          }

          /* Add to your style section */
          #fileNameDisplay {
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              cursor: help;
              font-weight: normal;
              color: #0EA5E9;
              background: #0F172A;
              margin: 0;
              padding: 12px 24px;
          }

          /* Add to your style section */
          .color-block-editor {
              cursor: grab;
          }

          .color-block-editor.dragging {
              opacity: 0.5;
              cursor: grabbing;
          }

          .color-strip {
              position: relative;
          }

          .color-strip::after {
              content: '';
              position: absolute;
              left: 0;
              right: 0;
              height: 2px;
              background: transparent;
              pointer-events: none;
          }

          .color-strip.dragging-over::after {
              background: #0EA5E9;
          }

          .color-input option {
              background-color: #1E293B;
              color: #F8FAFC;
              padding: 10px;
              margin: 5px 0;
          }

          .color-input option:hover {
              background-color: #334155;
          }

          .button-group {
              display: flex;
              gap: 8px;
              padding: 0 8px;
              border-right: 1px solid #334155;
          }

          .button-group:last-child {
              border-right: none;
              padding-right: 0;
          }

          .button-group:first-child {
              padding-left: 0;
          }

          /* Remove the Save Changes button from the top header */
          .header .save-button {
              display: none;
          }

          /* Update the save button in the left panel */
          .left-panel-header .save-button {
              padding: 8px 16px;
              background-color: #0EA5E9;
              color: white;
              border: none;
              border-radius: 4px;
              cursor: pointer;
              display: flex;
              align-items: center;
              gap: 8px;
              font-size: 14px;
              font-weight: 500;
          }

          .left-panel-header .save-button:hover {
              background-color: #0284C7;
          }

          .left-panel-header .save-button svg {
              width: 16px;
              height: 16px;
          }

          /* Update the icon button styles */
          .icon-button:not(:disabled) {
              color: #0EA5E9;  /* Blue when enabled */
              cursor: pointer;
          }

          .icon-button:not(:disabled):hover {
              background-color: rgba(14, 165, 233, 0.1);
          }

          .palette-actions {
              display: flex;
              gap: 8px;
              margin-left: auto;
          }

          .palette-action-button {
              padding: 4px;
              background: transparent;
              border: none;
              border-radius: 4px;
              cursor: pointer;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #94A3B8;
              transition: all 0.2s;
          }

          .palette-action-button:hover {
              background: rgba(14, 165, 233, 0.1);
              color: #0EA5E9;
          }

          .palette-action-button svg {
              width: 20px;
              height: 20px;
          }

          .dragging {
              opacity: 0.5;
              cursor: grabbing;
          }

          .drag-over {
              border: 2px dashed #0EA5E9;
          }

          .color-block-editor {
              cursor: grab;
              user-select: none;
              position: relative;
          }

          .color-block-editor.dragging {
              opacity: 0.5;
              cursor: grabbing;
          }

          .color-strip {
              position: relative;
              padding: 20px;
              gap: 11px;
              display: grid;
              grid-template-columns: repeat(7, 175px);
              grid-auto-rows: 175px;
              justify-content: start;
              align-items: center;
          }

          .drag-indicator {
              position: absolute;
              width: 20px;
              height: 175px;
              background: #FFFFFF;
              z-index: 100;
              transition: all 0.2s ease;
              border-radius: 2px;
              box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
              margin-left: -10px;
              opacity: 0.7;
          }

          #gradientPreset option {
              padding: 10px 10px 10px 80px; /* Add padding on left for gradient preview */
              margin: 2px 0;
              min-height: 40px;
              position: relative;
              background-color: #1E293B !important;
              color: #F8FAFC;
          }

          #gradientPreset option::before {
              content: '';
              position: absolute;
              left: 10px;
              top: 50%;
              transform: translateY(-50%);
              width: 60px;
              height: 20px;
              border-radius: 4px;
              border: 1px solid #334155;
          }

          /* Add specific gradient previews for each option */

          
          #gradientPreset option[value="Sunset"]::before {
              background: linear-gradient(to right, #FF8C00, #FF0080);
          }
          #gradientPreset option[value="Ocean"]::before {
              background: linear-gradient(to right, #006994, #87CEEB);
          }
          #gradientPreset option[value="Forest"]::before {
              background: linear-gradient(to right, #228B22, #90EE90);
          }
          #gradientPreset option[value="Fire"]::before {
              background: linear-gradient(to right, #FF4500, #FFD700);
          }
          #gradientPreset option[value="Purple Rain"]::before {
              background: linear-gradient(to right, #4B0082, #9370DB);
          }
          #gradientPreset option[value="Autumn"]::before {
              background: linear-gradient(to right, #8B4513, #FFA500);
          }
          #gradientPreset option[value="Spring"]::before {
              background: linear-gradient(to right, #98FB98, #FFB6C1);
          }
          #gradientPreset option[value="Winter"]::before {
              background: linear-gradient(to right, #4682B4, #F0F8FF);
          }
          #gradientPreset option[value="Summer"]::before {
              background: linear-gradient(to right, #FFD700, #87CEEB);
          }

          #gradientPreset {
              background: #1E293B;
              color: #F8FAFC;
              border: 1px solid #334155;
              border-radius: 4px;
              padding: 8px;
              width: 100%;
              cursor: pointer;
          }

          #gradientPreset:focus {
              outline: none;
              border-color: #0EA5E9;
          }

          #gradientPreset option:hover {
              background-color: #334155 !important;
          }

          #gradientPreset option:checked {
              background-color: #0EA5E9 !important;
              color: #FFFFFF;
          }

          /* Update the color-action-button SVG size */
          .color-action-button svg {
              width: 24px; /* Increased from 20px */
              height: 24px; /* Increased from 20px */
          }

          /* Add these styles for custom dialogs */
          .custom-dialog-overlay {
              position: fixed;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              background: rgba(0, 0, 0, 0.5);
              display: flex;
              align-items: center;
              justify-content: center;
              z-index: 2000;
          }

          .custom-dialog {
              background: #1E293B;
              border: 1px solid #334155;
              border-radius: 8px;
              padding: 20px;
              max-width: 400px;
              width: 90%;
              box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          }

          .custom-dialog-title {
              color: #F8FAFC;
              font-size: 18px;
              margin: 0 0 15px 0;
          }

          .custom-dialog-message {
              color: #94A3B8;
              margin-bottom: 20px;
              line-height: 1.5;
          }

          .custom-dialog-buttons {
              display: flex;
              gap: 10px;
              justify-content: flex-end;
          }

          .custom-dialog-button {
              padding: 8px 16px;
              border: none;
              border-radius: 6px;
              cursor: pointer;
              font-size: 14px;
              font-weight: 500;
              transition: all 0.2s;
          }

          .custom-dialog-button.primary {
              background: #0EA5E9;
              color: white;
          }

          .custom-dialog-button.primary:hover {
              background: #0284C7;
          }

          .custom-dialog-button.secondary {
              background: #475569;
              color: white;
          }

          .custom-dialog-button.secondary:hover {
              background: #334155;
          }

          .custom-dialog-button.danger {
              background: #EF4444;
              color: white;
          }

          .custom-dialog-button.danger:hover {
              background: #DC2626;
          }

          /* Add these styles for the welcome-by section */
          .welcome-by {
              display: flex;
              flex-direction: column;
              align-items: center;
              gap: 10px;
              margin-top: -25px;  /* Changed from -40px to -25px to move down 15px */
              position: relative;
          }

          .welcome-by span {
              color: #94A3B8;
              font-size: 24px;
          }

          /* Add styles for color groupings dialog */
          .color-group {
              background: rgba(0, 0, 0, 0.2);
              border-radius: 8px;
              padding: 15px;
          }

          .color-option {
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          }

          .color-option:hover {
              box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          }

          /* Add these new styles within the existing <style> tag */
          .welcome-column-left {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;  /* Changed from center */
              gap: 20px;  /* Reduced from 40px */
              flex: 1;
              padding: 20px;
              position: relative;  /* Added for absolute positioning of children */
          }

          .welcome-column-right {
              display: flex;
              flex-direction: column;
              justify-content: center;
              flex: 1;
              padding: 20px;
          }

          .editor-button-right {
              background-color: #f46511; /* Orange color */
              color: white;
          }

          .editor-button-right:hover {
              background-color: #d35400; /* Darker orange on hover */
          }

          .colorblindness-preview {
              margin-top: 2rem;
              width: calc(100% - 200px); /* Reduced to start after first column */
              margin-left: 200px; /* Align with second column of color blocks */
              padding: 0;
          }

          .preview-grid {
              display: grid;
              grid-template-columns: repeat(2, 1fr);
              grid-template-rows: repeat(2, auto);
              gap: 3rem 4rem;
              width: 100%;
              max-width: 1200px; /* Increased to allow for better spacing */
              margin: 0; /* Keep left alignment */
          }

          .preview-item {
              display: flex;
              flex-direction: column;
              align-items: flex-start; /* Left align items */
          }

          .preview-item h3 {
              margin-bottom: 1rem;
              font-size: 1rem;
              color: #fff;
              text-align: left; /* Left align text */
          }

          .preview-colors {
              display: grid;
              grid-template-columns: repeat(7, 35px);
              gap: 5px;
              justify-content: start; /* Left align color blocks */
          }

          .preview-colors .color-block {
              width: 35px;
              height: 35px;
              border-radius: 4px;
              border: 1px solid #ddd;
              position: relative;
          }

          /* Remove the hover tooltip style */
          .preview-colors .color-block:hover::before {
              content: none;
          }

          /* Update the indicator style to use ::before instead of ::after */
          .preview-colors .color-block.similar-warning::before,
          .preview-colors .color-block.good-contrast::before {
              content: var(--indicator-content, '✓');
              position: absolute;
              top: -8px;
              left: 50%;
              transform: translateX(-50%);
              width: 16px;
              height: 16px;
              background: var(--indicator-color, #1E293B);
              color: white;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 12px;
              font-weight: bold;
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
              z-index: 1;
          }

          .preview-colors .color-block.similar-warning::before {
              --indicator-content: attr(data-conflicts);
              --indicator-color: #EF4444;
          }

          /* Add the single hover tooltip style */
          .preview-colors .color-block:hover::after {
              content: attr(title);
              position: absolute;
              top: 50%;
              left: calc(100% + 8px);
              transform: translateY(-50%);
              padding: 8px;
              background: #1E293B;
              color: white;
              border-radius: 4px;
              font-size: 12px;
              white-space: pre;
              z-index: 10;
              max-width: 300px;
              text-align: left;
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
          }

          /* Handle tooltips that might go off-screen */
          @media (max-width: 1200px) {
              .preview-colors .color-block:last-child:hover::after {
                  left: auto;
                  right: calc(100% + 8px);
              }
          }

          /* Removed color number indicator - no longer needed */

          /* Add max conflicts in top left */
          .color-block-editor[data-max-conflicts]::after {
              content: attr(data-max-conflicts);
              position: absolute;
              top: 8px;
              left: 8px;
              background: #EF4444;
              color: white;
              padding: 2px 6px;
              border-radius: 4px;
              font-size: 12px;
              font-weight: bold;
              z-index: 2;
          }

          /* Auth Modal Styles */
          .auth-overlay {
              position: fixed !important;
              top: 0 !important;
              left: 0 !important;
              right: 0 !important;
              bottom: 0 !important;
              background: rgba(0, 0, 0, 0.7) !important;
              display: flex !important;
              align-items: center !important;
              justify-content: center !important;
              z-index: 10000 !important;
          }

          .auth-modal {
              background: #1E293B;
              border-radius: 12px;
              padding: 40px;
              width: 100%;
              max-width: 400px;
              position: relative;
              border: 1px solid #334155;
              box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
          }

          .auth-modal h2 {
              margin: 0 0 8px 0;
              font-size: 24px;
              color: #F8FAFC;
          }

          .auth-subtitle {
              margin: 0 0 24px 0;
              color: #94A3B8;
              font-size: 14px;
          }

          .auth-close {
              position: absolute;
              top: 16px;
              right: 16px;
              background: none;
              border: none;
              color: #94A3B8;
              font-size: 24px;
              cursor: pointer;
              padding: 4px 8px;
              line-height: 1;
          }

          .auth-close:hover {
              color: #F8FAFC;
          }

          .auth-field {
              margin-bottom: 16px;
          }

          .auth-field label {
              display: block;
              margin-bottom: 6px;
              font-size: 14px;
              color: #E2E8F0;
          }

          .auth-field input {
              width: 100%;
              padding: 12px;
              background: #0F172A;
              border: 1px solid #334155;
              border-radius: 6px;
              color: #F8FAFC;
              font-size: 14px;
              box-sizing: border-box;
          }

          .auth-field input:focus {
              outline: none;
              border-color: #0EA5E9;
          }

          .auth-field input::placeholder {
              color: #64748B;
          }

          .auth-error {
              color: #EF4444;
              font-size: 13px;
              margin-bottom: 16px;
              min-height: 20px;
          }

          .auth-submit {
              width: 100%;
              padding: 12px;
              background: #0EA5E9;
              color: white;
              border: none;
              border-radius: 6px;
              font-size: 16px;
              font-weight: 500;
              cursor: pointer;
              transition: background 0.2s;
          }

          .auth-submit:hover {
              background: #0284C7;
          }

          .auth-submit:disabled {
              background: #6c757d;
              cursor: not-allowed;
          }

          .auth-switch {
              margin-top: 20px;
              text-align: center;
              font-size: 14px;
              color: #94A3B8;
          }

          .auth-switch a {
              color: #0EA5E9;
              text-decoration: none;
          }

          .auth-switch a:hover {
              text-decoration: underline;
          }

          .auth-forgot {
              margin-top: 15px;
              text-align: center;
              font-size: 13px;
          }

          .auth-forgot a {
              color: #64748B;
              text-decoration: none;
          }

          .auth-forgot a:hover {
              color: #0EA5E9;
              text-decoration: underline;
          }

          /* Paywall Modal Styles */
          .paywall-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: 10000;
          }

          .paywall-modal {
              background: #1E293B;
              border-radius: 12px;
              padding: 40px;
              width: 100%;
              max-width: 420px;
              position: relative;
              border: 1px solid #334155;
              box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
              text-align: center;
          }

          .paywall-modal h2 {
              margin: 0 0 8px 0;
              font-size: 24px;
              color: #F8FAFC;
          }

          .paywall-subtitle {
              margin: 0 0 24px 0;
              color: #94A3B8;
              font-size: 14px;
          }

          .paywall-close {
              position: absolute;
              top: 16px;
              right: 16px;
              background: none;
              border: none;
              color: #94A3B8;
              font-size: 24px;
              cursor: pointer;
              padding: 4px 8px;
              line-height: 1;
          }

          .paywall-close:hover {
              color: #F8FAFC;
          }

          .paywall-plan {
              background: #0F172A;
              border-radius: 8px;
              padding: 24px;
              border: 1px solid #334155;
          }

          .paywall-plan h3 {
              margin: 0 0 16px 0;
              font-size: 18px;
              color: #F8FAFC;
          }

          .paywall-price {
              margin-bottom: 20px;
          }

          .paywall-amount {
              font-size: 36px;
              font-weight: 700;
              color: #0EA5E9;
          }

          .paywall-period {
              font-size: 16px;
              color: #94A3B8;
          }

          .paywall-features {
              list-style: none;
              padding: 0;
              margin: 0 0 20px 0;
              text-align: left;
          }

          .paywall-features li {
              padding: 8px 0;
              color: #E2E8F0;
              font-size: 14px;
              display: flex;
              align-items: center;
              gap: 8px;
          }

          .paywall-features li::before {
              content: '✓';
              color: #10B981;
              font-weight: bold;
          }

          .paywall-subscribe {
              width: 100%;
              padding: 14px;
              background: #0EA5E9;
              color: white;
              border: none;
              border-radius: 6px;
              font-size: 16px;
              font-weight: 600;
              cursor: pointer;
              transition: background 0.2s;
          }

          .paywall-subscribe:hover {
              background: #0284C7;
          }

          .paywall-subscribe:disabled {
              background: #6c757d;
              cursor: not-allowed;
          }

          .paywall-fine-print {
              margin: 12px 0 0 0;
              font-size: 12px;
              color: #64748B;
          }

          .paywall-logout {
              margin-top: 20px;
              padding: 10px;
              background: none;
              border: none;
              color: #94A3B8;
              font-size: 13px;
              cursor: pointer;
              text-decoration: underline;
          }

          .paywall-logout:hover {
              color: #E2E8F0;
          }

          /* User Account Button */
          .user-account-btn {
              display: flex;
              align-items: center;
              gap: 6px;
              padding: 6px 12px;
              background: transparent;
              border: 1px solid #334155;
              border-radius: 6px;
              color: #E2E8F0;
              font-size: 13px;
              cursor: pointer;
              transition: all 0.2s;
              white-space: nowrap;
              flex-shrink: 0;
          }

          .user-account-btn:hover {
              background: #334155;
              border-color: #475569;
          }

          .user-account-btn svg {
              width: 16px;
              height: 16px;
              flex-shrink: 0;
          }

          .user-status-indicator {
              font-size: 12px;
              padding: 2px 8px;
              border-radius: 4px;
              margin-left: 8px;
          }

          .user-status-trial {
              background: #f46511;
              color: white;
          }

          .user-status-subscriber {
              background: #10B981;
              color: white;
          }
/* Auth buttons on landing page */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
}

.welcome-button-primary {
    background: #0EA5E9;
    color: white;
}

.welcome-button-primary:hover {
    background: #0284C7;
}

.welcome-button-secondary {
    background: transparent;
    border: 2px solid #0EA5E9;
    color: #0EA5E9;
}

.welcome-button-secondary:hover {
    background: rgba(14, 165, 233, 0.1);
}

/* Import button in header */
#importPrefsBtn {
    margin-right: 10px;
}

/* Ensure dialogs are hidden by default */
dialog:not([open]) {
    display: none;
}

/* When dialog is shown as modal */
dialog[open] {
    display: flex;
}

/* Welcome Modal Styles */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.welcome-modal {
    background: #1E293B;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.welcome-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #64748B;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    transition: color 0.2s;
}

.welcome-close:hover {
    color: #F8FAFC;
}

.welcome-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 35px 40px 25px;
    text-align: center;
    border-bottom: 1px solid #334155;
}

.welcome-header h2 {
    color: #F8FAFC;
    font-size: 28px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.welcome-subtitle {
    color: #94A3B8;
    font-size: 16px;
    margin: 0;
}

.welcome-content {
    padding: 10px 40px 20px;
}

.welcome-content > p {
    color: #CBD5E1;
    font-size: 15px;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.welcome-step {
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #0EA5E9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: #F8FAFC;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.step-content p {
    color: #94A3B8;
    font-size: 14px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.path-box {
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.path-label {
    color: #64748B;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.path-box code {
    color: #0EA5E9;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    word-break: break-all;
}

.highlight-btn {
    display: inline-block;
    background: #0EA5E9;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: none;
}

.highlight-btn.clickable {
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.highlight-btn.clickable:hover {
    background: #0284C7;
    transform: scale(1.05);
}

.highlight-btn.orange {
    background: #f46511;
}

.welcome-tip {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
}

.welcome-tip strong {
    color: #0EA5E9;
}

.welcome-cta {
    display: block;
    width: calc(100% - 80px);
    margin: 0 40px 15px;
    padding: 14px 24px;
    background: #0EA5E9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.welcome-cta:hover {
    background: #0284C7;
}

.welcome-skip {
    display: block;
    width: calc(100% - 80px);
    margin: 0 40px 30px;
    padding: 12px 24px;
    background: transparent;
    color: #64748B;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.welcome-skip:hover {
    color: #94A3B8;
    border-color: #475569;
}

/* Help Button in Header */
.help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    background: transparent;
    border: 1px solid #475569;
    border-radius: 50%;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s;
}

.help-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: #0EA5E9;
    color: #0EA5E9;
}

.help-btn svg {
    width: 36px;
    height: 36px;
}

/* Dialog Close Button */
.dialog-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #475569;
    border-radius: 50%;
    color: #94A3B8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.dialog-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
    color: #EF4444;
}

/* Account Dropdown Menu */
.account-menu {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
}

.account-menu-header {
    padding: 12px 16px;
    background: #0F172A;
}

.account-menu-email {
    color: #F8FAFC;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
}

.account-menu-divider {
    height: 1px;
    background: #334155;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #E2E8F0;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}

.account-menu-item:hover {
    background: rgba(14, 165, 233, 0.1);
}

.account-menu-item svg {
    color: #94A3B8;
    flex-shrink: 0;
}

.account-menu-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.account-menu-logout:hover svg {
    color: #EF4444;
}

/* Feedback Dialog */
.feedback-dialog {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    min-width: 400px;
}

.feedback-dialog[open] {
    display: block;
}

.feedback-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.feedback-content {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #334155;
}

.feedback-header h2 {
    margin: 0;
    color: #F8FAFC;
    font-size: 20px;
    font-weight: 600;
}

.feedback-close {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.feedback-close:hover {
    color: #EF4444;
}

#feedbackForm {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.feedback-field {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.feedback-field label {
    display: block;
    color: #E2E8F0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.feedback-field select,
.feedback-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #F8FAFC;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.feedback-field select:focus,
.feedback-field textarea:focus {
    outline: none;
    border-color: #0EA5E9;
}

.feedback-field textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-field select option {
    background: #1E293B;
    color: #F8FAFC;
}

.feedback-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 8px;
}

.feedback-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.feedback-btn-cancel {
    background: transparent;
    border: 1px solid #334155;
    color: #94A3B8;
}

.feedback-btn-cancel:hover {
    border-color: #475569;
    color: #E2E8F0;
}

.feedback-btn-submit {
    background: #0EA5E9;
    border: none;
    color: white;
}

.feedback-btn-submit:hover {
    background: #0284C7;
}

.feedback-btn-submit:disabled {
    background: #475569;
    cursor: not-allowed;
}
