.partition-assistant {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  margin: 20px auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
}

.disk-size {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
}

.partition-bar {
  display: flex;
  margin: 20px 0;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e0e0e0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partition-segment {
  text-align: center;
  color: white;
  line-height: 40px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  border-right: 2px solid white; /* Borde de separación */
}

.partition-segment:last-child {
  border-right: none;
}

.partition-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 20px;
}

.partition-table th {
  background-color: #f5f5f5;
  color: #333;
  padding: 12px;
  font-weight: 600;
}

.partition-table td {
  padding: 10px;
  text-align: center;
}

.partition-table select,
.partition-table input[type="number"],
.partition-table input[type="checkbox"] {
  padding: 5px;
  width: 100%;
}

.actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

button {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.mat-button {
  background-color: #007bff;
  color: white;
}

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

button.mat-flat-button {
  background-color: #28a745;
  color: white;
}

button.mat-flat-button:hover {
  background-color: #218838;
}

button.remove-btn {
  background-color: #dc3545;
  color: white;
  border-radius: 4px;
}

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

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  padding: 10px;
  background-color: #f8d7da;
  border-radius: 4px;
  margin-top: 10px;
}

.partition-assistant .row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-container {
  flex: 0 0 65%;
  max-width: 65%;
  padding-right: 20px;
  box-sizing: border-box;
}

.chart-container {
  flex: 0 0 35%;
  max-width: 35%;
}

.partition-bar {
  display: flex;
  height: 40px;
  margin: 20px 0;
}

.partition-segment {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 10px;
  color: white;
  height: 100%;
}

.chart-container ngx-charts-pie-chart {
  display: block;
  align-content: center;
  justify-self: center;
}

.disk-select {
  padding: 20px;
  margin: 10px auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.client-item {
  position: relative;
}

.client-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  padding: 8px;
  text-align: center;
}

.client-details {
  margin-top: 4px;
}

.client-name {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.client-ip {
  display: block;
  font-size: 0.9em;
  color: #666;
}

.header-container-title {
  flex-grow: 1;
  text-align: left;
  padding-left: 1em;
}

.select-container {
  margin-top: 20px;
  align-items: center;
  width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
  padding-left: 1em;
}


