/* --- Migrated from styles.css to remove styles.css dependency --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f5f6f8;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-muted: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-soft: #edf0f4;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-strong: 0 16px 36px rgba(17, 24, 39, 0.18);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Manrope, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.layout {
  display: flex;
  min-height: 100vh;
  gap: 16px;
  padding: 16px;
}


.nav-links {
  margin-top: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.nav-item--bottom {
  margin-top: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 16px;
}

.nav-item:hover {
  background: #f5f6f8;
  color: #111827;
}

.nav-item.active {
  background: linear-gradient(135deg, #111827, #000);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}


.nav-item--disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.content {
  flex: 1;
  border: 0;
  border-radius: var(--radius-lg);
  padding: 16px 18px 22px;
  background: transparent;
  box-shadow: none;
}

.content-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(120px, 1fr);
  align-items: end;
  margin-bottom: 14px;
  column-gap: 16px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}

.content-page-title {
  margin: 0;
  letter-spacing: -0.02em;
  text-align: center;
  font-size: 20px;
}

.selected-app-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.selected-app-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.selected-app-switcher {
  min-width: 260px;
  max-width: 420px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--text);
}

.app-nav-title {
  margin-top: 10px;
}


.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  margin-left: auto;
}

.dashboard-page .content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-page .content-header h1 {
  margin: 0;
}

.step-indicator {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--text-muted);
}

.user-profile-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: none;
}

.logout-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: none;
  font-weight: 600;
  padding: 0 16px;
}

.user-profile-link:hover,
.logout-btn:hover {
  border-color: #d1d5db;
  background: #fff;
}

.user-menu-icon {
  font-size: 20px;
}

.profile-panel {
  max-width: 520px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-label {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.profile-value {
  margin: 0;
  text-align: left;
  word-break: break-word;
}

.profile-row-preferences {
  align-items: flex-start;
}

.profile-helper {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-preferences-form {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.danger-zone {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #f0b8c0;
  border-radius: var(--radius-lg);
  background: #fff1f4;
  display: grid;
  gap: 16px;
}

.danger-zone__header h2,
.danger-zone__copy h3 {
  margin: 0;
}

.danger-zone__header p,
.danger-zone__copy p {
  margin: 6px 0 0;
}

.danger-zone__card {
  border: 1px solid #efc8cf;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.danger-zone__copy {
  flex: 1;
}

.danger-zone__actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.danger-zone__button {
  min-width: 180px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal-card {
  width: min(100%, 520px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 24px;
}

.modal-card--danger {
  border: 1px solid #f0b8c0;
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-card__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-card__body {
  margin: 16px 0 12px;
}

.modal-card__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.modal-card__input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font: inherit;
}

.modal-card__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}


.profile-email-form {
  min-width: 360px;
}

.profile-email-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-email-input {
  min-width: 340px;
}

.profile-email-edit {
  border: 1px solid var(--border-soft);
  background: #fff;
}


.github-panel {
  min-height: 420px;
  display: grid;
  gap: 18px;
}

.github-or-layout {
  /* padding: 6px 0; */
  background: transparent;
}

.github-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 12px 0;
}

.github-section-divider::before,
.github-section-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--border-soft);
}

.github-section-divider span {
  margin: 0 18px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
}

.github-section {
  padding: 0;
  background: transparent;
}

.github-section h2,
.github-section h3 {
  margin-top: 0;
}

.github-flow-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.github-flow-card--new {
  /* border-left: 4px solid #2f6feb; */
}

.github-flow-card--existing {
  /* border-left: 4px solid #1a7f37; */
}

.github-flow-card__hint {
  margin-top: -4px;
  margin-bottom: 14px;
}

.github-create-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.github-create-form-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  flex: 1 1 640px;
}

.github-create-field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.github-field-label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.github-create-form-fields .selected-app-switcher,
.github-create-form-fields .github-new-repo-name {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.github-connect-empty {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.github-connect-empty h2 {
  margin: 0;
  line-height: 1.4;
}

.github-connect-empty-copy {
  display: grid;
  gap: 12px;
}

.github-connect-empty-copy h3,
.github-connect-empty-copy p {
  margin: 0;
}

.github-connect-empty .muted+.primary {
  margin-top: 8px;
}

.github-template-note {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 13px;
}

.github-repo-link {
  color: #243778;
  text-decoration: none;
  font-weight: 600;
}

.github-repo-link:hover {
  text-decoration: none;
}


.overview-top-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.deploy-row {
  margin-top: 0;
  align-items: center;
  justify-content: flex-end;
}

.deploy-status {
  margin: 0;
  font-size: 14px;
}

.deploy-initiated-message {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--success);
  font-weight: 600;
}

.app-toast-container {
  position: fixed;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(560px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.app-toast-container.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #8dd8a3;
  background: #eaf9ee;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
}

.app-toast--success {
  color: #166534;
  border-color: #86efac;
  background: #dcfce7;
}

.app-toast--warning,
.app-toast--danger {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fee2e2;
}

.app-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  font-size: 16px;
  line-height: 1;
}

.app-toast__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(22, 101, 52, 0.35);
  border-top-color: #166534;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.app-toast__message {
  font-size: 14px;
  font-weight: 600;
}

