body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
nav {
  padding: 30px;
}
h1,
h2 {
  color: #333;
  margin-bottom: 20px;
}


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

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: #007bff;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

button.danger {
  background-color: #dc3545;
}

button.danger:hover {
  background-color: #c82333;
}

button.warning {
  background-color: #ffc107;
  color: #212529;
}

button.warning:hover {
  background-color: #e0a800;
}

.code {
  font-family: 'Courier New', monospace;
  background-color: #f8f9fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  table-layout: auto;
  /* Add this line */
}

tr.unknown { background-color: #fff3cd; } /* yellow */
tr.added { background-color: #d4edda; } /* green */
tr.untracked {background-color: #fff3cd; /* yellow */}
tr.just-updated {background-color: #d4edda;transition: background-color 0.5s ease-in-out;}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #555;
}

tr:hover {
  background-color: #f8f9fa;
}

/* Base alert style */
.alert {
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

/* Visible state (applied via JS) */
.alert.show {
  opacity: 1;
  transform: translateY(0);
}

/* Success (green) */
.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

/* Error (red) */
.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* Info (blue) */
.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}

/* Warning (yellow) */
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

/* Optional: subtle hover fade */
.alert:hover {
  opacity: 0.95;
}

.spinner-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #999;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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