.phim-meta-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem;
  background-color: #fdfdfd;
  border: 1px solid #e6e6ea;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.phim-meta-group {
  display: flex;
  flex-direction: column;
}

.phim-meta-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.4rem;
}

.phim-meta-group input[type="text"] {
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.phim-meta-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

@media (min-width: 768px) {
  .phim-meta-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .phim-meta-group {
    width: calc(50% - 1rem);
  }
}

#server-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom:0.80rem;
}

.server-block {
  background-color: #f9f9fb;
  border: 1px solid #e0e0e5;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
}

.server-block label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #333;
  font-size: 0.95rem;
}

.server-block input[type="text"],
.server-block textarea,
.server-block select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #fff;
  transition: border 0.2s ease;
}

.server-block input:focus,
.server-block textarea:focus,
.server-block select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.status-block {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  position: relative;
}

.flex-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.flex-row > div {
  flex: 1;
}

@media (min-width: 600px) {
  .flex-row {
    flex-direction: row;
    gap: 1rem;
  }
}

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

.button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

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

.button-remove:hover {
  background-color: #b02a37;
}

.phim-meta-group {
  margin-bottom: 20px;
}

.phim-meta-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.phim-meta-group input,
.phim-meta-group textarea,
.phim-meta-group select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.server-block,
.status-block {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

.flex-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flex-row > div {
  flex: 1;
  min-width: 200px;
}

.button-remove {
  background: #e74c3c;
  color: white;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .flex-row {
    flex-direction: column;
  }
}