.deployments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.deployments-header h3 {
  margin: 0;
}

.deployments-header-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.deploy-repo-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deploy-repo-name__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  line-height: 1;
}

.deploy-repo-name__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.deploy-repo-name__text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.deploy-branch-select {
  min-width: 180px;
  height: 40px;
}

.env-variable-item {
  grid-template-columns: 160px 1fr;
  align-items: start;
}

.env-variable-value {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tabs {
  margin-top: 14px;
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  background: #f3f4f6;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.tab {
  padding: 9px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
}

.tab.active {
  color: var(--text);
  background: #ffffff;
  box-shadow: none;
  font-weight: 700;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.app-name {
  color: #243778;
  font-weight: 700;
  text-decoration: none;
}

.app-name:hover {
  text-decoration: none;
}

.muted {
  color: var(--muted);
  margin: 6px 0 0;
}

.pill {
  border: 1px solid #e4d7a8;
  background: #fff8dd;
  font-size: 13px;
  border-radius: 999px;
  padding: 5px 10px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 24px;
}

.overview-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fbfcff;
  border: 1px solid var(--border-soft);
}

.label {
  color: var(--muted);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}

.status-tick {
  color: var(--success);
  font-weight: 700;
  line-height: 1;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

a.primary,
a.secondary,
button.primary,
button.secondary {
  text-decoration: none;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.3);
  filter: brightness(1.02);
}

.github-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #1f2328;
  border-radius: 12px;
  background: linear-gradient(180deg, #24292f 0%, #1b1f24 100%);
  color: #ffffff;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  /* box-shadow: 0 12px 22px rgba(27, 31, 36, 0.35); */
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.github-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(27, 31, 36, 0.4);
  filter: brightness(1.05);
}

.github-login-btn:focus-visible {
  outline: 3px solid rgba(47, 129, 247, 0.55);
  outline-offset: 2px;
}

.github-login-btn__icon {
  width: 18px;
  height: 18px;
}

.secondary {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  padding: 5px 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.secondary {
  text-decoration: none;
}

.secondary:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
  box-shadow: var(--shadow-soft);
}

.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #b42318;
  border-radius: 10px;
  background: linear-gradient(180deg, #d92d20 0%, #b42318 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(180, 35, 24, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(180, 35, 24, 0.24);
  filter: brightness(1.03);
}

.danger:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

.primary:disabled {
  opacity: 0.8;
  cursor: wait;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.full {
  width: 100%;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.modal {
  width: min(450px, 92vw);
  background: white;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-strong);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-btn {
  border: none;
  background: #f3f5fa;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  margin-top: 4px;
  font-size: 14px;
  color: #3f4a66;
}

input,
select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fdfefe;
}

input:focus,
select:focus {
  border-color: #90a7ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 111, 247, 0.15);
}

.error {
  color: var(--danger);
  margin: 0;
}


.prerequisites-section {
  margin-top: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fbfcff;
  padding: 14px;
}


.overview-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prerequisites-list {
  margin: 10px 0 18px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.prereq-command {
  margin: 8px 0 0;
  padding: 8px 10px;
  background: #0f1730;
  color: #f5f7ff;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-size: 12px;
}


.create-app-layout {
  display: grid;
  grid-template-columns: 1fr;
}

/* .create-app-layout--plain {
  margin-top: 20px;
} */

.create-step-back {
  justify-self: start;
  margin-bottom: 0;
}

.create-step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.create-step-header-row h3 {
  margin: 0;
}

.create-prerequisites {
  margin: 12px 0 0;
  padding: 12px;
}

.create-prerequisites h4 {
  margin: 0;
}

.create-app-form {
  gap: 16px;
}


.provision-status-list {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.provision-status-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}

.provision-status-icon {
  line-height: 1.2;
}

.provision-status-item--success {
  color: var(--success);
}

.provision-status-item--error {
  color: var(--danger);
}

.provision-status-item--muted,
.provision-status-item--running {
  color: var(--muted);
}

.provision-status-item--info {
  color: #000;
}

.create-success-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #4f9f68;
  background: #e7f8ec;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.create-success-icon {
  color: var(--success);
  margin-right: 6px;
}

.create-success-note a {
  font-weight: 600;
}

.create-step {
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  /* background: var(--panel-muted); */
  background: white;
}

.create-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) minmax(210px, 1.3fr);
  gap: 12px;
  margin: 12px 0 14px;
  align-items: start;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  margin-top: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-group-small {
  max-width: 180px;
}

.create-step .primary {
  width: fit-content;
}

.primary.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

.create-default-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}


.create-step.is-inactive {
  opacity: 0.62;
  background: #f4f7ff;
}

.create-step.is-complete {
  opacity: 1;
  background: #eefaf1;
  border-color: #bde6c9;
}

#create-step-1.is-complete h3 {
  color: var(--muted);
}

.create-step.is-inactive input,
.create-step.is-inactive select,
.create-step.is-inactive button {
  pointer-events: none;
}

.create-step.is-inactive .allow-while-locked {
  pointer-events: auto;
}

#create-step-1.is-inactive button:disabled,
#create-step-1.is-inactive input:disabled,
#create-step-1.is-inactive select:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2);
}

