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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1e1e1e;
  color: #d4d4d4;
  overflow: hidden;
}

.CodeMirror {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
}

.CodeMirror-gutters {
  background: #1e1e1e !important;
  border-right: 1px solid #3e3e42 !important;
}

.CodeMirror-linenumber {
  color: #858585 !important;
}

.CodeMirror-cursor {
  border-left: 2px solid #4ec9b0 !important;
}

.CodeMirror-selected {
  background: #3e3e42 !important;
}

.CodeMirror-line::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line > span > span::selection {
  background: #3e3e42 !important;
}

.navbar {
  background: #2d2d30;
  border-bottom: 1px solid #3e3e42;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #4ec9b0;
  text-decoration: none;
  transition: color 0.2s;
}

.logo:hover {
  color: #5dd3ba;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-menu a {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: #4ec9b0;
}

.nav-menu a.active {
  border-bottom-color: #4ec9b0;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}


.btn {
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-primary {
  background: #4ec9b0;
  color: #1e1e1e;
  font-weight: 500;
  border: none;
  display: inline-block;
  width: auto;
  text-decoration: none;
}

.btn-primary:hover:not(:disabled) {
  background: #5dd3ba;
}

.btn-primary:disabled {
  background: #3e3e42 !important;
  color: #858585 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.btn-secondary {
  background: transparent;
  color: #d4d4d4;
  border: 1px solid #3e3e42;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #4ec9b0;
  color: #4ec9b0;
}

.user-text {
  font-size: 14px;
  color: #d4d4d4;
  margin-right: 10px;
}

.btn-logout {
  padding: 5px 12px;
  font-size: 13px;
}

.btn-token {
  padding: 6px 16px;
  min-width: auto;
  width: auto;
}

.btn-ai-toggle {
  background: #3e3e42;
  color: #d4d4d4;
  border: 1px solid #505053;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  text-decoration: none;
  font-weight: 500;
}

.btn-ai-toggle:hover {
  background: #505053;
  border-color: #4ec9b0;
  color: #4ec9b0;
}

.btn-ai-toggle.active {
  background: #4ec9b0;
  color: #1e1e1e;
  border-color: #4ec9b0;
}

.main-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tabs {
  background: #2d2d30;
  border-bottom: 1px solid #3e3e42;
  display: none;
  align-items: center;
  padding: 0 10px;
  min-height: 35px;
}

.tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: #969696;
  cursor: pointer;
  font-size: 13px;
  border-right: 1px solid #3e3e42;
  transition: background 0.2s;
  position: relative;
}

.tab.active {
  color: #d4d4d4;
  background: #1e1e1e;
}

.tab:hover {
  background: #2a2d2e;
}

.editor-area {
  flex: 1;
  background: #1e1e1e;
  padding: 0;
  overflow: hidden;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.code-input {
  flex: 1;
  border-bottom: 2px solid #3e3e42;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.CodeMirror {
  height: 100% !important;
  font-size: 13px;
  font-family: "Consolas", "Courier New", monospace;
}

.code-input .CodeMirror {
  height: 100% !important;
}

.output-panel {
  position: relative;
  padding: 20px;
  overflow: auto;
  background: #1e1e1e;
  height: 300px;
  min-height: 100px;
}

.resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  cursor: ns-resize;
  background: transparent;
  z-index: 10;
}

.resize-handle:hover,
.resize-handle.dragging {
  background: #4ec9b0;
}

.output-header {
  color: #8a8a8a;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  display: flex;
  align-items: center;
}

.output-header .toolbar-btn {
  margin: 0;
  padding: 4px 12px;
  font-size: 12px;
  text-transform: none;
}

.output-header .toolbar-btn.active {
  background: #4ec9b0;
  color: #1e1e1e;
}

.output-header .toolbar-btn.active::before {
  content: "✓ ";
}

.line-error {
  background: rgba(230, 95, 85, 0.3);
}

.test-result {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
}

.test-pass {
  color: #4ec9b0;
  margin-bottom: 8px;
}

.test-pass::before {
  content: "✓ ";
  color: #4ec9b0;
  font-weight: bold;
}

.test-name {
  color: #d4d4d4;
}

.test-duration {
  color: #858585;
  margin-left: 8px;
}

.result-table {
  border-collapse: collapse;
  margin: 10px 0;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  background: #252526;
  border: 1px solid #3e3e42;
}

.result-table thead th {
  background: #2d2d30;
  color: #4ec9b0;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid #3e3e42;
  text-align: center;
}

.result-table tbody th {
  background: #2d2d30;
  color: #4ec9b0;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid #3e3e42;
  text-align: right;
}

.result-table td {
  padding: 6px 12px;
  border: 1px solid #3e3e42;
  color: #d4d4d4;
  text-align: right;
}

.result-table tr:hover {
  background: #2a2d2e;
}

/* Builds table styles */
.builds-table-container {
  margin-top: 20px;
  overflow-x: auto;
}

.builds-table {
  width: 100%;
  border-collapse: collapse;
  background: #252526;
  border: 1px solid #3e3e42;
  font-size: 14px;
}

.builds-table thead th {
  background: #2d2d30;
  color: #4ec9b0;
  font-weight: 600;
  padding: 12px 16px;
  border: 1px solid #3e3e42;
  text-align: left;
}

.builds-table tbody td {
  padding: 12px 16px;
  border: 1px solid #3e3e42;
  color: #d4d4d4;
}

.builds-table tbody tr:hover {
  background: #2a2d2e;
}

.repo-name {
  font-weight: 500;
  color: #d4d4d4;
}

.owner-badge-small {
  display: inline-block;
  padding: 4px 10px;
  background: #3e3e42;
  border-radius: 12px;
  font-size: 13px;
  color: #d4d4d4;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  text-transform: capitalize;
}

.status-completed {
  background: rgba(78, 201, 176, 0.2);
  color: #4ec9b0;
}

.status-in-progress {
  background: rgba(206, 145, 120, 0.2);
  color: #ce9178;
}

.status-queued {
  background: rgba(86, 156, 214, 0.2);
  color: #569cd6;
}

.status-failed {
  background: rgba(244, 71, 71, 0.2);
  color: #f44747;
}

.build-date {
  color: #858585;
  font-size: 13px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #4ec9b0;
  color: #1e1e1e;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download:hover {
  background: #5dd3ba;
}

.btn-download svg {
  width: 14px;
  height: 14px;
}

.download-pending {
  color: #858585;
  font-size: 14px;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #858585;
  background: #252526;
  border: 1px solid #3e3e42;
  border-radius: 4px;
  margin-top: 20px;
}

.empty-state p {
  margin: 0;
}

.builds-info {
  margin-top: 20px;
  padding: 16px;
  background: rgba(206, 145, 120, 0.1);
  border: 1px solid rgba(206, 145, 120, 0.3);
  border-radius: 4px;
}

.builds-info .info-text-small {
  color: #d4d4d4;
  margin: 0;
}

.toolbar {
  background: #2d2d30;
  border-bottom: 1px solid #3e3e42;
  padding: 10px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.toolbar .btn-ai-toggle {
  margin-left: auto;
}

.toolbar-btn {
  background: #3e3e42;
  border: none;
  color: #d4d4d4;
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.toolbar-btn:hover {
  background: #505053;
}

.toolbar-btn.run {
  background: #4ec9b0;
  color: #1e1e1e;
  font-weight: 500;
}

.toolbar-btn.run:hover:not(:disabled) {
  background: #5dd3ba;
}

.toolbar-btn.disabled-preview {
  opacity: 0.5;
  cursor: not-allowed;
}

.toolbar-btn.disabled-preview:hover {
  background: #3e3e42;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 0 10px;
  }

  .navbar-left {
    gap: 15px;
  }

  .logo {
    font-size: 18px;
  }

  .navbar-right {
    gap: 8px;
  }

  .user-text {
    display: none;
  }

  .btn-ai-toggle {
    display: none;
  }
}

.cm-s-dark.CodeMirror {
  background: rgb(37, 37, 37);
  color: rgb(204, 204, 204);
}
.cm-s-dark div.CodeMirror-selected {
  background: rgb(11, 90, 175) !important;
}
.cm-s-dark .CodeMirror-gutters {
  background: rgb(50, 50, 50);
  border-right: 0px;
}
.cm-s-dark .CodeMirror-linenumber {
  color: rgb(204, 204, 204);
}
.cm-s-dark .CodeMirror-cursor {
  border-left: 1px solid rgb(204, 204, 204) !important;
}

.cm-s-dark span.cm-comment {
  color: rgb(102, 102, 102);
}
.cm-s-dark span.cm-atom {
  color: rgb(255, 198, 0);
}
.cm-s-dark span.cm-number {
  color: rgb(255, 198, 0);
}

.cm-s-dark span.cm-keyword {
  color: rgb(248, 109, 124);
}
.cm-s-dark span.cm-string {
  color: rgb(173, 241, 149);
}

.cm-s-dark span.cm-variable {
  color: rgb(204, 204, 204);
}
.cm-s-dark span.cm-builtin {
  color: rgb(132, 214, 247);
}
.cm-s-dark span.cm-xllify-function {
  color: rgb(255, 165, 0);
  font-weight: 600;
}
.cm-s-dark span.cm-bracket {
  color: rgb(204, 204, 204);
}
.cm-s-dark span.cm-tag {
  color: rgb(255, 0, 0);
}

.cm-s-dark .CodeMirror-matchingbracket {
  text-decoration: underline;
  color: white !important;
}
.cm-s-dark .CodeMirror-activeline-background {
  background: #202020;
}

.ai-panel {
  background: #252526;
  border-top: 2px solid #3e3e42;
  display: none;
  flex-direction: column;
  min-height: 200px;
  max-height: 400px;
}

.ai-panel.visible {
  display: flex;
}

.ai-header {
  background: #2d2d30;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3e3e42;
}

.ai-title {
  font-size: 14px;
  font-weight: 600;
  color: #4ec9b0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  letter-spacing: 0.5px;
}

.btn-icon {
  background: transparent;
  border: 1px solid #3e3e42;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 3px;
  transition: all 0.2s;
  color: #d4d4d4;
}

.btn-icon:hover {
  background: transparent;
  border-color: #4ec9b0;
  color: #4ec9b0;
}

.btn-copy {
  color: #858585;
  border-color: #3e3e42;
}

.btn-copy:hover {
  color: #858585;
  border-color: #858585;
}

.ai-input-container {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  background: #252526;
  border-bottom: 1px solid #3e3e42;
}

#ai-prompt {
  flex: 1;
  background: #1e1e1e;
  border: 1px solid #3e3e42;
  border-radius: 4px;
  color: #d4d4d4;
  padding: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 14px;
  resize: vertical;
  min-height: 60px;
  max-height: 150px;
}

#ai-prompt:focus {
  outline: none;
  border-color: #4ec9b0;
}

