.dha-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dha-list-header h2 {
    margin: 0;
    font-size: 32px;
    color: #2c3338;
}

.dha-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dha-form h2 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.dha-submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dha-submit-btn:hover {
    background-color: #45a049;
}

.dha-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.dha-message.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.dha-message.error {
    background-color: #f2dede;
    color: #a94442;
}

.current-dog-image {
    max-width: 100px !important;
    height: auto !important;
    margin: 10px 0 !important;
    border-radius: 4px;
}

.dha-add-btn {
    background-color: #ff6b3d !important;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
}

.dha-add-btn:hover {
    background-color: #135e96;
}

.dha-add-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Loading Animation for the form */
.dha-form-loading {
    position: relative;
}

.dha-form-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000020;
}

.dha-form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000020;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}