#create-step-2 .field-group {
  max-width: 520px;
}

.create-step-with-prerequisites {
  display: grid;
  gap: 8px;
}

.create-step-2-columns {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
}

.create-step-2-form-column {
  display: grid;
  gap: 10px;
}

#create-step-2 .primary {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .overview-top-row {
    align-items: stretch;
  }

  .deploy-row {
    justify-content: flex-start;
  }

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

  .github-create-form-fields {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .github-create-form .primary {
    width: 100%;
  }
}


.docs-layout {
  max-width: 960px;
}

.docs-toc ol {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.docs-toc a {
  color: #243778;
  text-decoration: none;
}

.docs-toc a:hover {
  text-decoration: underline;
}

.docs-section {
  margin-top: 18px;
}

.docs-section p {
  margin: 8px 0 0;
}

.overview-tabs {
  margin-top: 22px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border-soft);
  background: var(--panel-muted);
  border-radius: 999px;
}

.overview-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.overview-tab.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 6px 12px rgba(38, 56, 98, 0.12);
  font-weight: 700;
}

.build-history-section {
  margin-top: 18px;
}

.build-logs-btn {
  min-width: 80px;
}

.build-logs-modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 300;
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.build-logs-modal {
  width: min(1200px, 96vw);
  height: min(86vh, 900px);
  max-height: calc(100vh - 48px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-strong);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.build-logs-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.build-logs-modal__header h2 {
  margin: 0;
}

.build-logs-modal__meta {
  margin: 0;
}

.build-logs-modal__content {
  margin: 0;
  flex: 1;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #1f2937;
  color: #f3f4f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
  padding: 14px;
}

.build-logs-page-content {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.84rem;
  line-height: 1.45;
  max-height: 62vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.build-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.build-history-header h3 {
  margin: 0;
}

.logs-section {
  margin-top: 22px;
  --logs-time-col: 150px;
  --logs-level-col: 90px;
  --logs-copy-col: 76px;
}


.logs-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.logs-toolbar .input {
  flex: 1;
}

.logs-filter-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.logs-filter-bar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logs-list-header {
  display: grid;
  grid-template-columns: var(--logs-time-col) minmax(0, 1fr) var(--logs-level-col) var(--logs-copy-col);
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding: 0 14px 6px;
  align-items: center;
}

.logs-list-header-spacer {
  width: var(--logs-copy-col);
}

.logs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-item {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fcfdff;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--logs-copy-col);
  gap: 8px;
  align-items: start;
}

.log-summary {
  width: 100%;
  border: none;
  background: transparent;
  padding: 6px;
  display: grid;
  grid-template-columns: var(--logs-time-col) minmax(0, 1fr) var(--logs-level-col);
  gap: 10px;
  text-align: left;
  cursor: pointer;
  vertical-align: top;
}

.log-time,
.log-severity {
  color: var(--muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

.log-time {
  white-space: nowrap;
}

.log-message {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  min-width: 0;
  max-width: 100%;
}

.log-details {
  margin: 8px 0 0;
  grid-column: 1 / -1;
  background: #13192d;
  color: #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  max-height: 260px;
  overflow: auto;
  font-size: 12px;
}


.command-block {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.copy-command-btn,
.copy-log-btn {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  padding: 6px 10px;
  margin-left: 0;
  vertical-align: top;
}

.copy-command-btn {
  margin: 0;
}

.command-block .prereq-command {
  width: 100%;
}

.command-block--assign-owner {
  position: relative;
  align-items: stretch;
}

.command-block--assign-owner .copy-command-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.command-block--assign-owner .prereq-command {
  padding-top: 44px;
}

.stats-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  animation: fadeUp 420ms ease both;
  animation-delay: var(--delay, 0ms);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stat-value {
  margin: 10px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: #111111;
}

.dashboard-panel {
  animation: fadeUp 560ms ease both;
  animation-delay: 120ms;
}

.apps-table tbody tr {
  animation: fadeUp 300ms ease both;
  animation-delay: var(--row-delay, 0ms);
}

.apps-table tbody tr:hover {
  background: #f6f9ff;
}

.stats-skeleton {
  margin-top: 18px;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.skeleton-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
}

.skeleton {
  border-radius: 8px;
  background: #e7eef9;
}

.skeleton-label {
  width: 46%;
  height: 12px;
}

.skeleton-value {
  margin-top: 14px;
  width: 72%;
  height: 30px;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, transparent 100%);
  animation: shimmer 1.35s linear infinite;
}

body.dashboard-page.loading .stats-grid {
  display: none;
}

body.dashboard-page.loading .stats-skeleton {
  display: grid;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

.apps-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.apps-table th,
.apps-table td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}

.apps-table th {
  color: var(--muted);
  font-weight: 600;
  background: #f7f1ed;
}


.app-actions-cell {
  text-align: center;
  width: 70px;
}

.delete-app-btn {
  color: #d11a2a;
  background: #fff0f2;
  border: 1px solid #ffc2cb;
}

.delete-app-btn:hover {
  color: #b40f1d;
  background: #ffe4e9;
}

.delete-app-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cost-section {
  margin-top: 18px;
}

.cost-stats-grid {
  margin: 8px 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.app-overview-page .content {
  padding: 20px 24px;
}

.app-overview-page .panel {
  margin-top: 14px;
  padding: 14px;
}

.app-overview-page .tabs {
  margin-top: 0;
  padding: 5px;
}

.app-overview-page .deploy-row {
  margin-left: auto;
}

.app-overview-page .tab {
  padding: 7px 12px;
}

.app-overview-page .overview-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.app-overview-page .overview-item {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 108px;
  padding: 18px 20px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.app-overview-page .overview-item:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}

.app-overview-page .overview-item .label {
  margin: 0;
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
  color: #6b7280;
}

.app-overview-page .overview-item> :not(.label) {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.app-overview-page .overview-tabs {
  margin-top: 14px;
}

.app-overview-page .logs-section,
.app-overview-page .build-history-section,
.app-overview-page .cost-section {
  margin-top: 12px;
}

.app-overview-page .logs-list {
  gap: 8px;
}

.app-overview-page .log-item {
  padding: 6px;
}

.app-overview-page .log-summary {
  padding: 4px;
  grid-template-columns: var(--logs-time-col) minmax(0, 1fr) var(--logs-level-col);
}

.app-overview-page .apps-table th,
.app-overview-page .apps-table td {
  padding: 9px 10px;
}

@media (max-width: 1280px) {
  .app-overview-page .overview-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 1100px) {
  .layout {
    padding: 12px;
    gap: 12px;
  }

  .sidebar {
    width: 220px;
  }

  .content {
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .create-app-layout {
    grid-template-columns: 1fr;
  }

  .create-grid {
    grid-template-columns: 1fr;
  }

  .freelancer-save-actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .freelancer-preference-grid #freelancer-preference-submit-btn {
    width: 100%;
  }

  .field-group-small {
    max-width: none;
  }

  .create-step .primary {
    width: 100%;
  }

  .overview-item {
    grid-template-columns: 130px 1fr;
  }

  .log-summary {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .copy-log-btn {
    margin: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

.sidebar-user {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.sidebar-user-name {
  font-weight: 600;
  margin: 4px 0 12px;
  word-break: break-word;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-page-elegant {
  background-image: linear-gradient(112.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%, rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%, rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%, rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%, rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%, rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%, rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%), linear-gradient(157.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%, rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%, rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%, rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%, rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%, rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%, rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%), linear-gradient(135deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%, rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%, rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%, rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%, rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%, rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%, rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%), linear-gradient(90deg, rgb(195, 195, 195), rgb(228, 228, 228)) !important;
  background-blend-mode: overlay, overlay, overlay, normal !important;
}


.auth-page-login {
  min-height: 100vh;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.auth-shell.auth-shell--login {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  grid-template-columns: none;
}

.auth-card--login {
  width: 100%;
  max-width: 480px;
  padding: 40px 36px;
  border-radius: 22px;
  border: 1px solid rgba(194, 208, 246, 0.9);
  box-shadow: 0 30px 54px rgba(31, 61, 131, 0.18);
}

.auth-card--login .muted {
  margin-top: 12px;
  line-height: 1.55;
}

.auth-shell {
  width: min(1020px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 440px);
  gap: 20px;
  align-items: stretch;
}

.auth-showcase {
  border: 1px solid rgba(255, 152, 91, 0.24);
  border-radius: 24px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 236, 0.94));
  box-shadow: 0 24px 45px rgba(150, 92, 58, 0.14);
}

.auth-showcase h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #4a2a1e;
}

.auth-kicker,
.auth-eyebrow {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #ef7d2f;
}

.auth-highlights {
  margin: 22px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #304275;
}

.auth-card {
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.auth-card-elevated {
  align-self: center;
  border: 1px solid rgba(212, 223, 248, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  /* box-shadow: 0 28px 44px rgba(50, 78, 147, 0.16); */
}

.auth-card-elevated h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1c2d61;
}

.auth-form {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.auth-form input {
  width: 100%;
}

.auth-switch {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    padding: 24px;
  }

  .auth-shell--login {
    min-height: auto;
  }

  .auth-card--login {
    padding: 30px 24px;
  }
}

.subdomain-sample-url {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.field-group-subdomain {
  min-width: 0;
}

.create-grid .field-group-small {
  max-width: none;
}

.selected-github-repo-display {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  color: var(--text);
  font-weight: 500;
}

.selected-github-repo-display__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  line-height: 1;
}

.selected-github-repo-display__icon svg {
  width: 100%;
  height: 100%;
}

.selected-github-repo-display__text {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* Modern theme enhancements */
:root {
  --teal: #11b99b;
  --teal-soft: #dff7f2;
}

.sidebar-brand {
  margin: 2px 8px 14px;
}

.sidebar-logo {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.sidebar-tag {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font-size: 12px;
}

.sidebar-section-title {
  margin: 4px 12px 10px;
  color: #878787;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar {
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.sidebar::before {
  display: none;
}

.content {
  animation: fadeUp 500ms ease both;
}

.content-header {
  border-bottom: none;
}

.panel {
  animation: fadeUp 540ms ease both;
}

.workflow-strip {
  margin: 4px 0 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dcdcdc;
}

.workflow-step {
  position: relative;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
  background: #f8f8f8;
}

.workflow-step::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #ececec;
  color: #606060;
}

.workflow-step.is-active {
  border-color: #bdbdbd;
  color: #1d1d1d;
  background: #efefef;
}

.workflow-action {
  margin-left: auto;
  border-radius: 999px;
  border-color: #8db2eb;
  color: #1a4f9f;
  background: #f5f9ff;
}

.overview-item,
.stat-card,
.log-item,
.create-step,
.prerequisites-section {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.overview-item:hover,
.log-item:hover,
.create-step:hover,
.prerequisites-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(45, 66, 123, 0.12);
  border-color: #c9d8f5;
}

.provision-status-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e4eaf5;
  background: #fafcff;
}

.provision-status-item--success {
  background: #effcf6;
  border-color: #b9efd4;
}

.provision-status-item--error {
  background: #fff2f4;
  border-color: #f5cad1;
}

.create-success-note {
  animation: fadeUp 280ms ease both;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(244, 248, 255, 0.72);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
}

.loading-overlay.hidden {
  display: none;
}

.loading-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #d6e4fc;
  border-radius: 999px;
  background: #ffffff;
  color: #24407b;
  box-shadow: 0 10px 26px rgba(38, 60, 112, 0.16);
  font-weight: 600;
}

.loading-badge .spinner {
  border-color: rgba(79, 111, 247, 0.3);
  border-top-color: #4f6ff7;
}

@media (max-width: 900px) {
  .workflow-action {
    margin-left: 0;
  }

  .sidebar-logo {
    font-size: 30px;
  }
}


#load-more-logs-btn {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logs-section {
  margin-top: 0;
}

.env-variable-form {
  display: grid;
  gap: 10px;
}

.env-variable-value-input {
  width: 100%;
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.env-variable-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app-links-list {
  display: grid;
  gap: 8px;
}

.app-links-list a,
.overview-item a {
  word-break: break-all;
}

.env-variable-value-input:disabled {
  background: #f6f7fb;
  color: #3f4a66;
  cursor: not-allowed;
}

.app-settings-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  margin-bottom: 20px;
}

.settings-danger-bar {
  background: #fde8eb;
  border: 1px solid #f6c8ce;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.github-controls-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.github-installation-select {
  min-width: 280px;
}

.github-repo-search {
  min-width: 260px;
}

.github-panel--flat {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}


.github-repo-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


.status-error {
  color: #b3261e;
}

.code-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.script-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.gcp-command-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-group-actions {
  display: flex;
  align-self: end;
  min-height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
}

.freelancer-save-actions {
  grid-column: 5;
  align-items: center;
}

.freelancer-preference-grid {
  grid-template-columns: minmax(160px, 1.1fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) minmax(210px, 1.3fr) auto;
}

.freelancer-preference-grid #freelancer-preference-submit-btn {
  min-width: 110px;
}

.gcp-command-script-wrap {
  position: relative;
}

.gcp-script-copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}

.cloud-preference-save-btn {
  width: 100%;
  min-width: 180px;
  margin-top: 0;
}

.readonly-status-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.readonly-status-chip.not-verified {
  color: #b91c1c;
}

.readonly-status-chip.verified {
  color: #166534;
}

.breadcrumb-note {
  margin: 4px 0 0;
  padding: 8px 12px;
  border-left: 3px solid #4f6ff7;
  border-radius: 6px;
  background: #eef3ff;
  color: #1f3b7a;
  font-weight: 600;
  font-size: 13px;
}

.copy-nav-icon-btn {
  font-size: 16px;
  font-weight: 700;
  color: #2b3f8c;
}

.gcp-command-script {
  margin: 0;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.5;
}

#freelancer-gcp-command-script {
  padding-top: 58px;
}

.gcp-command-script .token-comment {
  color: #93c5fd;
}

.gcp-command-script .token-command {
  color: #f8fafc;
}

.gcp-command-script .token-variable {
  color: #fbbf24;
}

.gcp-command-script .token-string {
  color: #86efac;
}

.gcp-verify-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.gcp-verify-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

#verify-gcp-integration-btn.is-processing::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(22, 101, 52, 0.35);
  border-top-color: #166534;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.invite-user-action {
  display: block;
  margin: 0 0 0.5rem auto;
}

.user-management-panel {
  margin-top: 6px;
}

.invite-user-modal-card {
  width: min(620px, calc(100vw - 2rem));
}

.invite-user-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== New UI skin aligned to new_code ===== */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  background: #F5F6F8 !important;
  color: #374151;
  font-family: 'Inter', sans-serif;
}

.layout {
  gap: 0;
  padding: 16px;
}

.sidebar {
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  border: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-brand {
  padding: 18px;
}

.sidebar-logo {
  font-size: 15px;
  font-weight: 700;
}

.sidebar-tag {
  color: #9CA3AF;
  font-size: 12px;
}

.nav-links {
  margin-top: 8px;
  padding: 0 12px 12px;
  overflow: auto;
}

.nav-item {
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
}

.nav-item:hover {
  background: #F5F6F8;
  color: #111827;
}

.nav-item.active {
  background: linear-gradient(135deg, #111827, #000);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.nav-item-icon {
  width: 20px;
  font-size: 16px;
}

.primary.full {
  margin: 0 18px;
  width: calc(100% - 36px);
  border-radius: 8px;
  background: #F97316;
  border-color: #F97316;
}

.content {
  margin-left: 16px;
  background: transparent;
  padding: 0;
}

.content-header {
  height: 64px;
  border-radius: 14px;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  background: #fff;
  align-items: center;
  padding: 0 18px;
  margin-bottom: 16px;
}

/* .panel, .dashboard-panel, .table-wrap, .overview-item, .create-step {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: none;
} */

.selected-app-switcher,
.search-input,
input,
select,
textarea {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
}

.user-profile-link,
.logout-btn,
.secondary {
  border: 1px solid #E5E7EB;
  background: #fff;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .layout {
    padding: 12px;
  }

  .content {
    margin-left: 0;
  }
}

/* Navigation UI alignment with provided Bootstrap-based sidebar */
.layout {
  min-height: 100vh;
  padding: 16px;
}

#sidebar .nav-links {
  margin-top: 0;
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.content {
  margin-left: 272px;
  width: calc(100% - 272px);
  padding: 0;
}

.content-header {
  margin-top: 0;
}

@media (max-width: 991px) {
  .content {
    margin-left: 0;
    width: 100%;
    padding-top: 80px;
  }
}

/* Unified navigation/header refresh across app pages */
.layout {
  gap: 20px;
  padding: 20px;
}


.sidebar-brand,
.sidebar-logo-wrap {
  padding: 18px 18px 14px;
  margin-bottom: 0;
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f97316;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sidebar-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-logo {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.sidebar-tag {
  display: block;
  margin-top: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
}

.sidebar-brand-arrow {
  margin-left: auto;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
}

.sidebar-create-app {
  margin: 0 13px 8px;
  width: auto;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 11px 12px;
}

.nav-links {
  margin-top: 0;
  padding: 0 6px 6px;
}

.nav-item,
.snav li a {
  padding: 11px 12px;
  border-radius: 12px;
}

.snav-bottom,
.nav-item--bottom {
  margin-top: auto;
}

.content {
  margin-left: 0;
  width: auto;
  padding: 0;
}

.content-header {
  min-height: 64px;
  padding: 10px 16px;
  align-items: center;
}

.profile-dropdown {
  position: relative;
}

.profile-dropdown-toggle {
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 8px;
  color: #111827;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.profile-name {
  font-weight: 500;
}

.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 40;
}

.profile-dropdown.open .profile-dropdown-menu {
  display: block;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #111827;
}

.profile-dropdown-item:hover {
  background: #f3f4f6;
}

.dashboard-listing-panel {
  padding-top: 18px;
}

.dashboard-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}

.dashboard-listing-controls {
  display: inline-flex;
  gap: 8px;
}

.dashboard-listing-panel .table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
}

.dashboard-listing-panel .apps-table th {
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-listing-panel .apps-table th,
.dashboard-listing-panel .apps-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #edf0f4;
}

.dashboard-listing-panel .apps-table tbody tr:hover {
  background: #ffffff;
}

.app-topbar-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
}

.selected-app-wrap--inline {
  align-items: flex-start;
}

.selected-app-wrap--inline .selected-app-switcher {
  min-width: 260px;
}

.app-topbar-title {
  margin: 0;
  text-align: center;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #344054;
}

.app-topbar-profile {
  justify-self: end;
}

.app-overview-page .header-actions {
  width: 100%;
}

@media (max-width: 1100px) {
  .app-topbar-layout {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .app-topbar-title {
    order: -1;
    text-align: left;
    font-size: 32px;
  }

  .app-topbar-profile {
    justify-self: start;
  }
}

.apps-table th {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

/* .apps-table tbody tr {
  height: 60px;
} */


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

body {
  font-family: 'Inter', sans-serif;
  background: #F5F6F8 !important;
  /* light grey */
  color: #374151;
  font-size: 14px;
}

/* ── SIDEBAR (UPDATED DESIGN) ── */
#sidebar {
  position: fixed;
  top: 16px;
  left: 16px;
  bottom: 16px;
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  z-index: 300;
  overflow: hidden;
}

/* Logo */
.sidebar-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: #F97316;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.logo-name {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.logo-sub {
  font-size: 12px;
  color: #9CA3AF;
}

/* Collapse */
.collapse-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 16px;
  cursor: pointer;
}

/* Section label */
.sidebar-section-label {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  padding: 18px 18px 6px;
}

/* Nav */
.snav {
  list-style: none;
  padding: 0 12px;
  margin: 12px 0 0 0;
}

.snav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  transition: all .15s;
}

