:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #10b981;
  --accent-light: #34d399;
  --bg: #f8fafc;
  --bg-secondary: #f1f5f9;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* Modal animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* Brand Bar */
.brand-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  padding: 0 40px 0 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  position: relative;
  gap: 32px;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border-light);
}

.brand-bar img {
  height: 52px;
  width: auto;
  max-width: 220px;
}

.brand-bar .nav-bar {
  display: flex;
  gap: 15px;
  margin-left: auto;  /* This will push the nav-bar to the right */
}

.brand-bar .nav-btn {
  border: none;
  outline: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.brand-bar .nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.brand-bar .nav-btn:active {
  transform: translateY(0);
}

.brand-bar .nav-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: var(--shadow);
}

.brand-bar .logout-btn {
  margin-left: auto;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #fff;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 7px 26px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.brand-bar .logout-btn:hover {
  background: #f3f6fb;
  color: #0e3a8a;
}

.main-app {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px 32px 36px;
  max-width: 1200px;
  width: 96%;
  margin: 32px auto 40px auto;
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(60px) scale(0.95);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1);
  }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: none;}
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.welcome {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.desc {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.role {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.10rem;
}

/* Login Styles */
.center-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 20px;
}
.container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 25px;
  animation: fadein 0.8s;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}
.container .logo {
  height: 45px;
  width: auto;
  max-width: 140px;
  margin-bottom: 20px;
}
.container h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 600;
}
label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  color: #374151;
  text-align: left;
}
input[type="text"], select {
  width: 100%;
  padding: 0.68rem 1rem;
  font-size: 1rem;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
input[type="text"]:focus, select:focus {
  border-color: var(--primary);
  background: #fff;
}
button {
  width: 100%;
  padding: 0.7rem 0;
  font-size: 1.09rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--primary) 80%, var(--accent) 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 12px -2px #1e40af44;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1746aa 80%, #0ea5e9 100%);
  box-shadow: 0 8px 22px -5px #1e40af40;
}
.footer {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #64748b;
  text-align: center;
}
.error {
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 7px;
  padding: 10px;
  margin-bottom: 16px;
  font-size: 0.97rem;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .brand-bar { padding: 0 10px 0 8px; }
}
@media (max-width: 700px) {
  .main-app { padding: 1.2rem 0.5rem; }
  .brand-bar { padding: 0 6px 0 6px; }
  .brand-bar img { height: 34px; max-width: 110px;}
}
@media (max-width: 520px) {
  .main-app { padding: 0.4rem 0.1rem; }
  h2, .welcome { font-size: 1.1rem; }
  .brand-bar .nav-bar { gap: 6px; }
  .brand-bar .nav-btn { padding: 8px 10px; font-size: 0.95rem;}
}
.brand-bar .nav-btn,
.brand-bar .logout-btn {
  width: auto;
  min-width: 0;
}
.deploy-form th, .deploy-form td {
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}

.deploy-form thead th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.deploy-form table {
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  margin-bottom: 24px;
}

/* Enhanced table styles for deployment view modals */
.readonly-field table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.15) !important;
  width: 100% !important;
  margin-top: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

.readonly-field table thead th {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 14px 16px !important;
  text-align: left !important;
  border-bottom: 2px solid #cbd5e1 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
}

.readonly-field table tbody td {
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-family: 'Fira Mono', 'Monaco', 'Menlo', 'Consolas', monospace !important;
  background: rgba(255, 255, 255, 0.7) !important;
  transition: background-color 0.2s ease !important;
}

.readonly-field table tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.8) !important;
}

.readonly-field table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.08) !important;
  color: #1e293b !important;
}

.readonly-field table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Code formatting for table content */
.readonly-field table tbody td:nth-child(2) {
  font-family: 'Fira Mono', 'Monaco', 'Menlo', 'Consolas', monospace !important;
  font-size: 0.9rem !important;
  color: #059669 !important;
  background: rgba(240, 253, 250, 0.7) !important;
  font-weight: 600 !important;
}

.readonly-field table tbody tr:nth-child(even) td:nth-child(2) {
  background: rgba(236, 253, 245, 0.8) !important;
}

.deploy-form tbody tr {
  transition: background-color 0.2s ease;
}

.deploy-form tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.deploy-form tbody tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

.deploy-form button[type="button"] {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  margin: 0 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.deploy-form button[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}
.deploy-form input[type="checkbox"] {
  transform: scale(1.16);
  margin-right: 6px;
}
.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-group .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb90;
  pointer-events: none;
}

.input-icon-group input[type="email"] {
  padding-left: 36px !important;
}