.btn-send {
  background: #4ec9b0;
  color: #1e1e1e;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s;
  align-self: flex-start;
}

.btn-send:hover {
  background: #5dd3ba;
}

.btn-send:disabled {
  background: #3e3e42;
  color: #858585;
  cursor: not-allowed;
}

.mockup-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: #2d2d30;
  border-left: 3px solid #4ec9b0;
  color: #a0a0a0;
  font-size: 12px;
  margin-bottom: 10px;
}

.mockup-icon {
  font-size: 14px;
}

.ai-response {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

.ai-response:empty::before {
  content: "xllifyAI is just a mockup at the moment";
  color: #858585;
}

.ai-response ul {
  margin: 8px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.ai-response li {
  margin: 4px 0;
  line-height: 1.5;
}

.ai-message {
  margin-bottom: 15px;
  padding: 12px;
  background: #2d2d30;
  border-radius: 4px;
  border-left: 3px solid #4ec9b0;
}

.ai-error {
  color: #e65f55;
  background: #2d2d30;
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #e65f55;
}

.ai-loading {
  color: #858585;
  font-style: italic;
}

.ai-status {
  background: #2d2d30;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #4ec9b0;
  margin-bottom: 12px;
  border-left: 3px solid #4ec9b0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #2d2d30;
  border-radius: 6px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #3e3e42;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #d4d4d4;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #3e3e42;
  border-radius: 4px;
  color: #d4d4d4;
  padding: 10px;
  font-size: 13px;
  font-family: "Consolas", monospace;
}

.form-input:focus {
  outline: none;
  border-color: #4ec9b0;
}

.form-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #858585;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #3e3e42;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
}

.modal-footer .btn-primary {
  background: #4ec9b0;
  color: #1e1e1e;
  border: none;
}

.modal-footer .btn-primary:hover {
  background: #5dd3ba;
}

.modal-footer .btn-secondary {
  background: transparent;
  color: #d4d4d4;
  border: 1px solid #3e3e42;
}

.modal-footer .btn-secondary:hover {
  border-color: #4ec9b0;
  color: #4ec9b0;
}

.home-container {
  flex: 1;
  overflow-y: auto;
  padding: 40px 20px;
}

.home-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card {
  background: #2d2d30;
  border: 1px solid #3e3e42;
  border-radius: 6px;
  padding: 24px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.card-description {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #3e3e42;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #a0a0a0;
  font-size: 14px;
  font-weight: 500;
}

.info-value {
  color: #d4d4d4;
  font-size: 14px;
  font-weight: 400;
}

.token-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.token-display {
  background: #1e1e1e;
  border: 1px solid #3e3e42;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.token-display.hidden {
  display: none;
}

.hidden {
  display: none;
}

.token-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #3e2a1f;
  border: 1px solid #6b4423;
  border-radius: 4px;
  color: #f5c97a;
  font-size: 13px;
}

.token-error {
  padding: 12px 16px;
  background: #3e1f1f;
  border: 1px solid #6b2323;
  border-radius: 4px;
  color: #f48771;
  font-size: 14px;
}

.warning-icon {
  font-size: 16px;
}

.token-value-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #252526;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #3e3e42;
}