.snav li a i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.snav li a .nav-item-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.snav li a .nav-warning-icon {
  margin-left: auto;
}

/* Hover */
.snav li a:hover {
  background: #F5F6F8;
  color: #111827;
}

/* Active */
.snav li a.active {
  background: linear-gradient(135deg, #111827, #000);
  color: #fff;
}

.snav li a.active i {
  color: #fff;
}

/* Support section */
.sidebar-support {
  margin-top: auto;
  padding-bottom: 12px;
}

.sidebar-support-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  padding: 18px 18px 6px;
}

.sidebar-support-label i {
  font-size: 15px;
  cursor: pointer;
}

/* Responsive */
@media(max-width:991px) {
  #sidebar {
    transform: translateX(-260px);
    transition: transform .25s;
  }

  #sidebar.open {
    transform: translateX(0);
  }
}



/* ─────────────────────────────
   Topbar Container
───────────────────────────── */
#topbar {
  position: fixed;
  top: 16px;
  left: 288px;
  right: 16px;
  height: 64px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 14px;
  z-index: 200;
}

/* ─────────────────────────────
   Center Title
───────────────────────────── */
.topbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}


/* ─────────────────────────────
   Project Dropdown (VISIBLE BORDER FIX)
───────────────────────────── */
/* Make dropdown menu same width as trigger */
.project-dropdown {
  width: 220px;
  /* same as evk-select min-width */
}

