/* Pferdeliste Styles */
.horse-list {
    padding: 20px;
}

.horse-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.add-horse-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add-horse-button:hover {
    background-color: #45a049;
}

.horse-grid {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.horse-grid-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
}

.horse-grid-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.horse-grid-row:last-child {
    border-bottom: none;
}

.grid-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-aktiv {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-verkauft {
    background-color: #ffebee;
    color: #c62828;
}

.status-reserviert {
    background-color: #fff3e0;
    color: #ef6c00;
}

.actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s;
}

.action-button.view {
    background-color: #2196F3;
}

.action-button.edit {
    background-color: #FFC107;
}

.action-button.delete {
    background-color: #F44336;
}

.action-button:hover {
    opacity: 0.9;
}

.action-button .material-icons {
    font-size: 18px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .horse-grid-header,
    .horse-grid-row {
        grid-template-columns: 1fr 1fr;
    }

    .horse-grid-header .grid-cell:nth-child(3),
    .horse-grid-header .grid-cell:nth-child(4),
    .horse-grid-row .grid-cell:nth-child(3),
    .horse-grid-row .grid-cell:nth-child(4) {
        display: none;
    }

    .horse-grid-header .grid-cell:last-child,
    .horse-grid-row .grid-cell:last-child {
        grid-column: span 2;
    }
}

/* No horses message */
.no-horses-message {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 20px;
}

.no-horses-message p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.no-horses-message .add-horse-button {
  background: #007cba;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.no-horses-message .add-horse-button:hover {
  background: #005a87;
} 