.token-value {
  flex: 1;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  color: #4ec9b0;
  word-break: break-all;
  user-select: all;
}

.token-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-text {
  color: #a0a0a0;
  font-size: 13px;
}

.info-text-small {
  color: #858585;
  font-size: 12px;
}

.integration-steps {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 15px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4ec9b0;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 2px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 8px;
}

.step-text {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.6;
}

.inline-code {
  background: #1e1e1e;
  color: #4ec9b0;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
}

.yaml-preview {
  background: #1e1e1e;
  border: 1px solid #3e3e42;
  border-radius: 4px;
  overflow: hidden;
}

.yaml-header {
  background: #2d2d30;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3e3e42;
}

.yaml-title {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 12px;
  color: #a0a0a0;
}

.yaml-content {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.yaml-content code {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #d4d4d4;
  display: block;
}

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #6b4423 0%, #3e2a1f 100%);
  color: #f5c97a;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #6b4423;
  margin-left: auto;
}

.mockup-badge::before {
  content: "✨";
  font-size: 14px;
}

.warning-banner {
  background: #3e2a1f;
  border: 1px solid #6b4423;
  border-radius: 6px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5c97a;
  font-size: 14px;
  line-height: 1.5;
}

.warning-banner .warning-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.warning-link {
  color: #4ec9b0;
  text-decoration: underline;
  transition: color 0.2s;
}