.project-dropdown .dropdown-menu {
  width: 100%;
  min-width: 100%;
}

.evk-select {
  background-color: #fff !important;
  border: 1.5px solid #CBD5E1 !important;
  /* stronger neutral border */
  border-radius: 12px;
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  min-width: 220px;
  text-align: left;
  position: relative;

  /* kill bootstrap button effects */
  box-shadow: none !important;
}

/* Hover — subtle but visible */
.evk-select:hover {
  border-color: #94A3B8 !important;
}

/* Focus — branded */
.evk-select:focus,
.evk-select:active {
  border-color: #F97316 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .14) !important;
}

/* Dropdown caret */
.evk-select::after {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 12px;
  border: 1px solid #EEF0F3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  padding: 6px;
}

.dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 10px;
}

.dropdown-item:hover {
  background: #F9FAFB;
}


/* ─────────────────────────────
   Right Side (Avatar)
───────────────────────────── */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Avatar Pill */
.avatar-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  /* balanced without arrow */
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}

/* REMOVE Bootstrap dropdown arrow */
.avatar-pill::after {
  display: none !important;
}

.avatar-pill:hover {
  border-color: #D1D5DB;
}

/* Avatar Circle */
.avatar-img-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #F97316, #EF4444);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Avatar Name */
.avatar-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

