/* -------------------- General Layout -------------------- */
.dashboard-container {
  display: flex;
  height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  background: #eef1f8;
}

/* -------------------- Sidebar -------------------- */
.sidebar {
  background: linear-gradient(180deg, #2b2e83, #23256a);
  color: white;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center; /* <-- THIS CENTERS THE IMAGE */
}

.sidebar-logo img {
  width: 55px;
  margin-bottom: 10px;
}

.sidebar-logo h2 {
  font-size: 1.2rem;
  margin-bottom: 35px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sidebar-nav a {
  color: white;
  text-decoration: none;
  padding: 12px 15px;
  margin: 6px 0;
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background-color: #4043a8;
}

/* -------------------- Main Content -------------------- */
.dashboard-main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.dashboard-main header h1 {
  color: #2b2e83;
  font-size: 1.7rem;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

/* -------------------- Edit Ticket Card -------------------- */
.edit-ticket-section {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 750px;
  width: 100%;
}

/* Back Button */
.back-btn {
  display: inline-block;
  margin-bottom: 25px;
  padding: 10px 18px;
  background-color: #2b2e83;
  color: white;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.back-btn:hover {
  background-color: #4043a8;
}

/* -------------------- Edit Ticket Form -------------------- */
.ticket-form {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.ticket-form label {
  margin-top: 15px;
  color: #2b2e83;
  font-weight: 600;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select {
  margin-top: 7px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d3d3d3;
  font-size: 0.95rem;
  background: #fff;
}

.ticket-form textarea {
  resize: none;
  height: 120px;
}

/* Submit Button */
.submit-btn {
  margin-top: 25px;
  background-color: #2b2e83;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: #4043a8;
}
