* {
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  margin: 0;
  padding: 32px;
  color: #eaeaea;
}

/* Main card */
.container {
  max-width: 550px;
  margin: auto;
  background: #ffffff;
  color: #2b2b2b;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  
}

/* Headings */
h1 {
  text-align: center;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 36px;
  font-size: 15px;
}

/* Form */
form {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2c5364;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 83, 100, 0.15);
}

/* Buttons */
button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(135deg, #203a43, #2c5364);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(44, 83, 100, 0.35);
}

button:active {
  transform: scale(0.97);
}

/* Layout */
.content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* List */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  background: #f6f7f8;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition:  0.2s ease, transform 0.15s ease;
}

ul li:hover {
  background: #eceff1;
  transform: translateX(3px);
}

/* Details panel */
.details {
  background: #f8fafb;
  padding: 24px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #eee;
}

/* Action buttons */
.action-buttons {
  margin-top: 18px;
}

.action-buttons button {
  margin-right: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
}

/* Edit & delete */
.edit-btn {
  background: linear-gradient(135deg, #f0ad4e, #ec971f);
  color: #fff;
}

.delete-btn {
  background: linear-gradient(135deg, #d9534f, #c9302c);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

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