input[type="text"], input[type="password"], input[type="email"], select, textarea {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: inherit;
  color: var(--text);
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, 
select:focus, textarea:focus {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

input[type="text"]:hover, input[type="password"]:hover, input[type="email"]:hover, 
select:hover, textarea:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

/* File input styling */
input[type="file"] {
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}

input[type="file"]:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

input[type="file"]:focus {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Label styling */
label {
  display: block;
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 8px;
  margin-top: 8px;
  letter-spacing: -0.01em;
}


.code-editor-box textarea {
  font-family: 'Fira Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  background: #f8fafc;
  border: 1.5px solid #e3e8f2;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px -3px #2563eb17;
  min-height: 110px;
  font-size: 1.01rem;
  margin-bottom: 14px;
  resize: vertical;
  transition: border 0.2s;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 18px 48px;
  font-size: 1.2rem;
  margin-top: 32px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.deploy-form-center {
  max-width: 700px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.deploy-record {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px 20px 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.deploy-record:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-left-color: var(--accent);
}

.summary-centered, .code-editor-box textarea {
  margin-left: auto;
  margin-right: auto;
  display: block;
  resize: vertical;
  min-height: 120px;
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 16px;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.6;
}

.summary-centered {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
}

/* Enhanced Summary Field Styles */
.summary-editor-container {
  position: relative;
  margin-bottom: 20px;
}

.summary-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border: 2px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toolbar-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.toolbar-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.toolbar-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.toolbar-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.summary-editor {
  min-height: 140px;
  max-height: 300px;
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: none;
  font-family: 'Inter', Arial, sans-serif;
  white-space: pre-wrap;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: box-shadow 0.2s ease;
}

.summary-editor:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.summary-view-formatted {
  white-space: pre-wrap;
  line-height: 1.6;
  word-wrap: break-word;
}

.summary-view-formatted strong {
  font-weight: 700;
  color: var(--text);
}

.summary-view-formatted em {
  font-style: italic;
  color: var(--text-light);
}

/* Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.modal > div {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px !important;
  max-width: 800px !important;
  width: 90% !important;
}

.modal h3 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
}

.modal p {
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.modal strong {
  color: var(--text);
  font-weight: 600;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Deployment list styling */
.deploy-summary-row {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deploy-summary-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.95);
}

.summary-info {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}

.summary-info strong {
  color: var(--primary);
  font-weight: 600;
}

.summary-info .deploy-id {
  font-family: 'Monaco', 'Consolas', monospace;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--primary);
}

.view-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  margin-left: 8px;
  min-width: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Specific button color overrides */
.view-btn[style*="background:#22c55e"] {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
  box-shadow: 0 4px 12px -2px rgba(34, 197, 94, 0.3);
}

.view-btn[style*="background:#22c55e"]:hover {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
  box-shadow: 0 8px 20px -4px rgba(34, 197, 94, 0.4);
}

.view-btn[style*="background:#ef4444"] {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  box-shadow: 0 4px 12px -2px rgba(239, 68, 68, 0.3);
}

.view-btn[style*="background:#ef4444"]:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important;
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.4);
}

.view-btn[style*="background:#fbbf24"] {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
  box-shadow: 0 4px 12px -2px rgba(251, 191, 36, 0.3);
  color: #92400e !important;
}

.view-btn[style*="background:#fbbf24"]:hover {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  box-shadow: 0 8px 20px -4px rgba(251, 191, 36, 0.4);
}

/* Readonly field styling */
.readonly-field {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.field-optout {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.97rem;
  color: #2563eb;
  gap: 8px;
  margin-left: 3px;
}

.field-disabled, .field-disabled:disabled {
  background: #f2f4f8 !important;
  color: #b7b8bb !important;
  border-color: #d4d8e1 !important;
  pointer-events: none;
  opacity: 0.72;
}

.deploy-id {
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  background: #ecf2fd;
  color: #2045a3;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 1.1px;
}

@media (max-width: 800px) {
  .deploy-form-center { max-width: 96vw; padding: 12px 4vw 24px 4vw;}
  .summary-centered, .code-editor-box textarea { max-width: 100%; width: 100%; }
}
.modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(48,64,80,0.16);
  z-index: 10;
  overflow: auto;
}

.view-btn {
  padding: 4px 18px;
  border-radius: 6px;
  background: #255be7;
  color: #fff;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 82px;
  height: 34px;
  transition: background 0.15s;
  box-shadow: 0 1px 4px #255be72a;
  display: inline-block;
}

.view-btn:hover {
  background: #1441af;
}

input[type="datetime-local"] {
  width: 100%;
  padding: 0.68rem 1rem;
  font-size: 1rem;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  color: #162037;
}

input[type="datetime-local"]:focus {
  border-color: var(--primary);
  background: #fff;
}

.deploy-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-radius: 12px;
  background: #f8f9fa;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px #0001;
  gap: 18px;
}

.deploy-summary-row .summary-info {
  flex: 1 1 auto;
  min-width: 0;
}

.deploy-summary-row .view-btn {
  flex: 0 0 auto;
  width: 94px;          /* Fixed width */
  min-width: 94px;      /* Prevents shrinking */
  height: 38px;
  padding: 0 0;
  text-align: center;
  font-size: 1rem;
  border-radius: 8px;
  margin-left: 14px;
}