.warning-link:hover {
  color: #5dd3ba;
}

.owners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.owner-badge {
  background: #1e1e1e;
  color: #4ec9b0;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  border: 1px solid #3e3e42;
  transition: all 0.2s;
  display: inline-block;
}

.owner-badge:hover {
  border-color: #4ec9b0;
  background: #252526;
}

.loading-text {
  color: #858585;
  font-size: 14px;
  font-style: italic;
}

.info-row-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.info-hint {
  color: #858585;
  font-size: 12px;
  margin-top: 2px;
}


.yaml-key {
  color: #569cd6;
}

.yaml-string {
  color: #ce9178;
}

.yaml-bracket {
  color: #d4d4d4;
}

.yaml-variable {
  color: #4ec9b0;
  font-weight: 500;
}

.welcome-section {
  text-align: center;
  padding: 10px 20px 20px 20px;
}

.welcome-title {
  font-size: 40px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.welcome-subtitle {
  font-size: 18px;
  color: #a0a0a0;
  font-weight: 400;
}

.info-panel {
  background: #3e2a1f;
  border: 1px solid #6b4423;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.info-panel-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.6;
  padding-top: 2px;
}

.info-panel-content {
  flex: 1;
}

.info-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #f5c97a;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.info-panel-text {
  color: #f5c97a;
  font-size: 13px;
  line-height: 1.6;
}