/* Avatar Dropdown Menu */
.avatar-menu {
  border-radius: 12px;
  border: 1px solid #EEF0F3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  padding: 6px;
}

.avatar-menu .dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 10px;
}

.avatar-menu .dropdown-item:hover {
  background: #F9FAFB;
}

/* ─────────────────────────────
   Responsive
───────────────────────────── */
@media (max-width: 991px) {
  #topbar {
    left: 16px;
  }
}


/* ── MAIN ── */
#main {
  margin-left: 288px;
  padding-top: 96px;
  padding-right: 16px;
  min-height: 100vh;
}

.content {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 48px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .03);
}

/* Greeting */
.greeting-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.greeting-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.greeting-date {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 2px;
}

.btn-new-project {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F97316;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  margin-top: 10px;
  /* box-shadow: 0 2px 0px rgb(249 115 22 / 49%); */
}

.btn-new-project:hover {
  background: #ea6c0c;
  color: #fff;
}

.btn-new-task {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #374151;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}

.btn-new-task:hover {
  border-color: #D1D5DB;
  color: #111827;
}

/* Stat Cards */
.stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 20px 16px;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}

.stat-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
  transform: none
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.sc-icon {
  font-size: 16px;
  color: #F97316;
}

.sc-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.sc-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  display: inline;
}

