dogs-cms-view {
    display: block;
}

dogs-cms-view h1 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

dogs-cms-view p {
    color: #666;
}

dogs-cms-view h1 button {
    padding: 4px 8px;
    font-size: 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

dogs-cms-view .search {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

dogs-cms-view .search select {
    padding: 8px 12px;
    font-size: 16px;
    margin-right: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

dogs-cms-view .search input {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

dogs-cms-view .search button {
    margin-left: 12px;
    padding: 8px 16px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

dogs-cms-view .dog-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

dogs-cms-view .dog-entry {
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    gap: 16px;
    color: #000;
    text-decoration: none;
}

dogs-cms-view .dog-entry:hover {
    background-color: #f0f0f0;
}

dogs-cms-view .dog-entry .dog-photo {
    position: relative;
    display: flex;
}

dogs-cms-view .dog-entry img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}


dogs-cms-view .dog-entry .dog-status {
    display: none;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    position: absolute;
    right: 8px;
    bottom: 8px;
    border: unset;
    outline: unset;
}

dogs-cms-view .dog-entry .dog-status[status="care"],
dogs-cms-view .dog-entry .dog-status[status="search"] {
    display: inline-flex;
    background: #D47772;
}

dogs-cms-view .dog-entry .dog-status[status="interested"] {
    display: inline-flex;
    background: #1957bb;
}

dogs-cms-view .dog-entry .dog-status[status="adopted"] {
    display: inline-flex;
    background: #367e4c;
}

dogs-cms-view .dog-entry .dog-status::after {
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 124%;
}

dogs-cms-view .dog-entry .dog-status[status="care"]::after {
    content: "In Pflege";
}

dogs-cms-view .dog-entry .dog-status[status="search"]::after {
    content: "Suchend";
}

dogs-cms-view .dog-entry .dog-status[status="interested"]::after {
    content: "Anfragestopp";
}

dogs-cms-view .dog-entry .dog-status[status="adopted"]::after {
    content: "Vermittelt";
}


dogs-cms-view .dog-entry h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

dogs-cms-view .dog-entry p {
    margin: 0;
}

/* New Dog Dialog */
.new-dog-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.new-dog-dialog {
    background-color: white;
    border-radius: 8px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.new-dog-dialog h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 20px;
    color: #333;
}

.new-dog-dialog .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.new-dog-dialog label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.new-dog-dialog .required {
    color: #f44336;
}

.new-dog-dialog input,
.new-dog-dialog textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.new-dog-dialog textarea {
    resize: vertical;
    min-height: 80px;
}

.new-dog-dialog .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.new-dog-dialog .cancel-btn,
.new-dog-dialog .create-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.new-dog-dialog .cancel-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.new-dog-dialog .cancel-btn:hover {
    background-color: #e8e8e8;
}

.new-dog-dialog .create-btn {
    background-color: #4CAF50;
    color: white;
}

.new-dog-dialog .create-btn:hover {
    background-color: #45a049;
}