/* ---------- Base Layout ---------- */
body {
  font-family: "Inter", Arial, sans-serif;
  background: #f7f9fc;
  color: #333;
  margin: 0;
  padding: 40px;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ---------- Typography ---------- */
h2 {
  margin-top: 0;
  font-weight: 600;
  color: #2a4d8f; /* soft blue accent */
}

/* ---------- Inputs ---------- */
input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 18px;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  font-size: 15px;
  background: #fdfdfd;
  transition: border-color 0.2s ease;
}

.input-short {
  width: 40%;
}

.input-big {
  width: 80%;
}

input:focus, textarea:focus {
  border-color: #2a4d8f;
  outline: none;
}

/* ---------- Button ---------- */
button {
  background: #2a4d8f;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease;
}

button:hover {
  background: #1f3a6a;
}

/* ---------- Spacing ---------- */
label {
  font-weight: 500;
  color: #444;
}

.ticket-item {
  background: #ffffff;
  padding: 16px;
  border-radius: 10px;

  border: 1px solid #b8c4d9;

  box-shadow: 0 2px 6px rgba(0,0,0,0.05);

  margin-bottom: 20px;
}

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

.ticket-actions {
  display: flex;
  gap: 8px; /* space between edit and delete buttons */
}

.ticket-header h3 {
  margin: 0;
  color: #2a4d8f;
}

.delete-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #d9534f;
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s ease;
}

.delete-btn:hover {
  background: #d9534f;
  color: white;
}

.edit-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #2a4d8f;
  font-size: 18px;
  padding: 4px;
  transition: color 0.2s ease;
}

.edit-btn:hover {
  background: #2a4d8f;
  color: white;
}

.dashboard {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.lane {
  flex: 1;
  background: #f5f7fb;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #d0d7e2;
}

.lane h2 {
  text-align: center;
  margin-bottom: 10px;
}

.lane-content {
  min-height: 400px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  background: white;
  width: 500px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  box-sizing: border-box; /* prevents overflow */
}


.close {
  font-size: 24px;
  cursor: pointer;
  align-self: flex-end;
}

.save-btn {
  background: #2a4d8f;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.save-btn:hover {
  background: #1f3a6b;
}

.top-bar {
  position: sticky;
  top: 0;
  background: white;
  padding: 10px 20px;
  z-index: 100;
  border-bottom: 1px solid #ddd;
}

.lane h2 {
  position: sticky;
  top: 60px; /* height of your top bar */
  background: #f5f7fb;
  padding: 10px;
  margin: 0;
  z-index: 50;
  border-bottom: 1px solid #d0d7e2;
}