.badge-up {
  display: inline;
  font-size: 12.5px;
  font-weight: 600;
  color: #16A34A;
}

.badge-down {
  display: inline;
  font-size: 12.5px;
  font-weight: 600;
  color: #DC2626;
}

.sc-sub {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 6px;
}

/* Chart card */
.chart-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 20px;
}

.insight-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 18px;
  height: 100%;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.amount-big {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  display: inline;
}

.period-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s;
}

.period-drop-btn:hover {
  border-color: #D1D5DB;
}

/* Mini bar insight */
.mini-bars-row {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.mbc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mbc-pct {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.bars-flex {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 44px;
}

.bs {
  width: 7px;
  border-radius: 2px 2px 0 0;
}

.insight-note {
  font-size: 11.5px;
  color: #9CA3AF;
  margin-bottom: 14px;
}

.leg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #F3F4F6;
}

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

.leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.leg-label {
  font-size: 13px;
  color: #374151;
  display: flex;
  align-items: center;
}

.leg-val {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

/* Table */
.table-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 20px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
}

.tbl thead th {
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid #E5E7EB;
  white-space: nowrap;
}

.tbl thead th .si {
  font-size: 9px;
  color: #D1D5DB;
  margin-left: 2px;
}

.tbl tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 13px;
  color: #374151;
  vertical-align: middle;
  white-space: nowrap;
}

.tbl tbody tr:last-child td {
  border-bottom: none;
}

.tbl tbody tr:hover td {
  background: #FFFBF7;
}

.tbl-chk {
  accent-color: #F97316;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.tpl-name {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.sf {
  color: #FBBF24;
}

.se {
  color: #E5E7EB;
}

.rnum {
  font-weight: 600;
  color: #111827;
  margin-left: 3px;
}

.dots-btn {
  color: #9CA3AF;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 5px;
  display: inline-block;
}