.info-panel-link {
  color: #4ec9b0;
  text-decoration: underline;
  transition: color 0.2s;
}

.info-panel-link:hover {
  color: #5dd3ba;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-card {
  background: #2d2d30;
  border: 1px solid #3e3e42;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card-clickable {
  text-decoration: none;
  cursor: pointer;
  display: block;
}

.feature-card-preview {
  position: relative;
  overflow: hidden;
}

.preview-ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(135deg, #6b4423 0%, #3e2a1f 100%);
  color: #f5c97a;
  padding: 5px 40px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid #6b4423;
}

.feature-card-clickable:hover {
  border-color: #4ec9b0;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(78, 201, 176, 0.1);
}

.feature-card:hover {
  border-color: #4ec9b0;
  transform: translateY(-5px);
  cursor: pointer;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.feature-description {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.6;
}

.cta-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.btn-large {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 768px) {
  .home-content {
    padding: 20px 10px;
    padding-bottom: 40px;
  }

  .card {
    padding: 20px;
  }

  .step {
    flex-direction: column;
    gap: 10px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .warning-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .owners-list {
    flex-direction: column;
  }

  .welcome-title {
    font-size: 36px;
  }

  .welcome-subtitle {
    font-size: 18px;
  }

  .info-panel {
    flex-direction: column;
    gap: 15px;
  }

  .cta-section {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-large {
    text-align: center;
  }

  .home-footer {
    margin-bottom: 20px;
  }
}

.home-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #3e3e42;
  text-align: left;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.footer-link {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #4ec9b0;
}

.footer-separator {
  color: #3e3e42;
  font-size: 12px;
}

.footer-copyright {
  color: #858585;
  font-size: 11px;
}

.feedback-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feedback-option {
  text-align: center;
  padding: 20px;
  background: #1e1e1e;
  border-radius: 6px;
  border: 1px solid #3e3e42;
}

.feedback-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feedback-option-title {
  font-size: 16px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.feedback-option-text {
  font-size: 14px;
  color: #a0a0a0;
  line-height: 1.6;
}

.feedback-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #3e3e42;
  text-align: center;
}

.feedback-cta-text {
  font-size: 16px;
  color: #d4d4d4;
  margin-bottom: 10px;
}

.feedback-email {
  color: #4ec9b0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.feedback-email:hover {
  color: #5dd3ba;
  text-decoration: underline;
}

.mobile-message-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  overflow-y: auto;
}

.mobile-message-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.mobile-message-title {
  font-size: 28px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.mobile-message-text {
  font-size: 16px;
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 15px;
  max-width: 500px;
}

.mobile-screenshot {
  margin-top: 30px;
  max-width: 90%;
  width: 100%;
}

.mobile-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #3e3e42;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-screenshot-caption {
  font-size: 14px;
  color: #858585;
  margin-top: 15px;
  font-style: italic;
}