.dots-btn:hover {
  background: #F3F4F6;
  color: #374151;
}

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s;
}

.sort-btn:hover {
  border-color: #D1D5DB;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s;
}

.filter-btn:hover {
  border-color: #D1D5DB;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fu {
  animation: fadeUp .32s ease both;
}

.d1 {
  animation-delay: .04s;
}

.d2 {
  animation-delay: .08s;
}

.d3 {
  animation-delay: .12s;
}

.d4 {
  animation-delay: .16s;
}

.d5 {
  animation-delay: .20s;
}

.d6 {
  animation-delay: .24s;
}

/* Responsive */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  z-index: 299;
}

#overlay.show {
  display: block;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  cursor: pointer;
  font-size: 17px;
  color: #374151;
  background: #fff;
}

@media(max-width:991px) {
  #sidebar {
    transform: translateX(-240px);
    transition: transform .25s;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  #topbar {
    left: 16px;
  }

  #main {
    margin-left: 0;
    padding: 88px 16px 0;
  }

  .hamburger {
    display: flex !important;
  }

  .content {
    border-radius: 14px;
    padding: 20px 16px 40px;
  }
}

@media(max-width:575px) {
  .content {
    padding: 16px 12px 40px;
  }

  .greeting-title {
    font-size: 19px;
  }

  .sc-value {
    font-size: 22px;
  }
}


/* ── Deployment Overview (Structured) ── */
.deploy-card {
  background: #fff;
  border: 1px solid #EEF0F3;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .03);
  margin-bottom: 22px;
}

/* Header */
.deploy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.deploy-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* List group overrides */
.deploy-list {
  border-radius: 12px;
  overflow: hidden;
}

.deploy-row {
  border: 0;
  border-top: 1px solid #F1F3F5;
  padding: 16px 18px;
}

.deploy-row:first-child {
  border-top: none;
}

/* Labels & values */
.deploy-label {
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.deploy-value {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-top: 2px;
}

.deploy-value.muted {
  color: #9CA3AF;
}

.deploy-link {
  font-size: 14px;
  font-weight: 500;
  color: #2563EB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.deploy-link:hover {
  text-decoration: underline;
}

/* ── Deployment Info Cards ── */
.deploy-cards {
  margin-bottom: 24px;
}

/* Card */
.info-card {
  background: #fff;
  border: 1px solid #EEF0F3;
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .02);
  transition: border-color .15s, box-shadow .15s;
}

.info-card:hover {
  border-color: #E5E7EB;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
}

/* Label */
.info-label {
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Value */
.info-value {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

/* Links */
.info-link {
  font-size: 15px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-link:hover {
  text-decoration: underline;
}

/* Muted state */
.info-card.muted .info-value {
  color: #9CA3AF;
}


/* FORM COMPONENT */
/* ── Form Card ── */
.form-card {
  background: #fff;
  border: 1px solid #EEF0F3;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .03);
  margin-bottom: 24px;
}

.form-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

/* Labels */
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 6px;
}

/* Inputs */
.evk-input {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  font-size: 14px;
  padding: 10px 12px;
  box-shadow: none;
}

.evk-input:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

/* Dropdown select */
.evk-select {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

.evk-select:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 12px;
  border: 1px solid #EEF0F3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  padding: 6px;
}

.dropdown-item {
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 10px;
}

.dropdown-item:hover {
  background: #FFF7ED;
  color: #111827;
}

/* Toggle */
.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #F97316;
  border-color: #F97316;
}

/* Gradient Button */
.gradient-btn {
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #F97316, #EA580C);
  box-shadow: 0 6px 18px rgba(249, 115, 22, .35);
  transition: all .2s ease;
}

.gradient-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(249, 115, 22, .45);
  background: linear-gradient(135deg, #EA580C, #C2410C);
}


/* LOGS TABLE CSS */
/* ─────────────────────────────
   Table Wrapper
───────────────────────────── */
.table-wrapper {
  background: #fff;
  border: 1px solid #EEF0F3;
  border-radius: 16px;
  overflow: hidden;
}

/* ─────────────────────────────
   Table Base
───────────────────────────── */
.evk-table {
  font-size: 14px;
}

/* Header */
.evk-table thead th {
  background: #F9FAFB;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #EEF0F3;
  padding: 14px 16px;
}

/* Body cells */
.evk-table tbody td {
  padding: 8px 14px;
  border-bottom: 1px solid #F1F5F9;
  color: #111827;
  background: #fff;
}

/* Alternate row */
.evk-table tbody tr:nth-child(even) td {
  background: #FCFCFD;
}

/* Hover */
.evk-table tbody tr:hover td {
  background: #F9FAFB;
}



/* ─────────────────────────────
   Status Badge
───────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

.status-badge.success {
  background: #ECFDF5;
  color: #16A34A;
}

/* ─────────────────────────────
   Logs Button (Table Action)
───────────────────────────── */
.btn-log {
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 16px !important;
  color: #374151;
  border-color: #E5E7EB;
  background: #fff;
  transition: all .15s ease;
}

.btn-log:hover {
  background: #F97316;
  border-color: #F97316;
  color: #fff;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .evk-table thead {
    display: none;
  }
}

.gcp_integration_text {
  width: 60%;
}
